| ▲ | jacquesm 3 days ago | |||||||
> I’ve never seen code written like this in real-world projects Lucky you. I've seen far worse (at least this is somewhat consistent). But this isn't C anymore, it is a new language built on top of C and then a program written in that language. C is merely the first stage compilation target. | ||||||||
| ▲ | robotresearcher 2 days ago | parent | next [-] | |||||||
IIRC, C++ started out this way, or at least its precursor ‘C with classes’. A compiler came later. | ||||||||
| ▲ | taneq 2 days ago | parent | prev [-] | |||||||
And everyone says you can't do DSLs in boring old languages. :P | ||||||||
| ||||||||