Closing topics frees mental power to focus on what is at hand.
A human fallacy is to confuse familiarity with skill.
The slip box is a containerization of ideas.
Success is not a question of will power, diligence is more efficiently achieved through tricking your reward centers.
Better learning can be acquired through a systematic approach.
Creativity and knowledge acquisition are not plannable endeavours.
The Beauty of Hooks
I’m really an amateur when it comes to React, but today as I read a bit more on hooks I couldn’t help but to admire the beauty of this feature.
I’ve really been wanting to get in touch with React for a long time. Before I went on parental leave I had a small encounter with it, but now I’m finally getting the chance to dig a bit deeper into it.
The Simple Work
It astonishes me how much work it is to write even what you feel like is a simple library. I just worked some more on my geometry library. My aim is to implement a method that can separate one polygon from another polygon in a given direction. To do this, I’ve gone about implementing a method that can separate a line segment from another line segment in a given direction. This method will be the basis on an iterative method that moves one of the polygons in the correct direction until it no longer overlaps the other polygon. The thing is that this method made me see a lot of basic functions that I was missing on my Vector class and Line Segment class. They are all simple methods, like adding or subtracting vectors from each other, but writing them up together with their tests still takes time.
I don’t really know if it’s worth it, but I’m working with
Optionals in this Typescript library that I’m building. Typescript already has its question mark in the type system to mark if something can be null ornot, just like they are doing it in Kotlin. Still, coming from having done quite a bit of Scala there is something about Optionals that I’ve grown to like.