Learning code, where should I start?

Rydian

Resident Furvert™
Member
Joined
Feb 4, 2010
Messages
27,880
Trophies
0
Age
36
Location
Cave Entrance, Watching Cyan Write Letters
Website
rydian.net
XP
9,111
Country
United States
I've been considering what to do with this thread for a while. The obvious first response is "Rydian, just rewrite it like you tend to do", but the issue is that "programming" is a very large category. Does somebody want to do simple HTML+CSS stuff for a website, or do they need server-side scripting? Are they going to be needing any additional components, such as databases? Would they be better off with an interpreted or a compiled language? Do they need a wide library of available functions, or will they be fine making their own? Is their target platform one that even has libraries available, or that certain languages can run on? Are they free to jump right into a certain language, or are they trying to do something that would require technical understanding at a more basic level first? Is a high-level language even an option?

I'm going to unsticky this and just leave it up to each person to ask themselves. This isn't too common of a question so the forums won't exactly get flooded, and it's a question that's best answered on a case-by-case basis, since a person's intentions can vary so wildly, so the range of info available to them would too.
 

Foxi4

Endless Trash
Global Moderator
Joined
Sep 13, 2009
Messages
30,825
Trophies
3
Location
Gaming Grotto
XP
29,851
Country
Poland
Start with Java in the Netbeans IDE.
After that, move on to C.
C just makes all of Java's annoyances disappear.
...why not start with C then? That's what I did - it's the most basic form of "C-Like" languages, and that includes C, C++, Java and JavaScript and others. Even the most basic knowledge of C gives you a foothold in learning many other languages, plus it translates to native code unlike, say, JavaScript and Java.

//inb4RydianTalkingAboutJIT B-)
 

Foxi4

Endless Trash
Global Moderator
Joined
Sep 13, 2009
Messages
30,825
Trophies
3
Location
Gaming Grotto
XP
29,851
Country
Poland
Pft, Desmume does JIT now, and it's such a speed boost that 'tempers are jizzing their pants over it.

Don't you want to jizz your pants, Foxi?
Somehow I knew you'll mention it... HMPH! :P

Well, yeah, it's a nice thing, but I still thing that C is the basis that people should start with. ;)
 

Fishaman P

Speedrunner
Member
Joined
Jan 2, 2010
Messages
3,323
Trophies
1
Location
Wisconsin
Website
twitch.tv
XP
2,195
Country
United States
...why not start with C then? That's what I did - it's the most basic form of "C-Like" languages, and that includes C, C++, Java and JavaScript and others. Even the most basic knowledge of C gives you a foothold in learning many other languages, plus it translates to native code unlike, say, JavaScript and Java.

//inb4RydianTalkingAboutJIT B-)
Java's plentiful exceptions are helpful at first, and they reinforce good habits.
However, they quickly get annoying when you know that you're smarter than the JRE.
For example, in C, if you make array[10][2], array[19][0] is valid, and it is equivalent to array[9][1], because that's how arrays are allocated in every language. Java's JRE will barf if you try to do that.
 

Coto

-
Member
Joined
Jun 4, 2010
Messages
2,979
Trophies
2
XP
2,565
Country
Chile
@Coto, out of curiosity why do you say not c++?

