Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Which languages have pointer arithmetic, longjmp, goto anywhere within a function, address-of operator, memcpy that is equivalent to assignment even for lexical variables, untagged unions, switch with fall-through in absence of explicit break and a textual/token-wise preprocessor?


BLISS, Modula-2, NEWP, Mesa,...?

Of course, some of those tricks are only allowed in SYSTEM/UNSAFE blocks on these languages.


That was in response to the claim that if C has a feature, it "probably exists in every language most programmers are familiar with".

"Most programmers" are not familiar with these. (A bit sad in the case of Modula-2).


Which is a sad state of affairs, programming language history should be a required part of curriculum.


Well, there is a big jump between knowing about historic programming languages and familiarity. I know a few things about SNOBOL, but I couldn't sit down and start coding in it without some ramp-up period.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: