[WIP] Learning ReScript - Part 4 (Tuples)
seen formatting and first type annotations in part 3, now lets get a bit more concrete with tuples real data structures ftw
seen formatting and first type annotations in part 3, now lets get a bit more concrete with tuples real data structures ftw
Taking in the rear view mirror for the first time and trying to sum up what I learned from ReScript and compare it to my initial expectations.
Continue reading →
The setup is working, I can compile and run ReScript files, I touched a bit on the syntax in Part 2, next I will continue through the docs chapters from top to bottom.
Continue reading →
In Part 1 I started with ReScript, I set up a project
and made my first steps, got it running.
Now I want to learn more and get to the point where I have a feeling for how to use ReScript, lets see where it takes me. I guess it will take me more than this "Part 2" post to be comfortable to start a project with ReScript.
Continue reading →
Finally I am taking the time to learn ReScript. Follow me on my journey and read how I approach it, mixed with some of my opinions and experiences.
Continue reading →
I wish to have a type system where I only need to type-hint the published parts (of a module/file) and let the type system infer all internal types. Though, I learned that even in Haskell land it is referred to as good practice to still type every function, no matter if public or private.
Flow sounds to be doing what I want.
Continue reading →
You don't need to rename all your ".js" files to ".ts" to go all in on TypeScript, you can go gradually. Adopt TypeScript step by step, become familiar with it in your existing JavaScript project. No need to put development on hold for weeks, while you convert the code base to TypeScript and fix all type errors. Read on to see how I adopt TypeScript for JavaScript for the sourcecode of jskatas.org.
Continue reading →
I am convinced, that stricter types are of help when writing, reading and understanding source code. Why? Ever had the primitive obsession? And if you continue down the (type) rabbit whole, you get to stricter typing. And to Purescript, which attempts "to keep the semantics of JavaScript, while enjoying the syntax and type system of a language like Haskell".
Continue reading →