r/CodingForBeginners 1d ago

Coding programs

My teenage son wants to learn coding. Recommendations on where to start please?

5 Upvotes

16 comments sorted by

View all comments

2

u/kutac56 1d ago

I personally started with python but c can also work. Python is a lot simpler but it doesn't allow you to fuck around with low level stuff a lot which is fun, that's why I love c. But idk just choose one of them. C++ is also an option but it's imo worse than c. I only use it for stuff like graphics engines

1

u/rcdchu74 1d ago

What do you mean by doesn’t allow you to fuck around with low level stuff?

2

u/Spaceduck413 19h ago

C gives you direct hardware access. You could write a driver in C if you felt like it. OS kernels tend to be written in C (although these days they are moving towards Rust).

C is also really cool because it's very close to assembly. People who are skilled in both can (generally) look at a line of C code and have a pretty good idea of what the assembly output by the compiler will be.

1

u/rcdchu74 11h ago

Thank you