A false endIn the last post, a type class named TypeRelation was added to the implementation of platform-dependent types, enabling the creation of mappings between platform-dependent types and basic integral types like Long based on the Platform type of the app...16 min read·mhammons.hashnode.devMar 11, 2024
Our journey beginsIt's been a longstanding dream of mine to make C and Scala play nice. While Scala is one of my favorite languages, it tends to be trapped in the semi-walled garden of the JVM. I want to write apps that benefit the opensource community, like applicati...8 min read·mhammons.hashnode.devFeb 15, 2024
Metadata types with Scala 3Strongly-typed programming languages allow us to avoid programming errors by lifting important information about data into the type system. By doing this, we can use the compiler to check our programs, and the stronger your types, the more your compi...12 min read·mhammons.hashnode.devJul 8, 2022
Functions and Polymorphic MethodsSo far, the methods we've dealt with have had strictly defined types. Parameters for these methods were specified in terms of Int, Double, String, etc. Now we are going to look at what it means for a method to be polymorphic, and what functions are i...16 min read·mhammons.hashnode.devApr 5, 2022