Author Topic: Why Johnny Can't Code  (Read 16674 times)

0 Members and 2 Guests are viewing this topic.

Offline ztrumpet

  • The Rarely Active One
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5712
  • Rating: +364/-4
  • If you see this, send me a PM. Just for fun.
    • View Profile
Re: Why Johnny Can't Code
« Reply #15 on: September 19, 2011, 05:45:26 pm »
higher level languages (What, you can have as many variables as you want and any name that you want? Blashpemy!)
I know - It's too easy, isn't it?

Offline flyingfisch

  • I'm 1337 now!
  • Members
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1620
  • Rating: +94/-17
  • Testing, testing, 1...2...3...4...5...6...7...8..9
    • View Profile
    • Top Page Website Design
Re: Why Johnny Can't Code
« Reply #16 on: September 19, 2011, 05:46:17 pm »
yeah, I experienced that when I started python



Quote from: my dad
"welcome to the world of computers, where everything seems to be based on random number generators"



The Game V. 2.0

Offline FinaleTI

  • Believe in the pony that believes in you!
  • CoT Emeritus
  • LV10 31337 u53r (Next: 2000)
  • *
  • Posts: 1830
  • Rating: +121/-2
  • Believe in the pony that believes in you!
    • View Profile
    • dmuckerman.tumblr.com
Re: Why Johnny Can't Code
« Reply #17 on: September 19, 2011, 05:52:13 pm »
higher level languages (What, you can have as many variables as you want and any name that you want? Blashpemy!)
I know - It's too easy, isn't it?
And auto garbage collection or multi-threading? Who needs that?
Besides, we all know Goto is an essential command. :P


Spoiler For Projects:

My projects haven't been worked on in a while, so they're all on hiatus for the time being. I do hope to eventually return to them in some form or another...

Spoiler For Pokemon TI:
Axe port of Pokemon Red/Blue to the 83+/84+ family. On hold.

Spoiler For Nostalgia:
My big personal project, an original RPG about dimensional travel and a few heroes tasked with saving the world.
Coding-wise, on hold, but I am re-working the story.

Spoiler For Finale's Super Insane Tunnel Pack of Doom:
I will be combining Blur and Collision Course into a single gamepack. On hold.

Spoiler For Nostalgia Origins: Sky's Story:
Prequel to Nostalgia. On hold, especially while the story is re-worked.

Offline AngelFish

  • Is this my custom title?
  • Administrator
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3242
  • Rating: +270/-27
  • I'm a Fishbot
    • View Profile
Re: Why Johnny Can't Code
« Reply #18 on: September 19, 2011, 05:55:52 pm »
The comments on the source page are great:

Quote
I agree with the poster who said to look into other programming languages.

Try PERL---it is scary how easy it is for smart kids to pick it up!

Quote
It is versatile enough to do all manner of simple "Hello, World" apps, but it is powerful enough to allow the programmer to control other applications in extremely useful ways. In addition, AppleScript Studio allows the programmer to use AppleScript to write applications with modern GUIs.

Quote
Lets face it, BASIC is dead. And it should be, because it is too limited to do anything useful in todays computing environments.

Quote
As another poster mentioned. If you have a mac you have a excellent set of tools for kids to learn with. Not quite Basic. But close enough.

sed

awk (a whole language in itself)

grep

bash

xargs

less

vi (!)

emacs (!)

