News for hackers. Stuff that matters.
Re:Learn C programming and the rest will come by jokoon on Wednesday November 29, 2017 @10:26AM (#15807461)
Agree with it, but it's an unpopular opinion.

I often advocate python as a first language, but when you discover that python uses references most of the time, it can get confusing.

Ideally, you would teach the basics of assembly, learn the basics of a compiler, and go forward.

Re:Learn C programming and the rest will come by monaghanboy on Wednesday November 29, 2017 @12:53PM (#15809061)
I agree with the last statement. I think it's best to learn basic computer architecture before learning C, which assumes a close relationship.

I took http://nand2tetris.org/ before learning C; starting from a single logic gate, you build memory, CPU, assembler, and a compiler for small language (you implement malloc and free yourself). [0]

Though some folks say it sacrifices depth for breadth, I feel very comfortable learning C now.

[0] HN thread for part 2 of the course: https://news.ycombinator.com/item?id=14526344

[1] HN thread for part 1 of the course: https://news.ycombinator.com/item?id=13209452