Pay just $1 and learn to code online


#1

Originally published at: http://boingboing.net/2016/11/30/pay-just-1-and-learn-to-code.html


#2

So a member of BoingBoing staff actually took this training, then? I wonder which one? There seems to be an inexplicable lack of a byline here.


#3

How to code:

Lesson 1.

Programs execute sequentially. Programs can loop, they can branch, they can switch. Whatever you do, don’t goto! If programs don’t seem to be executing sequentially use more mutexes.

Store things you’re interested in using in Variables. Organize things you’re interested in doing in Functions. Store things you’re interested in doing in Closures. Put things you’re interested in and things you’re interested in doing in Objects.

Learn the platform API. It should be straightforward. It is NEVER straightforward. Sample code shows off neat API tricks, and cool language features, and will never apply to what you actually need to do. Don’t worry, however, because Stack Overflow.

Comment your code because you have no idea what you’re doing most of the time. Comments help you remember that time you were so confused, which is worth all the lolz.

Finally, always uses tabs instead of spaces, and only newbs and dweebs put newlines before opening braces. Or maybe it’s the other way around?


#4

Dude.

An opening brace should be exactly vertically aligned with its corresponding closing brace.


#5

Sweet! Where do I send my dollar?


#6


#7

LikeThis() {
    DoSomething();
           }

:smiling_imp:


#8

Flagged for obscenity.


#9

Khan Academy is even cheaper (free) and has very high quality programming courses.


#10

Thank you. I will try that.


#11

This topic was automatically closed after 5 days. New replies are no longer allowed.