this post was submitted on 09 Sep 2024
260 points (97.4% liked)

196

16238 readers
2003 users here now

Be sure to follow the rule before you head out.

Rule: You must post before you leave.

^other^ ^rules^

founded 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[โ€“] JusticeForPorygon@lemmy.world 34 points 1 week ago (8 children)

Just started uni and theyre having us learn C

It's only been a couple weeks and it's not too bad, but every time I bring up to someone that I'm learning C they express sympathy, which makes me think I'm eventually gonna hit a brick wall of a learning curve.

[โ€“] sabin@lemmy.world 1 points 1 week ago

Honestly C imo is not that bad. It's actually a very small specification. There's not much to it. The actual amount of code you'd need to create a working C compiler is relatively tiny.

It stuck around all this time because concepts like null-terminated strings, arrays decaying to pointers, etc. are all very intuitive if your working in a language that's built to be as minimalistic and simple as possible.

If you understand these things I'd say you're already past the learning curve. Now just make sure you remember exactly how type definitions are parsed so that contrived type declarations don't cause you to lose marks on an exam.

The difficulty with C imo comes with people needing programming concepts abstracted away from them because they never actually learned how their computer represents or processes data.

load more comments (7 replies)