Hacker News new | ask | show | jobs
by chirau 1871 days ago
In case anyone is interested in the major changes in 2.0.x:

https://flask.palletsprojects.com/en/master/changes/

2 comments

At the very bottom: "Add type hinting."

I love that this happens to larger libraries now. It doesn't need to be 100% complete, but it will still improve many devs' lives. I hope it will become the default for new projects and major updates.

How Steve Wozniak wrote anything by paper, much less BASIC for the Apple I, is beyond me...

He and his kind are in a different reality

The scope is much more limited in his case. When the problem space is super narrow and the base language is your whole environment, writing correct code in a big batch is not that hard. On the other hand, dealing with flask and basically the whole stack of everything web at the same time is a different kind of challenge.
Writing code by hand isn't too bad, especially with a good language like LISP. I don't think it requires too much extra effort, just more attention and care as to not make syntax mistakes. With near-instant compile times and auto-linting, we sort of lose the ability to auto-vet code before inputting it.
I think it is a bit deep than that. I love LISP to death but I would never trade a ML language for LISP for writing code that goes into production.
Many people put Lisp into production, even in very demanding environments, just fine...
I never doubted that.
> Warning: This is the development version. The latest stable version is Version 1.1.x.

I couldn't find a way to close the top banner. So I clicked around and found out this page had a bug. In the bottom right corner there is button to select the version of flask.

1. click v2.0.x, works fine

2. click v1.1.x, 404 page not found

3. click v2.0.x again, 404 page not found