I wish people who write bad programming books would die.Robert_S wrote:I wish the guy who wrote the Learning Perl would write a book for Python.Ghatanothoa wrote:Surely python would be a good contenter as a replacement for basic to get kids into coding. I'm having a tinker with it at the moment and it is amazingly intuitive after wrestling with C++
Why Johnny can't code
- Pappa
- Non-Practicing Anarchist
- Posts: 56488
- Joined: Wed Feb 18, 2009 10:42 am
- About me: I am sacrificing a turnip as I type.
- Location: Le sud du Pays de Galles.
- Contact:
Re: Why Johnny can't code
For information on ways to help support Rationalia financially, see our funding page.
When the aliens do come, everything we once thought was cool will then make us ashamed.
- Tigger
- 1,000,000,000,000,000,000,000 piccolos
- Posts: 15714
- Joined: Thu Feb 26, 2009 4:26 pm
- About me: It's not "about" me, it's exactly me.
- Location: location location.
Re: Why Johnny can't code
Granted.Pappa wrote:I wish people who write bad programming books would die.Robert_S wrote:I wish the guy who wrote the Learning Perl would write a book for Python.Ghatanothoa wrote:Surely python would be a good contenter as a replacement for basic to get kids into coding. I'm having a tinker with it at the moment and it is amazingly intuitive after wrestling with C++

Seth wrote:Fuck that, I like opening Pandora's box and shoving my tool inside it
Re: Why Johnny can't code
Does anyone still buy programming books? There is more than enough in the way of tutorials online
Outside the ordered universe is that amorphous blight of nethermost confusion which blasphemes and bubbles at the center of all infinity—the boundless daemon sultan Azathoth, whose name no lips dare speak aloud, and who gnaws hungrily in inconceivable, unlighted chambers beyond time and space amidst the muffled, maddening beating of vile drums and the thin monotonous whine of accursed flutes.
Code: Select all
// Replaces with spaces the braces in cases where braces in places cause stasis
$str = str_replace(array("\{","\}")," ",$str);
- Robert_S
- Cookie Monster
- Posts: 13416
- Joined: Tue Feb 23, 2010 5:47 am
- About me: Too young to die of boredom, too old to grow up.
- Location: Illinois
- Contact:
Re: Why Johnny can't code
I like holding a book while working at a computer. There is just an ineffable rightness to it.Ghatanothoa wrote:Does anyone still buy programming books? There is more than enough in the way of tutorials online
What I've found with a few discussions I've had lately is this self-satisfaction that people express with their proffessed open mindedness. In realty it ammounts to wilful ignorance and intellectual cowardice as they are choosing to not form any sort of opinion on a particular topic. Basically "I don't know and I'm not going to look at any evidence because I'm quite happy on this fence."
-Mr P
The Net is best considered analogous to communication with disincarnate intelligences. As any neophyte would tell you. Do not invoke that which you have no facility to banish.
Audley Strange
-Mr P
The Net is best considered analogous to communication with disincarnate intelligences. As any neophyte would tell you. Do not invoke that which you have no facility to banish.
Audley Strange
- Pappa
- Non-Practicing Anarchist
- Posts: 56488
- Joined: Wed Feb 18, 2009 10:42 am
- About me: I am sacrificing a turnip as I type.
- Location: Le sud du Pays de Galles.
- Contact:
Re: Why Johnny can't code
Same here. I much prefer a book. Plus I can read sections away from the computer too.Robert_S wrote:I like holding a book while working at a computer. There is just an ineffable rightness to it.Ghatanothoa wrote:Does anyone still buy programming books? There is more than enough in the way of tutorials online
For information on ways to help support Rationalia financially, see our funding page.
When the aliens do come, everything we once thought was cool will then make us ashamed.
- Gawdzilla Sama
- Stabsobermaschinist
- Posts: 151265
- Joined: Thu Feb 26, 2009 12:24 am
- About me: My posts are related to the thread in the same way Gliese 651b is related to your mother's underwear drawer.
- Location: Sitting next to Ayaan in Domus Draconis, and communicating via PMs.
- Contact:
Re: Why Johnny can't code
Johnny can't code because Johnny doesn't have enough brain damage to understand that shit. [/obvious]
Re: Why Johnny can't code
You leave the computer?
Just set up another monitor.

Outside the ordered universe is that amorphous blight of nethermost confusion which blasphemes and bubbles at the center of all infinity—the boundless daemon sultan Azathoth, whose name no lips dare speak aloud, and who gnaws hungrily in inconceivable, unlighted chambers beyond time and space amidst the muffled, maddening beating of vile drums and the thin monotonous whine of accursed flutes.
Code: Select all
// Replaces with spaces the braces in cases where braces in places cause stasis
$str = str_replace(array("\{","\}")," ",$str);
- klr
- (%gibber(who=klr, what=Leprageek);)
- Posts: 32964
- Joined: Wed Mar 04, 2009 1:25 pm
- About me: The money was just resting in my account.
- Location: Airstrip Two
- Contact:
Re: Why Johnny can't code
Confession time. I'm one of the converted who thinks electronic tutorials and references are superior to the printed medium.Pappa wrote:Same here. I much prefer a book. Plus I can read sections away from the computer too.Robert_S wrote:I like holding a book while working at a computer. There is just an ineffable rightness to it.Ghatanothoa wrote:Does anyone still buy programming books? There is more than enough in the way of tutorials online

God has no place within these walls, just like facts have no place within organized religion. - Superintendent Chalmers
It's not up to us to choose which laws we want to obey. If it were, I'd kill everyone who looked at me cock-eyed! - Rex Banner
The Bluebird of Happiness long absent from his life, Ned is visited by the Chicken of Depression. - Gary Larson