Looks like there are a few people who missed the point... ::)
∂²Ψ    -(2m(V(x)-E)Ψ
---  = -------------
∂x²        ℏ²Ψ

Offline flyingfisch

  • I'm 1337 now!
  • Members
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1620
  • Rating: +94/-17
  • Testing, testing, 1...2...3...4...5...6...7...8..9
    • View Profile
    • Top Page Website Design
Re: Why Johnny Can't Code
« Reply #19 on: September 19, 2011, 05:57:41 pm »
Yeah, I was totally lost when I realized that python didn't have a goto command. I even searched to find the equivelant. I obviously got nothing. Then I asked a friend and he's like; "Goto? what's that! We use loops! Are you from 1991 or what?"



Quote from: my dad
"welcome to the world of computers, where everything seems to be based on random number generators"



The Game V. 2.0

Offline Yeong

  • Not a bridge
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3739
  • Rating: +278/-12
  • Survivor of Apocalypse
    • View Profile
Re: Why Johnny Can't Code
« Reply #20 on: September 19, 2011, 05:58:39 pm »
maybe we should make a program with bunch of "GOTO"s to prove that goto is not obsolete :P
Speed? Optimization? What is that? XP
« Last Edit: September 19, 2011, 05:59:02 pm by yeongJIN_COOL »
Sig wipe!

Offline AngelFish

  • Is this my custom title?
  • Administrator
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3242
  • Rating: +270/-27
  • I'm a Fishbot
    • View Profile
Re: Why Johnny Can't Code
« Reply #21 on: September 19, 2011, 05:59:22 pm »
Quote
maybe we should make a program with bunch of "GOTO"s to prove that goto is not obsolete

You mean like any program written in Assembly? :P
« Last Edit: September 19, 2011, 05:59:50 pm by Qwerty.55 »
∂²Ψ    -(2m(V(x)-E)Ψ
---  = -------------
∂x²        ℏ²Ψ

Offline Builderboy

  • Physics Guru
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5673
  • Rating: +613/-9
  • Would you kindly?
    • View Profile
Re: Why Johnny Can't Code
« Reply #22 on: September 19, 2011, 06:00:02 pm »
maybe we should make a program with bunch of "GOTO"s to prove that goto is not obsolete :P
Speed? Optimization? What is that? XP

Just write it in assembly XD There is ONLY a goto command :P

EDIT: ninja XD

Offline flyingfisch

  • I'm 1337 now!
  • Members
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1620
  • Rating: +94/-17
  • Testing, testing, 1...2...3...4...5...6...7...8..9
    • View Profile
    • Top Page Website Design
Re: Why Johnny Can't Code
« Reply #23 on: September 19, 2011, 06:03:14 pm »
I didn't even use loops when I started programming; my loops were:
Code: [Select]
Lbl 1
1+A -> A
If A < 10
Goto 1
Lbl B
getkey -> G
Goto B
I was living in a utopia where pesky while loops didn't exist. (what are they for, anyway. Probably for some newb who doesn't know about goto). Now I realize that I was the newb. :P



Quote from: my dad
"welcome to the world of computers, where everything seems to be based on random number generators"



The Game V. 2.0

Offline FinaleTI

  • Believe in the pony that believes in you!
  • CoT Emeritus
  • LV10 31337 u53r (Next: 2000)
  • *
  • Posts: 1830
  • Rating: +121/-2
  • Believe in the pony that believes in you!
    • View Profile
    • dmuckerman.tumblr.com
Re: Why Johnny Can't Code
« Reply #24 on: September 19, 2011, 06:11:20 pm »
The comments on the source page are great:

/snip

Looks like there are a few people who missed the point... ::)
I also love how a lot of people commenting seemed to think that HTML was a programming language, not a scripting language, and that it actually taught you something about programming, besides the fact it involves typing certain phrases and keywords to perform a task.


Spoiler For Projects:

My projects haven't been worked on in a while, so they're all on hiatus for the time being. I do hope to eventually return to them in some form or another...

Spoiler For Pokemon TI:
Axe port of Pokemon Red/Blue to the 83+/84+ family. On hold.

Spoiler For Nostalgia:
My big personal project, an original RPG about dimensional travel and a few heroes tasked with saving the world.
Coding-wise, on hold, but I am re-working the story.

Spoiler For Finale's Super Insane Tunnel Pack of Doom:
I will be combining Blur and Collision Course into a single gamepack. On hold.

Spoiler For Nostalgia Origins: Sky's Story:
Prequel to Nostalgia. On hold, especially while the story is re-worked.

Offline flyingfisch

  • I'm 1337 now!
  • Members
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1620
  • Rating: +94/-17
  • Testing, testing, 1...2...3...4...5...6...7...8..9
    • View Profile
    • Top Page Website Design
Re: Why Johnny Can't Code
« Reply #25 on: September 19, 2011, 06:14:23 pm »
The comments on the source page are great:

/snip

Looks like there are a few people who missed the point... ::)
I also love how a lot of people commenting seemed to think that HTML was a programming language, not a scripting language, and that it actually taught you something about programming, besides the fact it involves typing certain phrases and keywords to perform a task.

