News for hackers. Stuff that matters.
Re:Python past, present, and future with Guido van Rossum [a... by brianwawok on Thursday February 23, 2017 @12:11PM (#13715555)
> True, but 95%+ of the issues you'd catch with unit testing in Python you catch during compilation in Scala, and that can be an incremental compile rather than a full compile. So once you have a properly set up dev environment the feedback loop takes less than 2 seconds in practice, though the one-off setup to reach that point is a lot fiddlier than for Python.

Not sure I agree with either of those. Compiler catches different types of error compared to Unit tests. Lots of ways especially when dealing with external libs or APIs where compile can't catch anything.

> Django wicket etc

To each their own. I despise SPAs, and neither code them nor use them if I can help it. DRF is really good for rest endpoints though.

> Meta programming

meh, different levels of it. Look at using Django ORM for some queries, vs say Slick. Slick is a bit gross.

> 1 liner vs 6 liner

Meh. In practice, Python is very terse also. Java vs Scala is a big line of code difference. I have not found Scala vs Python is that different.

Re:Python past, present, and future with Guido van Rossum [a... by lmm on Thursday February 23, 2017 @12:21PM (#13715660)
> especially when dealing with external libs or APIs where compile can't catch anything.

It can if those libraries/APIs are written to use types effectively. In the early days of Scala there weren't many native libraries that did so, but there's a pretty established native-to-Scala ecosystem these days.

> To each their own. I despise SPAs, and neither code them nor use them if I can help it.

Um, agreed, which is exactly why I love Wicket ? I think we must've misunderstood each other at some level.

> Meh. In practice, Python is very terse also. Java vs Scala is a big line of code difference. I have not found Scala vs Python is that different.

In a lot of code I agree, but I think the cases where you will see "crazy scalaz or something" are precisely those cases where those things save a fair few lines. If you can write it in a readable line of Python, that will usually translate directly into an equally readable line of Scala.