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,844
Trophies
3
Location
Gaming Grotto
XP
29,930
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,844
Trophies
3
Location
Gaming Grotto
XP
29,930
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,209
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,844
Trophies
3
Location
Gaming Grotto
XP
29,930
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
702
Trophies
1
Age
28
Location
New Zealand
XP
1,727
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
  • K3Nv2 @ K3Nv2:
    why
  • Xdqwerty @ Xdqwerty:
    @K3Nv2, it's not funny
  • K3Nv2 @ K3Nv2:
    ok
  • BigOnYa @ BigOnYa:
    Wut?
  • K3Nv2 @ K3Nv2:
    That's not funny
    +2
  • Psionic Roshambo @ Psionic Roshambo:
    So two cannibals where eating a clown and one says to the other. Hey does this taste funny to you?
    +2
  • K3Nv2 @ K3Nv2:
    What do you call a slow car? Retired
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    Did you hear about the police car that someone stole the wheels off of? The police are working tirelessly to find the thieves.
    +2
  • K3Nv2 @ K3Nv2:
    A firefighter got arrested for assault his main claim was what I was told he was on fire
    +2
  • BigOnYa @ BigOnYa:
    What do you call a hooker with a runny nose? Full
    +2
  • Psionic Roshambo @ Psionic Roshambo:
    What do you tell a woman with two black eyes? Nothing you already told her twice!
  • K3Nv2 @ K3Nv2:
    Diddy also works
  • K3Nv2 @ K3Nv2:
    A scientist heard the word batman so he put a naked lady in a cage with a bat
  • Psionic Roshambo @ Psionic Roshambo:
    Chuck Norris won a staring contest, with the sun.
  • K3Nv2 @ K3Nv2:
    A vampires favorite thing to do is moon you
  • BigOnYa @ BigOnYa:
    What's the difference between an airplane, and Ken's mom? Not everyone has been in an airplane.
  • K3Nv2 @ K3Nv2:
    What's the difference between @BigOnYa and his wife? Nothing both want to bone me
    +3
  • RedColoredStars @ RedColoredStars:
    How much wood could a wood chuck chuck if a wood chuck could chuck norris
    +1
  • BakerMan @ BakerMan:
    how do i know? you're a guy, and he wants to bone every guy on this site (maybe, idk)
    +1
  • K3Nv2 @ K3Nv2:
    He wants to bone anything with a dick
    +1
  • Xdqwerty @ Xdqwerty:
    Good night
    +1
  • BigOnYa @ BigOnYa:
    Nighty night, big day tomorrow. Congrats.
    K3Nv2 @ K3Nv2: https://www.instagram.com/reel/C7iLZ35NrQt/?igsh=MWd2Z3U0dmNlMmNxcw==