News for hackers. Stuff that matters.
Re:Overview of new features in Apache HTTP Server 2.6 by saila on Saturday November 20, 2021 @10:35PM (#29293987)
I work with Node and Python regularly and I'm unclear on how a Node stack would be more complex than a Python stack. Isn't "just Flask," which is Python plus packages, equivalent to Node plus packages, both in terms of development and deployment?
Re:Overview of new features in Apache HTTP Server 2.6 by bern4444 on Sunday November 21, 2021 @12:56AM (#29294495)
Yes, to me at least. The parent comment maybe just knows flask very well and is more comfortable with it and less comfortable with JS. An equivalently proficient JS engineer would be able to do just as much in just as little time (and likely more anyway).

Personally I think JS is a much better language. Python is still recovering from the 2 to 3 migration. Meanwhile JS will always be backwards compatible and with TS is a great language to work in. Python still doesn't have a good type system.

Re:Overview of new features in Apache HTTP Server 2.6 by the_duke on Sunday November 21, 2021 @04:32AM (#29295144)
Python annotations actually provide a very decent typing layer. You have to use an additional tool to do the checks, there are much fewer third party typings, and the type system is definitely not as sophisticated as TS.

But Python code is also not as dynamic as JavaScript, so you can get most of the way with what's already in the standard library. (again, disregarding the missing pervasive typings for the ecosystem)