Why Johnny can't code
Re: Why Johnny can't code
I have my first C++ lecture this Tuesday at 9:00AM. I can see that timeslot not helping.
- Ronja
- Just Another Safety Nut
- Posts: 10920
- Joined: Wed Feb 24, 2010 8:13 pm
- About me: mother of 2 girls, married to fellow rat MiM, student (SW, HCI, ICT...) , self-employed editor/proofreader/translator
- Location: Helsinki, Finland, EU
- Contact:
Re: Why Johnny can't code
My condolences. Keep us posted about how that goes. Does not have to be horrible, may require quite a bit of caffeine-rich drink of your preference.beige wrote:I have my first C++ lecture this Tuesday at 9:00AM. I can see that timeslot not helping.

"The internet is made of people. People matter. This includes you. Stop trying to sell everything about yourself to everyone. Don’t just hammer away and repeat and talk at people—talk TO people. It’s organic. Make stuff for the internet that matters to you, even if it seems stupid. Do it because it’s good and feels important. Put up more cat pictures. Make more songs. Show your doodles. Give things away and take things that are free." - Maureen J
"...anyone who says it’s “just the Internet” can
. And then when they come back, they can
again." - Tigger
"...anyone who says it’s “just the Internet” can


Re: Why Johnny can't code
Some assembly languages are extremely simple. The ARM RISC assembly language was tiny, at least back in the mid-90s. You can learn all the instructions in an afternoon. Teaching kids such assembly languages can show them what computation is really about, and show them how few instructions are actually needed to carry out any task that any computer can perform. Some toy-assembly languages are even used as mathematical formalisms for computation.Gawdzilla wrote:I once took a class in Assembly Language just to have something to do.
Just don't teach Intel Assembler, not for modern processors. That's a monster that only compilers should understand.
- Xamonas Chegwé
- Bouncer
- Posts: 50939
- Joined: Thu Feb 26, 2009 3:23 pm
- About me: I have prehensile eyebrows.
I speak 9 languages fluently, one of which other people can also speak.
When backed into a corner, I fit perfectly - having a right-angled arse. - Location: Nottingham UK
- Contact:
Re: Why Johnny can't code
I once wrote programs in BASIC to add, subtract, multiply and divide integers of any length - using string functions to convert sections of each number into integers and recombine the sections afterwards. Since it was running on a relatively early Amiga, it wasn't too sprightly, but I did manage to get it to generate factorials of all integers up into the early thousands.Robert_S wrote:I forget how to do long division within a week after the last use and have to actually reinvent it on occasion.JimC wrote:This topic has echoes with debates in maths education about the use of various types of calculators at various levels, and the degree to which their use could become a crutch which hampers useful skills in some situations.
For example, some people argue that, with wide-spread calculator use, the times tables should be put on the scrap heap. However, a knowledge of the times tables makes processes such as factorisation so much easier... On the other hand, long division is probably best seen as an historical curiosity.
The latest CAS calculators, with their ability to manipulate and solve algebraic expressions and equations, have heightened the debate.
What I want to know is how many people who can remember the procedure of long division actually understand why it works and could reinvent it should they forget how it's done.
So, yes, I could reinvent long-division. Anyone that understands what it is doing and how it works could. Although I would rather spend my time in the pub until the call comes.

A book is a version of the world. If you do not like it, ignore it; or offer your own version in return.
Salman Rushdie
You talk to God, you're religious. God talks to you, you're psychotic.
House MD
Who needs a meaning anyway, I'd settle anyday for a very fine view.
Sandy Denny
This is the wrong forum for bluffing
Paco
Yes, yes. But first I need to show you this venomous fish!
Calilasseia
I think we should do whatever Pawiz wants.
Twoflower
Bella squats momentarily then waddles on still peeing, like a horse
Millefleur
Salman Rushdie
You talk to God, you're religious. God talks to you, you're psychotic.
House MD
Who needs a meaning anyway, I'd settle anyday for a very fine view.
Sandy Denny
This is the wrong forum for bluffing

Paco
Yes, yes. But first I need to show you this venomous fish!
Calilasseia
I think we should do whatever Pawiz wants.
Twoflower
Bella squats momentarily then waddles on still peeing, like a horse
Millefleur
- Clinton Huxley
- 19th century monkeybitch.
- Posts: 23739
- Joined: Mon Mar 02, 2009 4:34 pm
- Contact:
Re: Why Johnny can't code
I remember the old days when you could walk into Boots and see a row of Soectrums, Dragon 32s and Amstrads, each running the same programme:-
10 print "fuck off"
20 goto 10
Happy days.
10 print "fuck off"
20 goto 10
Happy days.
- 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
Was that back in the day when Assembly implied a soldering iron?Gawdzilla wrote: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?

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
- 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
I did a c++ module at uni a while back. I enjoyed it.beige wrote:I have my first C++ lecture this Tuesday at 9:00AM. I can see that timeslot not helping.


