Thoughts

Notes: How To Get Up Early

  • If there’s something it is not about, it’s resolution and willpower.
  • If there’s something it is about, it’s tweaking the environment until finding the one that works.
  • The environment shapes people within much more than people realise.
  • There’s no one-size-fit-all cookie-cutter solution. It’s different for everyone and it takes imagination, creativity and willingness to try and fail dozens of times.

Continue reading

Standard
JavaScript, Thoughts

How to Read Code Beyond One’s Comprehension

A colleague of mine asked me yesterday: what’s the difference between good code and bad ones? I gave my answer without a blink: “Reusability.” The answer struck me. I didn’t realise that before I said it out loud.

One good way to improve reusability, is to consciously refine one’s code with an eye for patterns. Repetitions are worth summing up–it’s just pure fun.

Continue reading

Standard
Thoughts

Those Who Compile Into JavaScript

I wondered what it would be like to have my front-end workflow in Ruby, or Common Lisp. What about all the libraries that could have been easily bowered and required in JavaScript? Could existing libraries somehow fit into the picture, or should there be counterparts taking their places? What about CoffeeScript, how does it work?

After some research, the list of answers I got:

Continue reading

Standard
Thoughts

Unjust, and Wealth

I came across Paul’s take on this quite a while ago. I simply wish more people could have read this:

The Daddy Model of Wealth

When I was five I thought electricity was created by electric sockets. I didn’t realize there were power plants out there generating it. Likewise, it doesn’t occur to most kids that wealth is something that has to be generated. It seems to be something that flows from parents.

Because of the circumstances in which they encounter it, children tend to misunderstand wealth. They confuse it with money. They think that there is a fixed amount of it. And they think of it as something that’s distributed by authorities (and so should be distributed equally), rather than something that has to be created (and might be created unequally).

Continue reading

Standard