News for hackers. Stuff that matters.
Re:Learn C or Rust first? by smt88 on Saturday December 13, 2014 @10:36PM (#8747370)
I'd suggest Go over Rust for a beginner. Go would allow you to do pretty much any kind of project you wanted (web API, mobile app, CLI tool), which is what's important for learning: having little hobby projects that you do on your own.

By learning Java, you're already getting some good CS fundamentals. It probably wouldn't help you that much to learn C on top of that.

I'll leave you with this: if you want to make programming into a career, you don't need to learn C. If you want to study programming as a researcher or teach it, you should learn C.

Being 15, you don't know what you want to do though, so I'd suggest just doing what you find fun for now and worry about the rest of it later.

Re:Learn C or Rust first? by angersock on Sunday December 14, 2014 @12:09AM (#8747505)
This is really bad advice, except for the last part. :)

If the idea is "Hey, let's use a framework good for beginners and hack together projects", OP should just extend their Javascript knowledge into Nodejs--and there's nothing wrong with that.

"By learning Java, you're already getting some good CS fundamentals."

This is wrong. If you are trying to learn CS fundamentals, learn Scheme or Clojure or some other functional language. Java in practice is basically plumbing together large frameworks built by people smarter than you who probably worked at Sun fifteen years ago--and who often got things wrong. Java in theory is ramming OOP design down your throat, and still exposing enough implementation details of the runtime that you can't ignore them.

Java is a not a good way to learn CS fundamentals.

if you want to make programming into a career, you don't need to learn C.

This is only true if you want to be a blub programmer and punch the clock and basically just farm code in enterprise. Learning C is essential (barring learning assembly) to getting access to great swathes of performance-critical environments, tracking down weird bugs, and generally understanding what you machine is doing.

Re:Learn C or Rust first? by smt88 on Sunday December 14, 2014 @02:22AM (#8747670)
This is only true if you want to be a blub programmer and punch the clock and basically just farm code in enterprise.

Times change. A lot of (what I would consider) interesting jobs only require web languages, which are high-level, messy, and abstract away a huge amount of underlying complexity (many would say too much).

I'm telling him/her how things are, not how we want them to be. Only a small fraction of being can be great engineers. The rest of the millions of developers out there are writing sloppy blub code on top of an opinionated framework.

If you are trying to learn CS fundamentals, learn Scheme or Clojure or some other functional language.

I don't think we're using the same definition of "fundamentals". I was talking about things as simple as writing code, compiling, debugging, and googling (the most important skill of a programmer).

S/he'd also be learning OOP, which dwarfs FP in the web development world[1]. I actually don't think I've ever heard of a popular web framework that was written functionally, though I should also mention that I think the practical differences between FP and well-written OO are exaggerated. They aren't mutually exclusive, and OO doesn't imply mutability.

1. http://lifehacker.com/the-top-programming-languages-ranked-b...

Re:Learn C or Rust first? by Pharohbot on Saturday December 13, 2014 @11:19PM (#8747433)
I dont personally like Go, but from what you mean, since im taking Java, I dont need to learn C on top of that, so I can just get into Rust(and i want to be a web developer as a career). plus Rust has its frameworks like Nickel and Iron that are being actively developed on.
Re:Learn C or Rust first? by smt88 on Sunday December 14, 2014 @04:34PM (#8749640)
My more important point is that you don't need to do anything right now. Just do some stuff that you find fun.