Yeah, that was funny. I mean, what programming does HTML teach? You don't even have to worry about capital and non-capital letters (unless your using XHTML).



Quote from: my dad
"welcome to the world of computers, where everything seems to be based on random number generators"



The Game V. 2.0

Offline Freyaday

  • The One And Only Serial Time Killing Catboy-Capoeirista-Ballerino
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1970
  • Rating: +128/-15
  • I put on my robe and pixel hat...
    • View Profile
Re: Why Johnny Can't Code
« Reply #26 on: September 19, 2011, 07:44:24 pm »
Also, there are things that can only be done with a goto, like starting a program over.
In other news, Frey continues kicking unprecedented levels of ass.
Proud member of LF#N--Lolis For #9678B6 Names


I'm a performer at heart; I stole it last week.
My Artwork!

Offline FinaleTI

  • Believe in the pony that believes in you!
  • CoT Emeritus
  • LV10 31337 u53r (Next: 2000)
  • *
  • Posts: 1830
  • Rating: +121/-2
  • Believe in the pony that believes in you!
    • View Profile
    • dmuckerman.tumblr.com
Re: Why Johnny Can't Code
« Reply #27 on: September 19, 2011, 07:54:14 pm »
Also, there are things that can only be done with a goto, like starting a program over.
Depends on how it's structured. If you make the whole thing out of nested loops the right way, you can jump back to the being without a goto. A great example of this is tifreak's Sprite-2-Hex program. The whole thing is constructed out of nested While loops. When a menu item is selected, it runs a specific While var=value loop with that routine, then sets or resets the var as necessary to jump to the beginning, another routine or quit.


Spoiler For Projects:

My projects haven't been worked on in a while, so they're all on hiatus for the time being. I do hope to eventually return to them in some form or another...

Spoiler For Pokemon TI:
Axe port of Pokemon Red/Blue to the 83+/84+ family. On hold.

Spoiler For Nostalgia:
My big personal project, an original RPG about dimensional travel and a few heroes tasked with saving the world.
Coding-wise, on hold, but I am re-working the story.

Spoiler For Finale's Super Insane Tunnel Pack of Doom:
I will be combining Blur and Collision Course into a single gamepack. On hold.

Spoiler For Nostalgia Origins: Sky's Story:
Prequel to Nostalgia. On hold, especially while the story is re-worked.

Offline Freyaday

  • The One And Only Serial Time Killing Catboy-Capoeirista-Ballerino
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1970
  • Rating: +128/-15
  • I put on my robe and pixel hat...
    • View Profile
Re: Why Johnny Can't Code
« Reply #28 on: September 19, 2011, 07:56:24 pm »
Also, there are things that can only be done with a goto, like starting a program over.
Depends on how it's structured. If you make the whole thing out of nested loops the right way, you can jump back to the being without a goto. A great example of this is tifreak's Sprite-2-Hex program. The whole thing is constructed out of nested While loops. When a menu item is selected, it runs a specific While var=value loop with that routine, then sets or resets the var as necessary to jump to the beginning, another routine or quit.
Oh. But doing so adds another check to the loops, making them slower. Also, Slightly Insane Code Flow. :P
In other news, Frey continues kicking unprecedented levels of ass.
Proud member of LF#N--Lolis For #9678B6 Names


I'm a performer at heart; I stole it last week.
My Artwork!

Offline LincolnB

  • Check It Out Now
  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1115
  • Rating: +125/-4
  • By Hackers For Hackers
    • View Profile
Re: Why Johnny Can't Code
« Reply #29 on: September 19, 2011, 07:59:50 pm »
We should make a commitment to ourselves, to get 1 person involved in TI-BASIC or some other form of programming, every month. If we can get them to like it enough, we commit them to the same thing, so the system expands exponentially.
Completed Projects:
   >> Spacky Emprise   >> Spacky 2 - Beta   >> Fantastic Sam
   >> An Exercise In Futility   >> GeoCore

My Current Projects:

Projects in Development:
In Medias Res - Contest Entry

Talk to me if you need help with Axe coding.


Spoiler For Bragging Rights:
Not much yet, hopefully this section will grow soon with time (and more contests)