a 4 year reply, but because C++ is pretty much an extended C, (with some derivatives on calling more functions located on memory, or more "variety" while treating data on memory [you don't need that quirky tricks]) but in the end the "pure" C is the way to go if you want to think upon a rigid structure, with a good concept of data held in both our head and the machine. And pointers and such to retrieve those
 

Foxi4

Endless Trash
Global Moderator
Joined
Sep 13, 2009
Messages
30,825
Trophies
3
Location
Gaming Grotto
XP
29,851
Country
Poland
As far as learning programming in general, C first is like dropping them in the deep end of the pool.
Oh, I don't know about that. I started off with C and to be honest, when we got introduced to JavaScript at Uni, I found it to be messy and convoluted in comparison. :P
 

Rydian

Resident Furvert™
Member
Joined
Feb 4, 2010
Messages
27,880
Trophies
0
Age
36
Location
Cave Entrance, Watching Cyan Write Letters
Website
rydian.net
XP
9,111
Country
United States
Oh, I don't know about that. I started off with C and to be honest, when we got introduced to JavaScript at Uni, I found it to be messy and convoluted in comparison. :P
People like you tend to start off with technical know-how and such anyways. The average person barely knows syntax for typing an e-mail, let alone how to format a function with arguments. There's also the development environment, and people being required to jump into things like compiling a binary and such. That's why interpretert languages like Python are often suggested for somebody's first step, since it's relatively less hassle and confusion.
 

KingBlank

King of Nothing
Member
Joined
Sep 17, 2008
Messages
700
Trophies
1
Age
27
Location
New Zealand
XP
1,711
Country
New Zealand
If you play minecraft then start programming turtles+computers in the computer craft mod (its also in tekkit and ftb)
computercraft uses lua, which is a pretty nice language.
 

gifi4

How am I a 'New Member'?
OP
Member
Joined
Apr 21, 2010
Messages
2,350
Trophies
0
Age
27
Location
Melbourne
XP
713
Country
Rydian, I honestly was wondering the same th
If you play minecraft then start programming turtles+computers in the computer craft mod (its also in tekkit and ftb)
computercraft uses lua, which is a pretty nice language.
You're watching programming with Guude.
Any chance that your're a fan of Guude?
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • The Real Jdbye @ The Real Jdbye:
    if you keep them well enough fed, it's the same thing
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    By the power of Florida Man, I have the power!!! *Lifts up meth pipe* Meth Man!!! lol
  • BakerMan @ BakerMan:
    Guys, I just learned my little brother is in the hospital because he had a seizure last night.
  • cearp @ cearp:
    Sorry to hear that BakerMan
    +2
  • BakerMan @ BakerMan:
    Just found out he's doing alright, doing a lot of complaining too, rightfully so. Who wouldn't complain after having a seizure and being hospitalized?
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    Glad he is OK and complaining is cool :)
    +1
  • K3Nv2 @ K3Nv2:
    Yeah been there had that no fun
    +1
  • K3Nv2 @ K3Nv2:
    They'll give him sleep studies eegs and possibly one week hospital stay
    +1
  • BakerMan @ BakerMan:
    I hope it's not a week.
  • K3Nv2 @ K3Nv2:
    It's standard so doctors can get a idea about what's going on
  • BakerMan @ BakerMan:
    understood
  • BakerMan @ BakerMan:
    well, i'm glad he seems to be doing fine, and ig i'm going to start spewing goofy shit again
  • BakerMan @ BakerMan:
    Update: Turns out he's epileptic
  • K3Nv2 @ K3Nv2:
    Get a 2nd opinion run mris etc they told me that also
  • Psionic Roshambo @ Psionic Roshambo:
    Also a food allergy study would be a good idea
  • K3Nv2 @ K3Nv2:
    Turns out you can't sprinkle methamphetamine on McDonald's French fries
    +1
  • ZeroT21 @ ZeroT21:
    they wouldn't be called french fries at that point
    +1
  • ZeroT21 @ ZeroT21:
    Probably just meth fries
    +1
  • K3Nv2 @ K3Nv2:
    White fries hold up
    +1
  • The Real Jdbye @ The Real Jdbye:
    @K3Nv2 sure you can
  • BakerMan @ BakerMan:
    why tf do people hate android users? is it the video quality? just because "AnDrOiD = pOoR" bc they don't cost an arm and a leg like iphones do?
  • BakerMan @ BakerMan:
    i won't be turned off by an iphone, but don't pick on me for having an android, that's just how this shit should work
  • ZeroT21 @ ZeroT21:
    Should say more what these kind of android users say bout nokia 3310 users
    ZeroT21 @ ZeroT21: Should say more what these kind of android users say bout nokia 3310 users