Seth wrote:Fuck that, I like opening Pandora's box and shoving my tool inside it
- 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
Bump. There was a piece on BBC Newsnight last night (10/10/2011) that relates to this:
http://news.bbc.co.uk/2/hi/programmes/n ... 612063.stm - "Is lack of computer science teaching failing pupils?"
If I find a video on YouTube or elsewhere, I'll post it here as well.
http://news.bbc.co.uk/2/hi/programmes/n ... 612063.stm - "Is lack of computer science teaching failing pupils?"
If I find a video on YouTube or elsewhere, I'll post it here as well.
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
Interesting. I amend my former advocacy of 'c'. Been doing a lot of java lately and liking it better. Definitely easier to pick up than 'c'. The fact that everything gets passed as a reference is the one niggly thing that you have to get used to.klr wrote:Bump. There was a piece on BBC Newsnight last night (10/10/2011) that relates to this:
http://news.bbc.co.uk/2/hi/programmes/n ... 612063.stm - "Is lack of computer science teaching failing pupils?"
If I find a video on YouTube or elsewhere, I'll post it here as well.
Whatever happened to FORTRAN (my first and only programming course)?
Even here in the US, I remember my step son making the same kind of comments about the high school computer curriculum. Big disappointment. He got into hacking and picked up machine language to do that before he got into programming in any serious way. Seems to me the point was well taken before, that kids are either going to get into it or not. The only thing the schools need to do is set up the situation where they do actual programming and see whether the light bulb goes off or not. It's not hard. My college course in 1964 for engineer wannabes was just to program and debug a standard deviation calculation as homework while getting lectures at class time about programming concepts. Not rocket science. It was in FORTRAN on card decks, so it took the term to get it debugged anyways. From what I gather, the full blown MIS courses, learning database theory and such, don't do much but give you some work credentials.
- 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
Indeed it's not hard at all. but this basic "screening" exercise just doesn't seem to get done.hiyymer wrote:Interesting. I amend my former advocacy of 'c'. Been doing a lot of java lately and liking it better. Definitely easier to pick up than 'c'. The fact that everything gets passed as a reference is the one niggly thing that you have to get used to.klr wrote:Bump. There was a piece on BBC Newsnight last night (10/10/2011) that relates to this:
http://news.bbc.co.uk/2/hi/programmes/n ... 612063.stm - "Is lack of computer science teaching failing pupils?"
If I find a video on YouTube or elsewhere, I'll post it here as well.
Whatever happened to FORTRAN (my first and only programming course)?
Even here in the US, I remember my step son making the same kind of comments about the high school computer curriculum. Big disappointment. He got into hacking and picked up machine language to do that before he got into programming in any serious way. Seems to me the point was well taken before, that kids are either going to get into it or not. The only thing the schools need to do is set up the situation where they do actual programming and see whether the light bulb goes off or not. It's not hard. My college course in 1964 for engineer wannabes was just to program and debug a standard deviation calculation as homework while getting lectures at class time about programming concepts. Not rocket science. It was in FORTRAN on card decks, so it took the term to get it debugged anyways. From what I gather, the full blown MIS courses, learning database theory and such, don't do much but give you some work credentials.

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



