331 karma · joined May 14, 2008
And there is an oft-documented overuse of custom operators among Scala programmers, however I don't have sufficient expertise to gauge the resulting problems in practice.
However, I think this is the nuclear option. I have some experience from university where I wrote some Eiffel code, contracts and all that jazz. It often takes some head scratching to figure out the right pre- and postconditions.
I'd actually rather see more safe interfaces for the common cases (like iterators and slices) that are ergonomic to use and may actually carry the proof in their types.
> ... if it matters enough, someone will come along and make you wrong.
I'll be gladly proven wrong if someone comes around and speeds up my JVM. :-D
> crates.io doesn't has so powerful things like Java has in maven
Could you elaborate on this? I'm only using maven in a few projects and have only shallow experience with it.
In this case, reloading just retries the transaction. Or the system can filter it out altogether.
I work in an unconventional setting, where my code runs for a potetially long time and where failure means trying again. This has led me to use a lot of assert statements, both in a pre-/postcondition/invariant checking and in a more general assumption checking style. I still use unit tests, but only to exercise portions of the code quickly - the tests are often devoid of assertions.
I find that this style gives me the best test coverage + internal code documentation for the time invested.
a) checks if functions/modules are eligible for asm-ifying (that is, it only uses asm.js functionality, no metaprogramming, only using asm.js "heap", do I oversee something?) b) adds a "use asm" to the function/module c) adds the correct type information d) perhaps compiles some JS functionality into asm.js (I'm thinking of the heap, which could be precompiled under certain constraints, but it's probably better to make the compiler not too smart)
I also really appreciate the minimalist style. After having seen a few presentations by Lawrence Lessig and others with similar style, I started to copy it, but with less slides (mostly because I am too lazy or have too little to say for the machine-gun-25-slides-per-seconds style).
I used to run gentoo w/ ratpoison which had an even better solution and dispersed with the panel altogether...
You are not supposed to talk about death. Keep silent at the cemetary. etc.