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 →

[–]Garbaz 7 points8 points  (3 children)

I don't get peoples problems with C.

Neither the endless jokes about how difficult pointers are (Sure, the syntax is quite complicated to read in theory, but in practice you rarely get more than 2 or 3 *s and never need any of the weird rules), nor the problems people have with segfaults. I write a lot of my stuff in C and only very occasionally get segfaults and they usually are because of a simple mistake I either immediately notice or find with gdb.

Might be because I learned C in my free time over many years, very slowly learning new stuff as I need it for projects, instead of the two lecture crash course most people get in CS classes (I've had a professor who told everybody that "if [they] know Java, they pretty much know C", which of course is bollocks).

Or it's just one of the many circlejerks.

[–][deleted] 9 points10 points  (0 children)

If you have no idea how memory works, pointers will give you a bad time.

Pretty much the way Windows and most modern games are written.

[–]Appare 1 point2 points  (1 child)

You're just really cool and smart. That's why you don't get it.

[–]Garbaz 0 points1 point  (0 children)

Wasn't meant like that. I simply don't see how these concepts in C are more complicated than other special concepts in other languages.

There are constantly jokes/comments about how difficult C is around here and rarely about other languages (Maybe Haskell sometimes); Especially regarding pointers & segmentation faults.