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

0 Members and 1 Guest are viewing this topic.

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 #60 on: September 27, 2011, 02:41:46 pm »
yeah.



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 boot2490

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 607
  • Rating: +54/-36
    • View Profile
    • Boot2490's Stuff
Re: Why Johnny Can't Code
« Reply #61 on: September 27, 2011, 05:15:55 pm »
What if some non programmer is like "duh du duh" and gives you five pennies for a nickel? How do you know that someone isn't just trolling? We need a more idiot proof pasword. I say idiot proof because smart people will say no, but both programmers and idiots say yes. Trollers or people who think you are joking say yes too. We need an inconspicuous but trollproof pw.
I'm not worried about SOPA creating censorship, that will not stand for long. I'm worried that they'll succeed in stopping piracy!

Spoiler For Signature, updated march 23, 11:28 PM EST:















An useful tool!

PM me if you need some help. I am glad to be of assistance and part of the TI Communnity.

Offline Spyro543

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1189
  • Rating: +74/-3
    • View Profile
Re: Why Johnny Can't Code
« Reply #62 on: September 27, 2011, 05:16:35 pm »
Change for a penny?

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 #63 on: September 27, 2011, 05:20:23 pm »
∂²Ψ    -(2m(V(x)-E)Ψ
---  = -------------
∂x²        ℏ²Ψ

Offline Quigibo

  • The Executioner
  • CoT Emeritus
  • LV11 Super Veteran (Next: 3000)
  • *
  • Posts: 2031
  • Rating: +1075/-24
  • I wish real life had a "Save" and "Load" button...
    • View Profile
Re: Why Johnny Can't Code
« Reply #64 on: September 27, 2011, 05:32:29 pm »
I don't know if it was mentioned in this thread yet, but I used to use YaBasic for windows which is even easier to learn than TI-BASIC.  Its also very small (the entire interpreter is under 300KBs) so it has the ability to imbed the interpreter and your code into a single executable for portability.  Its also really fast by BASIC standards; I made an entire 3D engine using it.
« Last Edit: September 27, 2011, 05:33:36 pm by Quigibo »
___Axe_Parser___
Today the calculator, tomorrow the world!

Offline sammyMaX

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 204
  • Rating: +9/-0
    • View Profile
Re: Why Johnny Can't Code
« Reply #65 on: September 27, 2011, 05:35:34 pm »
TI-Basic was where it all started for me... and then C++, Java, C#, Perl, C, and Lua. It was a nice language to get me into thinking in code.

Are you wondering who Sammy is? My avatar is Sammy.
   

Offline boot2490

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 607
  • Rating: +54/-36
    • View Profile
    • Boot2490's Stuff
Re: Why Johnny Can't Code
« Reply #66 on: September 27, 2011, 05:37:23 pm »
I started with Alice (more of a learning tool) and then KidBasic (now called BASIC256). Two years ago, I got my first TI Calc. Now, One year ago, I got serious.
Edit: FizzBuzz in TI BASIC? Easy.

For(X,1,100)
If (X/3) = int(X/3)
1 -> Y
If (X/5) = int(X/5)
If Y = 1
Then
13 -> Y
Else
9 -> Y
End
Disp Sub("FIZZ    BUZZ    FIZZBUZZ",Y,8)
End
« Last Edit: September 27, 2011, 05:46:17 pm by boot2490 »
I'm not worried about SOPA creating censorship, that will not stand for long. I'm worried that they'll succeed in stopping piracy!

Spoiler For Signature, updated march 23, 11:28 PM EST:















An useful tool!

PM me if you need some help. I am glad to be of assistance and part of the TI Communnity.

Offline Spyro543

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1189
  • Rating: +74/-3
    • View Profile
Re: Why Johnny Can't Code
« Reply #67 on: September 27, 2011, 05:37:57 pm »
I started with Alice (more of a learning tool) and then KidBasic (now called BASIC256). Two years ago, I got my first TI Calc. Now, One year ago, I got serious.

I use BASIC256 on a regular basis!

Offline sqrt(Time)

  • LV2 Member (Next: 40)
  • **
  • Posts: 37
  • Rating: +4/-0
    • View Profile
Re: Why Johnny Can't Code
« Reply #68 on: September 27, 2011, 11:30:30 pm »
FizzBuzz is a good problem for... someone with one maybe a month of coding experience? I think it should be.
If you want to test a person's skill, give them USACO training problems! :-DD

If they haven't heard of "Djikstra's algorithm"... or they can't do something identical... teach it to them then and there, and if you're looking to hire, /don't/. :-P

Offline boot2490

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 607
  • Rating: +54/-36
    • View Profile
    • Boot2490's Stuff
Re: Why Johnny Can't Code
« Reply #69 on: September 29, 2011, 07:07:07 pm »
The point of Fizzbuzz is to see how fast someone can do it.
Like, if you can think for less than a minute and then write it down, you might be worth testing with a harder problem.
I'm not worried about SOPA creating censorship, that will not stand for long. I'm worried that they'll succeed in stopping piracy!

Spoiler For Signature, updated march 23, 11:28 PM EST:















An useful tool!

PM me if you need some help. I am glad to be of assistance and part of the TI Communnity.

Ashbad

  • Guest
Re: Why Johnny Can't Code
« Reply #70 on: September 29, 2011, 07:11:09 pm »
FizzBuzz

Code: [Select]
100.times do |index|
   puts (index%3==0)?("fizz"):((index%5==0)?("buzz"):(index.to_s))
end

Give me a cookie now.

Offline boot2490

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 607
  • Rating: +54/-36
    • View Profile
    • Boot2490's Stuff
Re: Why Johnny Can't Code
« Reply #71 on: September 29, 2011, 07:22:30 pm »
What language is that?
I'm not worried about SOPA creating censorship, that will not stand for long. I'm worried that they'll succeed in stopping piracy!

Spoiler For Signature, updated march 23, 11:28 PM EST:















An useful tool!

PM me if you need some help. I am glad to be of assistance and part of the TI Communnity.

Ashbad

  • Guest
Re: Why Johnny Can't Code
« Reply #72 on: September 29, 2011, 07:37:40 pm »
What language is that?

Ruby.  A programmer's best friend.
« Last Edit: September 29, 2011, 07:37:58 pm by Ashbad »

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 #73 on: September 29, 2011, 07:38:34 pm »
What language is that?

Ruby.  A programmer's best friend.
and one used for RPG makers XP
Sig wipe!

Ashbad

  • Guest
Re: Why Johnny Can't Code
« Reply #74 on: September 29, 2011, 07:42:26 pm »
Sidebar, Ruby would be an excellent choice of a starting language (like, a highly-used industry one) since it is a lot more forgiving than Python (syntax is a *lot* more loose, so much sweet syntactical sugar; I usually get close to a coma every time I use it) and is like a million times cooler.  Unfortunately, the tutorials for it are usually aimed at decently-established programmers, such as the foundation book "The Ruby Way", which is awesome for Java/Python programmers but will suck newcomers dry.
« Last Edit: September 29, 2011, 07:43:30 pm by Ashbad »