Scala self-recursive types
One of the advantages of using a statically typed language is that you can use the type system to enforce some constraints. Scala provides self-recursive types, aka F-bounded polymorphic…
Read articleWriting 52 posts
Notes on programming, software design, and the occasional unexpected discovery.
One of the advantages of using a statically typed language is that you can use the type system to enforce some constraints. Scala provides self-recursive types, aka F-bounded polymorphic…
Read articleA simple internal DSL in Scala for money-related operations Source code: Scala DSL for money-related operations This Domain-Specific Language (DSL) lets you perform operations involving…
Read articleTry-Success-Failure API: Java implementation of the famous Scala counterpart Source code: Try-Success-Failure API for Java This API is a Java implementation of the Scala Try API, originally…
Read articleDennis MacAlistair Ritchie (username: dmr, September 9, 1941 — October 8, 2011) This post is dedicated to a man who contributed a great deal to computer science, Dennis Ritchie (a.k.a.…
Read article