3 ms·
you> Have fun with your ruby pacemaker, js air traffic control and life without static typing in 10mioLOC codebases. Unless I misunderstood the article, the cl
by kazinator 11y ago
you> Have fun with your ruby pacemaker, js air traffic control and life without static typing in 10mioLOC codebases.
Unless I misunderstood the article, the claim which the article works toward is that Ruby and Js do not have an advantage at all, if the compile times for the static alternatives are short (which strongly implies that we shouldn't bother using them).
Quote:
article> But you said before that Ruby reduces the workload over Java.
article> I think it does; but only if the cycle time is long. If the edit/compile/test cycle time is kept very short, then the effect is negligible
See? The argument, astonishingly ignorant as it may be, is basically anti-dynamic: the advantage of dynamic is "no compile time", and that's it. Make compile time so fast that you hardly notice it, and the advantage is wiped away.
- Silhouette 11y agoThe argument, astonishingly ignorant as it may be, is basically anti-dynamic: the advantage of dynamic is "no compile time", and that's it. I think that's more an argument that imperative vs. compiled isn't a significant difference any more. In the modern world of JIT-compiled runtime environments and fast, incremental recompilation, it's actually one of the few points I agreed with in this article. His premise that almost nothing else matters as long as the above is true and all programming languages allow very short write-test cycles is absurd, of course.
- kazinator 11y agoAlso, the premise is violated by the article's own observation that higher level compiled languages (slow build time) beat assembly language (lightning fast build time). I.e. there can be differences not linked to fast cycles. Just, please take it on faith, not between Ruby and Java.
- ysleepy 11y agoHe also reduces their differences to this point. - Which I find most ridiculous. For one thing, interpretation vs. compilation is in the end an implementation issue (see all the AOT compilers and Cerns ROOT/Cling). The advantage is, that you CAN compile moderately statically typed languages, they all can be equivalently and probably more easily than dynamic ones be implemented in an interpreted fashion. But even then, eclipse compiles while editing, and I never have to wait (The only thing I like about eclipse haha ). So the whole article was just written while intoxicated, or he is missing the deeper connections about language features beyond 2kloc ROR CRUD apps, like being able to find out callsites of a function, and being able to make assumptions about others code (which becomes critical in even moderately large codebases).