Reading Notes, June 2017
Video: Andrew Clark Keynote @ ReactEurope 2017
An interesting overview on the state of React and where it’s headed, especially in regards to React Fiber and its “cooperative multitasking” feature.
The speaker does a really good job explaining the current problem React has due to the single-threaded nature of Javascript, which essentially boils down to this: it doesn’t matter how efficient your code is if you end up scheduling a lot of it in an uninterrupted sequence. React Fiber attempts to solve this through a more asynchronous approach to component rendering.
It’s an interesting look at where we are with React and where we might go in the future.
Article: “Some Lessons I Learned in 2013” by Frank Chimero
This is a couple years old now, but I found Frank’s “lessons learned” insightful:
- Life isn’t a story.
- A lot of things don’t need to be intellectualized: “because I want to” is often a good enough reason.
- Empathy is first an act of imagination.
- Don’t take business advice from people with bad personal lives.
- There are two ways to look at your life: what happened to you or what you did.
- Resources don’t replace will.
- Lazy trumps smart.
- Everybody wants to give advice and no one wants to take it.
- We only deserve what we can take care of.
- Clearly labeling other people’s petty grievances as bullshit is a fast track to well-being and fewer complaints of your own.
- Money is circulated. Time is spent.
- You can punch back.
- Social media gets less annoying if you’re willing to say to people, “Who the hell do you think you are?”
- Pain is unavoidable. Suffering is optional.
- Who you are has more to do with how you act and what you love than what you have or say.
- It’s more complicated than that.
- Everything good I have came from honesty, good intentions, and low expectations.
- Stick with the attentive ones.
- Find a way to forgive your mistakes.
- You’ll never know enough. Oh well.
Article: Conversations with Technology Leaders: Erik Meijer
This is a Q&A article I stumbled on that has some good pieces of advice in it.
First, I liked this point on the absolutist terms we so often use in conversations: “oh, we have to use X because it’s declarative”. Declarative compared to what? These arguments should be more specific.
We cannot talk about everything in absolute terms. Compared to assembly code, C is declarative. But compared to transistors and gates, assembly code is declarative. Developers need to recognize these levels of abstractions.
I also liked the metaphor of computer tools being an extension of your mind:
Good developers understand that they can't do everything, and they know how to leverage tools as prosthetics for their brains.
Some interesting advice on how to find your way between theory and practice (as alway the answer seems to lie somewhere in the middle):
focus at the intersection of theory and practice. There is no progress without friction. It is easy to dive into theory, or all the way into just practice—but the real interesting work happens between theory and practice. Try to understand both sides. The safe spot is to retreat to one of the extremes.
Remember: there is no silver bullet. Your processes alone won’t save you:
With prescriptive processes, people are looking for a silver bullet to solve problems, but it doesn't exist...The world is super-confusing, and you have to embrace it and work with it.
Lastly, I love this bit about finding questions before answers. I often have to remind myself of this before digging into any project:
first focus on finding the right questions, and then the answers.
Article: The art of throwing JavaScript errors
There were two good reminder pieces for me in this article:
Errors are the friends of developers, not enemies.
And
It helps to think of errors as built-in failure cases. It’s always easier to plan for a failure at a particular point in code than it is to anticipate failure everywhere.
Article: Design Better Data Tables
A page full of gifs depicting interaction paradigms for designing data tables. Kind of an interesting little summary.