A gentle introduction to C* IV
Writing C* like it’s 1989. Here’s everything odd carried over from ANSI C, and some oddities that are new.
Welcome to part four of A gentle introduction to C* – the first paid-subscribers-only post, I might add! Today we’ll be glossing over a lot of linguistic oddities that C* inherits from ANSI C, as well as new things it brings on from the current century.
As a language, C* is not just derived from C – it is derived from C as it was in 1989, standardised by the ANSI technical committee called X3J11.
As a result, for instance, C* requires the hoisting of variable declarations to the top of a lexical scope, like so: