2 ms·
> C on the other hand is great. What you wrote in 1990 still is understandable today? That's a weird example. In my career I've noticed big stylistic changes
by stusmall 4y ago
> C on the other hand is great. What you wrote in 1990 still is understandable today?
That's a weird example. In my career I've noticed big stylistic changes over the years in C. I can usually point out C code from the 90s right away. Usually it just has dated style or is missing what are now common libraries or features. C didn't have a standard bool type until C99 which is usually a good sign of code's age. I remember once I came across some mid-90s code written with the pre-ANSI style of function declarations. It was the first time I'd ever seen it and I was confused on how it even compiled.
Outside stylistic things, there are a few idioms and features that I've never seen in newer code bases that might be lost on some newer developers. I can't think of many times I've seen longjump used in modern C.