2021 week 37, 10th weekly post.

And what I haven't learned.

Sep 19, 2021

A doodle of the Brotherhood Sword from Final Fantasy X with the word ten in Chinese, Malay, and English on the left.

Items of the week

  1. JavaScript - We can create proxies for objects using const targetProxy = new Proxy(target, handler) which allows us to control how existing target can be interacted through targetProxy. It could be useful for things like validation or even encapsulation. More details can be found on MDN Web Docs.

  2. Design - A good self-reminder from Scott Berkun, author of How Design Makes the World - software developers sometime love building things that are performant and reliable but care less about whether it’s something that people can actually use. Got that from the DesignBetter podcast.

  3. Code editors - Default VS Code shortcuts to select words and lines are Cmd/Ctrl + D and Cmd/Ctrl + L respectively, the same shortcuts are for duplicating lines and going to specific line/column in IntelliJ IDEA, use Option + ↑/Ctrl + W and Cmd/Ctrl + C for their counterparts in IntelliJ IDEA instead.

Some other notes

Changing the format starting with this 10th weekly post, not having links at the end of post might be against the original idea of not contributing to new tabs before the post ends, but I imagine most people would read only the items that they are interested in, so the end of an item is as good as the end of a post. Plus there is Gestalt’s law of grouping - things that are near to one another tend to be grouped together.

A little introspection on this habit of publishing weekly posts shows that I don’t have the answers for questions like what have I learned from this and who would find value in these posts? Maybe it’s just to practice my writing and an excuse to doodle for the cover images for now. That’s why I want to tweak the format a bit now and then to see where it goes. Thank you for reading, if you have got any questions or feedback, let me know by leaving a comment on either Medium, Dev.to, or Substack. Have a nice day.