News for hackers. Stuff that matters.
Re:Fun vs. Computer Science (2016) by jasode on Saturday August 26, 2017 @05:27AM (#15104768)
> to working in a lousy language with very, very fast turnaround. [...] The PHP "builds" as fast as I can refresh a browser page.

This observation ("workflow") was one of the 3 bullet points outlined by Keith Adams' 2013 presentation "Taking PHP Seriously".[1][2]

(KA's presentation was partially a response to 2012 "PHP a Fractal of Bad Design".[3])

Basically, the horrendous inconsistencies and flaws outlined in "PHP Fractal Bad" can be true ... but simultaneously be overshadowed by "workflow" benefits.

[1] starting with slide #14 of "Adams-TakingPHPSeriously.pdf" : https://github.com/strangeloop/StrangeLoop2013/tree/master/s...

[2] 4 previous HN threads: https://hn.algolia.com/?query=php%20seriously&sort=byPopular...

[3] https://eev.ee/blog/2012/04/09/php-a-fractal-of-bad-design/

Re:Fun vs. Computer Science (2016) by SomeCallMeTim on Saturday August 26, 2017 @04:18PM (#15107206)
I have been using TypeScript. The TypeScript compiler gives me roughly 1-2 second builds, even on a large project that (it can watch code and build incrementally).

So I get the benefits of static types, plus the benefits of fast iteration, PLUS the benefits of a fully dynamic language for when I want to accomplish something quickly.

It's a full win-win-win. Throw in linting to avoid the legacy JavaScript crap and it's pretty awesome.