4 ms·
django, but I'm interested in a language with real types. Edit: many of the things you asked about, Django does exceptionally well. Migrations, built-in auth,
by vonseel 9y ago
django, but I'm interested in a language with real types.
Edit: many of the things you asked about, Django does exceptionally well. Migrations, built-in auth, built-in admin (what other framework has this?), APIs through DRF, form-model validation.
I've spent a good bit of time trying to find the "go-to" options for this in the Java/Scala world, and if you look into something like Play framework, the choice isn't clear for a newbie to the ecosystem. There's JPA, Hibernate, Slick, Anorm, EBean, flyway migrations, among others. Maybe I'm experiencing information overload, if that's the case, please comment below and suggest what you would use on a new Java project today.
- LaurensBER 9y agoI've been using the type hinting introduced in Python 3 and it works very well. I just wish that there was a way to check/verify the annotations. They work very well as documentation right now but not so much for preventing bugs. The MyPy support for Django is severely lacking. I've been thinking about writing a decorator to check this in development (should be doable) but then I would have to decorate every function and I really do not want to do that.
- vonseel 9y agoI love type hinting! Also using it quite a bit. Although, that's part of my desire to work with a stronger-typed language... I'm putting in all this effort to annotate Python, I'd probably get much higher application performance and I'd assume it's more efficient for the IDE to introspect a typed language than a loosely-annotated one. And, playing around with things like Swing or Play, the whole ecosystem feels much more mature right out of the box.