Disappointed to find a puff-piece on typescript. Dishonest headline. Javascript frustrates me just as much as the grumpy old man in the article. That said, I once sat down and asked myself, "self, why was it okay to live through the php years yet you despise javascript for being the same way?" And then it dawned on me, my involvement in php projects forced me to have a low-level understanding of the language that I n…
“The days of using untyped languages on non-trivial projects are over.”
51–60 of 117 posts
Re: “The days of using untyped languages on non-trivial projects are over.”
#52Re: “The days of using untyped languages on non-trivial projects are over.”
#53Earlier quoted context omitted.
> why untyped languages became popular to begin with because for a long time there were no mainstream languages with a good enough type system.
Types slow you down. New work is first completed in untyped languages. People start using the work. People complain there aren't types. Types are added. Work is now slow in the language. New work is now done in another language without types. Rinse and repeat.
Re: “The days of using untyped languages on non-trivial projects are over.”
#54Disappointed to find a puff-piece on typescript. Dishonest headline. Javascript frustrates me just as much as the grumpy old man in the article. That said, I once sat down and asked myself, "self, why was it okay to live through the php years yet you despise javascript for being the same way?" And then it dawned on me, my involvement in php projects forced me to have a low-level understanding of the language that I n…
Much simpler explanation - php and js are both terrible languages.
Re: “The days of using untyped languages on non-trivial projects are over.”
#55Earlier quoted context omitted.
> why untyped languages became popular to begin with because for a long time there were no mainstream languages with a good enough type system.
Types slow you down. New work is first completed in untyped languages. People start using the work. People complain there aren't types. Types are added. Work is now slow in the language. New work is now done in another language without types. Rinse and repeat.
Re: “The days of using untyped languages on non-trivial projects are over.”
#56The days of sweeping declarations regarding obviously periodic trends have never arrived. I've been around long enough that "safe" gave way to "productivity" and back to "safe". There's kind of a nascent ethos of being "better" in each new generation that just results in these pendulum effects. The overall effect seems to be enormously positive. I can now bounce between several completely valid build environments, ec…
Yep. Everything comes in cycles, old becomes new again, etc. This is particularly true in the software industry. We're very fad-driven.
Re: “The days of using untyped languages on non-trivial projects are over.”
#57Earlier quoted context omitted.
> why untyped languages became popular to begin with because for a long time there were no mainstream languages with a good enough type system.
Types slow you down. New work is first completed in untyped languages. People start using the work. People complain there aren't types. Types are added. Work is now slow in the language. New work is now done in another language without types. Rinse and repeat.
Re: “The days of using untyped languages on non-trivial projects are over.”
#58Earlier quoted context omitted.
> why untyped languages became popular to begin with because for a long time there were no mainstream languages with a good enough type system.
Types slow you down. New work is first completed in untyped languages. People start using the work. People complain there aren't types. Types are added. Work is now slow in the language. New work is now done in another language without types. Rinse and repeat.
As if developers of untyped languages don’t spend ungodly amounts of time pretending types don’t exist, but needing to manually check them everywhere, wonder why shit blows up at runtime, litter their code with “typeof” style checks, litter their tests with type checking.
The types exist and need to be considered whether you believe it or not. Might as well let the computer help you out.
Or you know, pretend you’re toooooo cool for it.
Re: “The days of using untyped languages on non-trivial projects are over.”
#59I always wonder why inference a la Hindley-Milner isn't what people push as the best of both worlds.
Inference for static types requires more from the compiler in two key ways that impact the developer experience. First, it's just plain more work to do when compiling, so compile times are longer than they might otherwise be. Second, error handling and messaging needs to be written very carefully to avoid dense and unhelpful output when inference fails. It's positive in many ways, but it's not a free lunch.
Re: “The days of using untyped languages on non-trivial projects are over.”
#60Earlier quoted context omitted.
> why untyped languages became popular to begin with because for a long time there were no mainstream languages with a good enough type system.
Types slow you down. New work is first completed in untyped languages. People start using the work. People complain there aren't types. Types are added. Work is now slow in the language. New work is now done in another language without types. Rinse and repeat.
you know what really slows me down? trying to use a function in a dynamic language, and having no god damned clue what type of arguments it accepts, and having to figure it out by grepping through the code or dynamically instrumenting a running program.