Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> Complexity with dynamic languages grows with the size of the project.

I was talking about language complexity, not how complex the project is.

That said, I have nothing against static typing, my argument was not really about typing at all. It was more about how OO and functional interact in clojure compared to java. Also types by itself dont really make all that good of a documentation, at least not the kind you care about when looking something up in the internet.

I am a fan of schema, and I think the future really is in the combination of schema and core.typed. I dont really like to devlop with pre set types and structures, but you could with schema/core.typed. I prefer to work dynamiclly and once im happy with the shape of my data, I 'set it in stone' by writing the correct schema for it. Then you can just always validate everything during devlopment/staticlly. When you deploy you can turn on validation only for data from the outside. This is how I would like to do it, until schema and core.typed work together I just use schema.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: