3 ms·
The whole ecosystem had over ten years to import print_function and fix their shit for the eventual flag day.
by kevin_thibedeau 6y ago
The whole ecosystem had over ten years to import print_function and fix their shit for the eventual flag day.
- PhantomGremlin 6y agoPython 3 literally broke "hello, world". For some vague notion of aesthetics. Or for some even more obscure "inside baseball" reason that 99% of Python users could care less about. The following still compiles and runs, on the compiler that comes with the latest OpenBSD: main() { printf("hello, world\n"); } Somehow the C language has managed to survive and thrive without breaking the canonical example program.
- jacquesm 6y agoIt survived and thrived because it did not break the canonical example program. If they had broken printf in say 1995 the situation would be entirely different today. Oh, and they did get it right the first time by making it a function.