Re: Python dataclass equivalent

2022-01-20 Thread James Reeves
Type hints in Clojure have a different purpose to those in Python. In Clojure, type hints are only a mechanism to avoid reflection; their use is solely to improve performance. So the question "Can I use spec as a type hint?" is actually asking "Will the compiler use specs to avoid reflection?",

Python dataclass equivalent

2022-01-20 Thread Kovas Palunas
Hi all, Coming from python, I use dataclasses a lot to tie complex collections of data together. I like using them in combination with type hints so that it's clearer to me at a glance what kind of data a function is processing. When my dat

Ankbit Application Server

2022-01-20 Thread dachraou...@gmail.com
Hi Learning a new language is not difficult but setting up the environment and tooling is an issue specially if there is many different solutions and frameworks; while learning clojure/clojurescript I stumbled against a complex and changing eco-system. This motivated me to create my own framew