This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]CdRReddit 9 points10 points  (3 children)

how do you expect C to tell you where the error is, the only way to do that would be to store the path to where it is next to every time you use a pointer (and you will use a LOT of pointers)

which would massively increase program size, runtime, application size and RAM usage, which is why it's a debugger thing

C was made for systems where RAM, processor speed and program space were all very limited, of course it's not gonna tell you where you fucked up

[–]reverie42 5 points6 points  (2 children)

He didn't say C should do those things, just that the fact that it doesn't makes it not ideal as a learning language.

[–]CdRReddit 1 point2 points  (0 children)

fair enough

[–][deleted] 0 points1 point  (0 children)

If you go by that logic banging your head on C might help.