Quantcast
Channel: Hacker News
Viewing all articles
Browse latest Browse all 25817

Eta – A powerful language for building scalable systems on the JVM

$
0
0

Purity

Eta is pure by default which means that calling a function with the same arguments will yield the same results every time. This means that you can treat your function definitions as equations and perform substitutions, just like you'd do in math. This makes it easier to understand your code and prevents a lot of bugs that are typical of imperative programming languages. Morever, it encourages a form of programming where you decouple your side effects from your business logic, making it easier to mock tests.


Viewing all articles
Browse latest Browse all 25817

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>