- leo-rcc
- Robo-Warrior
- Posts: 7848
- Joined: Thu Feb 26, 2009 5:09 pm
- About me: Combat robot builder
- Location: Hoogvliet-Rotterdam, Netherlands
- Contact:
Re: Why Johnny can't code
No imagination.Clinton Huxley wrote:I remember the old days when you could walk into Boots and see a row of Soectrums, Dragon 32s and Amstrads, each running the same programme:-
10 print "fuck off"
20 goto 10
Happy days.
10 a=a+1
20 print spc(a);"Fuck off"
30 if a=32 then a=0
40 goto 10
Best regards,
Leo van Miert
My combat robot site: http://www.team-rcc.org
My other favorite atheist forum: http://www.atheistforums.org
Horsepower is how hard you hit the wall --Torque is how far you take the wall with you
Leo van Miert
My combat robot site: http://www.team-rcc.org
My other favorite atheist forum: http://www.atheistforums.org
Horsepower is how hard you hit the wall --Torque is how far you take the wall with you
Re: Why Johnny can't code
In highschool I wrote a 20,000 line program for this assignment we had to do using every technique taught to us, and some that hadn't been, (our teacher, Mr. Fangraad [still remember the pricks name] had been big on teaching us OOP, as if it was something new and complicatedklr wrote:Indeed it's not hard at all. but this basic "screening" exercise just doesn't seem to get done.hiyymer wrote:Interesting. I amend my former advocacy of 'c'. Been doing a lot of java lately and liking it better. Definitely easier to pick up than 'c'. The fact that everything gets passed as a reference is the one niggly thing that you have to get used to.klr wrote:Bump. There was a piece on BBC Newsnight last night (10/10/2011) that relates to this:
http://news.bbc.co.uk/2/hi/programmes/n ... 612063.stm - "Is lack of computer science teaching failing pupils?"
If I find a video on YouTube or elsewhere, I'll post it here as well.
Whatever happened to FORTRAN (my first and only programming course)?
Even here in the US, I remember my step son making the same kind of comments about the high school computer curriculum. Big disappointment. He got into hacking and picked up machine language to do that before he got into programming in any serious way. Seems to me the point was well taken before, that kids are either going to get into it or not. The only thing the schools need to do is set up the situation where they do actual programming and see whether the light bulb goes off or not. It's not hard. My college course in 1964 for engineer wannabes was just to program and debug a standard deviation calculation as homework while getting lectures at class time about programming concepts. Not rocket science. It was in FORTRAN on card decks, so it took the term to get it debugged anyways. From what I gather, the full blown MIS courses, learning database theory and such, don't do much but give you some work credentials.

Fucker.
Re: Why Johnny can't code
C++ is the bestest!beige wrote:I have my first C++ lecture this Tuesday at 9:00AM. I can see that timeslot not helping.
I came from C to C++ and was like..

It simplified things so much it was amazing.
- Don't Panic
- Evil Admin
- Posts: 10653
- Joined: Thu Feb 26, 2009 12:19 am
- About me: 100% Pure Evil. (Not from Concentrate)
- Location: Luimneach, Eire
- Contact:
Why Johnny can't code
I used to get into trouble in primary school for doing the long division in my head and not showing my work in general, the teacher was sure I was using a calculator, so he put some problems on the board and told me to solve them. He stopped annoying me after that.JimC wrote:I agree, but it is a diminshing skill except for some that use it daily, I suspect...Pappa wrote:While I'm not sure exactly where I sit on the matter... I do think simple mental arithmetic is a vital life skill. Being able to add, subtract, multiply and divide in your head comes in handy in many, many practical situations. Even now, when almost everyone carries a calculator on their mobile phone, it's not feasible to pull it out for quick sums.JimC wrote:For example, some people argue that, with wide-spread calculator use, the times tables should be put on the scrap heap. However, a knowledge of the times tables makes processes such as factorisation so much easier... On the other hand, long division is probably best seen as an historical curiosity.
I am capable of rapid-fire addition of numbers, simply because of the number of tests I correct. Use it or lose it...
Gawd wrote:»
And those Zumwalts are already useless, they can be taken out with an ICBM.
The world is a thing of utter inordinate complexity and richness and strangeness that is absolutely awesome. I mean the idea that such complexity can arise not only out of such simplicity, but probably absolutely out of nothing, is the most fabulous extraordinary idea. And once you get some kind of inkling of how that might have happened, it's just wonderful. And . . . the opportunity to spend 70 or 80 years of your life in such a universe is time well spent as far as I am concerned.
D.N.A.
Re: Why Johnny can't code
I remember doing BASIC around 9yo. When I was about 12 and learned C and C++ I was interested in game programming and also learned some x86 assembler. I coded a keyboard handler and mode 13 graphics routines in assembler before realizing I could do the same thing in the Turbo C++ compiler I had at the time. But it was a good learning experience on how to link to assembler code from a C/C++ application.VazScep wrote:Some assembly languages are extremely simple. The ARM RISC assembly language was tiny, at least back in the mid-90s. You can learn all the instructions in an afternoon. Teaching kids such assembly languages can show them what computation is really about, and show them how few instructions are actually needed to carry out any task that any computer can perform. Some toy-assembly languages are even used as mathematical formalisms for computation.Gawdzilla wrote:I once took a class in Assembly Language just to have something to do.
Just don't teach Intel Assembler, not for modern processors. That's a monster that only compilers should understand.
Who is online
Users browsing this forum: No registered users and 15 guests