News for hackers. Stuff that matters.
Re:Why Python Is Not My Favorite Language (2016) by emodendroket on Tuesday June 20, 2017 @10:31AM (#14594900)
Yeah, you basically make initial implementation easier at the expense of maintenance and debugging, which sounds like a good tradeoff until you think about the relative amount of time you spend doing one thing vs the other.
Re:Why Python Is Not My Favorite Language (2016) by loup-vaillant on Tuesday June 20, 2017 @11:15AM (#14595223)
> at the expense of maintenance and debugging,

Do you realize how insane that sounds? Static typing makes programs harder to debug? Harder to maintain??

On the contrary, static typing helps debugging and maintenance: changes that break invariants are more likely to be caught by the type system.

This speak of tradeoff sounds wise on the surface, but this is hardly a tradeoff at all. For many people (including me), a good static type system makes prototyping and maintenance easier.

Re:Why Python Is Not My Favorite Language (2016) by emodendroket on Tuesday June 20, 2017 @12:11PM (#14595800)
It probably sounds insane because you have interpreted my post to mean the exact opposite of what I intended.
Re:Why Python Is Not My Favorite Language (2016) by loup-vaillant on Thursday June 22, 2017 @10:54AM (#14612639)
Your comment sounded like this to me:

> Yeah, you [DarkKomunalec] basically [use static typing to] make initial implementation easier at the expense of maintenance and debugging

It was not clear that "Yeah" was an approval (and not a dismissal), and it was not obvious that "you" was a general "you" (and not a personal "you" directed at DarkKomunalec).

Nevertheless, you were still talking about a tradeoff, and I personally see none: in my experience, dynamic typing makes initial implementations harder (or longer), because so many errors are caught too late. Static type systems have a much tighter feedback loop.

Re:Why Python Is Not My Favorite Language (2016) by cwyers on Tuesday June 20, 2017 @03:12PM (#14597554)
Many, many people have a very different amount of time spent doing each that what you imagine. There's a lot of scripting code that is written once and then never maintained.
Re:Why Python Is Not My Favorite Language (2016) by emodendroket on Tuesday June 20, 2017 @04:49PM (#14598486)
If your claim is "Python is great for toy scripts" then fine, I don't have any issue with that.