It's not up to us to choose which laws we want to obey. If it were, I'd kill everyone who looked at me cock-eyed! - Rex Banner
The Bluebird of Happiness long absent from his life, Ned is visited by the Chicken of Depression. - Gary Larson



- Pappa
- Non-Practicing Anarchist
- Posts: 56488
- Joined: Wed Feb 18, 2009 10:42 am
- About me: I am sacrificing a turnip as I type.
- Location: Le sud du Pays de Galles.
- Contact:
Re: Why Johnny can't code
I know I should agree, I just like holding a book.klr wrote:Confession time. I'm one of the converted who thinks electronic tutorials and references are superior to the printed medium.Pappa wrote:Same here. I much prefer a book. Plus I can read sections away from the computer too.Robert_S wrote:I like holding a book while working at a computer. There is just an ineffable rightness to it.Ghatanothoa wrote:Does anyone still buy programming books? There is more than enough in the way of tutorials online

For information on ways to help support Rationalia financially, see our funding page.
When the aliens do come, everything we once thought was cool will then make us ashamed.
Re: Why Johnny can't code
Indeed. Kids, we'll start simple. Write a program that prints "Hello World!" on the screen. You need to start this with your include directive, bringing in the header file of the standard input/output library. Then you need to write the signature of your main method, which is your entry point to your application. You'll need to write "int" for the type of your exit code, and remember the return statement. Next, we'll use printf. Actually, hang on! Let's use Java for this. Much better.Pappa wrote:The C family of languages are pretty intuitive and not difficult to pick up once you understand the basic concepts of programming.
First, you'll need a class declaration. Everything in Java goes in a class. It's so intuitive! Remember to make sure the class name is the same as the file name. Could you imagine what would happen otherwise? Next, you want your main method. This is the entry point for your application. It needs to be static since it isn't being called as an instance method. We don't want to have to instantiate any objects to call main, do we! We should give it the "public" accessor modifier, and it has a void return type. The command line arguments, I'm sure you'll guess, are part of the signature and are an array of type String. It's all so intuitive! The best part is that a decent IDE will generate all this code for you! Convenient and intuitive! Not like that Python programming language.
Code: Select all
>> print "hello world!"
- klr
- (%gibber(who=klr, what=Leprageek);)
- Posts: 32964
- Joined: Wed Mar 04, 2009 1:25 pm
- About me: The money was just resting in my account.
- Location: Airstrip Two
- Contact:
Re: Why Johnny can't code

I was afraid to make that point myself ...

God has no place within these walls, just like facts have no place within organized religion. - Superintendent Chalmers
It's not up to us to choose which laws we want to obey. If it were, I'd kill everyone who looked at me cock-eyed! - Rex Banner
The Bluebird of Happiness long absent from his life, Ned is visited by the Chicken of Depression. - Gary Larson

It's not up to us to choose which laws we want to obey. If it were, I'd kill everyone who looked at me cock-eyed! - Rex Banner
The Bluebird of Happiness long absent from his life, Ned is visited by the Chicken of Depression. - Gary Larson



- Gawdzilla Sama
- Stabsobermaschinist
- Posts: 151265
- Joined: Thu Feb 26, 2009 12:24 am
- About me: My posts are related to the thread in the same way Gliese 651b is related to your mother's underwear drawer.
- Location: Sitting next to Ayaan in Domus Draconis, and communicating via PMs.
- Contact:
Re: Why Johnny can't code
I once took a class in Assembly Language just to have something to do.
- klr
- (%gibber(who=klr, what=Leprageek);)
- Posts: 32964
- Joined: Wed Mar 04, 2009 1:25 pm
- About me: The money was just resting in my account.
- Location: Airstrip Two
- Contact:
Re: Why Johnny can't code
Gawdzilla wrote:I once took a class in Assembly Language just to have something to do.


God has no place within these walls, just like facts have no place within organized religion. - Superintendent Chalmers
It's not up to us to choose which laws we want to obey. If it were, I'd kill everyone who looked at me cock-eyed! - Rex Banner
The Bluebird of Happiness long absent from his life, Ned is visited by the Chicken of Depression. - Gary Larson

It's not up to us to choose which laws we want to obey. If it were, I'd kill everyone who looked at me cock-eyed! - Rex Banner
The Bluebird of Happiness long absent from his life, Ned is visited by the Chicken of Depression. - Gary Larson



Re: Why Johnny can't code
Scratch is Smalltalk, and Smalltalk is nothing like BASIC. The beauty of Smalltalk is that it is simultaneously aimed at kids and at expert programmers. It is, to this day, one of the most powerful high-level languages ever invented.Pappa wrote:I heartily recommend "Scratch" for teaching kids programming. It was developed at MIT especially for that perpose. It's a drag-and-drop programming environment that does an excellent job of teaching kids all the important programming concepts like variables, loops, conditionals, etc.. All in a way they can pick up easily without being dumbed down in the slightests. I'd recommend having a look at it.
- Gawdzilla Sama
- Stabsobermaschinist
- Posts: 151265
- Joined: Thu Feb 26, 2009 12:24 am
- About me: My posts are related to the thread in the same way Gliese 651b is related to your mother's underwear drawer.
- Location: Sitting next to Ayaan in Domus Draconis, and communicating via PMs.
- Contact:
Re: Why Johnny can't code
At the time I was waiting to go to Purdue, and living in a house on a corner. The other three corners were fields with corn or soybeans. The land behind the house was corn or soybeans. From my second floor room I could see two things.klr wrote:Gawdzilla wrote:I once took a class in Assembly Language just to have something to do.Were you by any chance sane at the time, or were you just your usual deranged self?
Who is online
Users browsing this forum: No registered users and 14 guests