by throwawayish · 9y ago · 0 comments
And it's not like there was no early announcement that it won't be 100 % compatible. That was officially announced 10+ years ago.
If you use reasonable and forward-looking language constructs, it will be runnable – or at least very easy to port to – newer major versions of the language. This is also true for the transition from Python 2 to Python 3. The problem is that a lot of people used (and still use) Python 2 badly.
Yes.
There are many differences between K&R/UNIX C and C89. For example, in K&R string constants could be modified, and repitions of the same constant would be different strings. This is not the case in C89. Variadic functions are different. Octal numbers were changed. Arithmetic works differently. And so on.
I can't comment on Perl 4 vs 5 vs 6.