Last week's newsletter I touched on the fact that I wasn't happy with Flow, and have been considering the move to TypeScript. Well... it finally happened. This week I dove into the docs and started migrating my team's codebase. It's been slow and steady, but so far so good.
The biggest takeaway has been the editor integration with VSCode. With Flow this was always a pain in the ass, but with TypeScript everything just works.
One thing I have been stuck on is when to use interfaces and when to use type aliases, especially for React components.
It's still early, but I can see myself adopting TypeScript indefinitely, even for small projects.
On the blog
I built my blog on top of the Hugo framework, a lightning fast static site generator built with Go. Every once in a while I'll implement a new feature on the blog, usually to improve my readers' experience. When I do, I end up writing about it. If you are a fan of Hugo and use it to run your site, this post is for you.
If you're considering a site of your own, I highly recommend Hugo. I have a few posts on the topic and will continue to write more about it in the future. Let me know if you have questions! 😀
Seriously good stuff
I can't concentrate when I listen to music with words. I need something with a good beat that sits in the background while I work. FreeCodeCamp hosts a 24/7 music playlist on their YouTube Channel. It's perfect listening for programmers.
Chrome Dev Summit 2018 happened a couple weeks ago. There were a lot of great talks. I enjoyed this one the most. Paul Lewis and Surma discuss an old programming paradigm known as The Actor Model, and explain how it can improve the way we structure our application code.
My favorite read from last week. I stumbled upon Basecamp's Medium publication, Signal v. Noise and binged over one lazy afternoon. I love what the founders of Basecamp stand for. Changing the status quo of employee and employer. This article, written by DHH, hits home for me. Well worth 4 minutes of your time.
I'm a huge fan of Zeit. You may have heard of some of their products: NextJS, Now, and Hyper Terminal to name a few. Here's a list of their open source work. My favorite thing about Zeit is their philosophy behind design. Everything is on brand. Simple. Functional. I draw a lot of inspiration from their work in this space. When I'm stuck on something I usually refer to this design system.
Talk to you next week,
Happy coding! 👾