Hacker News new | ask | show | jobs
by moreaccountspls 2168 days ago
> The lexer shouldn't have to deal with that sort of stuff.

The problem with that is that the entire python ecosystem had to deal with that instead...

I'm going way past rant territory at this point, but there's a reason that Microsoft and Amazon are worth a trillion dollars a piece, and it's not because of beautiful and elegant APIs.

2 comments

SO, you're saying that if Python abandoned quality in favour of aggressive sales and marketing in the channel and cut-throat monopolistic practices against competing program languages, then its core programmers would rise to the ranks of American social elites?
Alright, I'll bite. Why do you think not breaking users programs is abandoning quality?
The whole ecosystem had over ten years to import print_function and fix their shit for the eventual flag day.
Python 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.
It 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.