Programming is fucking hard.
>>62162279
well it is not
>>62162279
if you think it is, youre a code monkey, not a programmer. programming is like another form of expressing thoughts and processes, it comes natural to me
>>62162279
>using your brain is hard
somtimes yes, sometimes no. this is like everything, right?
>>62162367
t. Artisan
>>62162279
>i can't figure out how to write instructions in a language made for writing instructions
Good luck with the rest of your shit life, OP. You'll need it.
Guys how do I make a table with unknown amount arguments?
def createTable(self, name, {"a": "b", "c": "d"}... ):
c = conn.cursor()
# remove all symbols except for alphanumerical
# "z@_d" => "zd"
name = ''.join(c for c in name if c.isalnum())
try:
c.execute("CREATE TABLE %s (a b, c d ...)" % name)
so do you guys just write lines code for fun or what? I don't get it
Sometimes yes
There are a good number of people that it clicks with though, and I just can't understand it
However I'll be the type to pull all nighters trying to figure stuff out and reminding myself how syntax for passing arguments and parameters works
Its kinda rewarding though
>>62162559
Yes. I wrote a couple of small games for fun. We like making things, you should try it sometime.
>>62162279
it's just boring when there is no hardware involved
>>62162367
Funny, it's exactly the other way around:
If you are a code monkey, you might think programming is easy. It is easy to write a simple FizzBuzz or a sorting algorithm.
But to write good code which is sensible, robust and maintainable and also writ it quick enough takes years of experience.
Why do you think refactoring is a thing, eh?
Math is fucking harder.
>>62162559
nah I prefer circles or rects code
>>62162505
Loop through arguments and append SQL Syntax accordingly.
>>62162367
Noob programmer: programming is fucking hard
3 years programmer: programming is the easiest thing ever!
6 years programmer: programming is fucking hard
9 years programmer: programming is really fucking hard
12 years programmer: you don't know where i've been
>>62162505
Same way as doing most things with unknown arguments? For or While loop that works correctly until done
>>62162505
if your typing a whole dict into your argument your doing it wrong, pass in a prebuilt dict, or pass in *args
>>62165355
accurate
>>62165355
wtf i'm a 3 year programmer and thought i'm over the hard part
turns out i've got a big storm coming
>>62165355
it's not that programming becomes hard again, it's that designing programs becomes hard. the actual act of implementing your design is never that hard.
>>62162279
Anything that is applied and returns success or failure on spot is hard. Everything where 90% work 10% natural talent is required for good products is hard damn...
>>62166157
Right. I'd restate >>62165355 as:
>Noob programmer: programming is about learning programming languages
>Entry-level code monkey: programming is about using google and the correct libraries
>Experienced code monkey: Programming is about reading other people's shitty code
>Veteran: Programming is about organization, but more than one person is incapable of creating a well-organized program