Better HN
topnewbestaskshowjobs
Log inSign up

maxilulu

13 karma · joined May 28, 2018 (8y ago) · 6 submissions

Submissions

comment 7y ago · link · parent

> onsider Fermat's conjecture. It's trivial to state it, it's trivial to test it to be correct for a given set of inputs. However, proving it for the general case is quite difficult, and only a handful of people in the world can follow that proof.

This is a strawman, conventional static type system can't prove all general cases either and no body is saying that they do that. Yet, they being a superset of dynamic typing, they allow to have the same expesiveness as such by providing a bypass like 'Object' or 'any'.

comment 8y ago · link · parent

Reading and writing is not slow, but your queries. If you don't cache or optimise your queries then any operation is going to be slow. With a VDOM you are just exchanging queries for cached DOM objects, but if you don't optimise your updates on such they are bound to be slow as any other. Also, a VDOM is immutable and prone to garbage.

comment 8y ago · link · parent

Is nothing new, have been done many times in form of language server protocols.

comment 8y ago · link · parent

He might be just a consumer not a compiler expert.

comment 8y ago · link · parent

It will not crash the program and is domain specific. Definitely an improvement over nil.

comment 8y ago · link · parent

> If you remember to write all of your Clojure code like this

The whole problem with Clojure, you have to remember how to write anything instead being restricted to a subset of a safe idiom.