Items of the week
const targetProxy = new Proxy(target, handler)which allows us to control how existing
targetcan be interacted through
targetProxy. It could be useful for things like validation or even encapsulation. More details can be found on MDN Web Docs.
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.
Code editors - Default VS Code shortcuts to select words and lines are
Cmd/Ctrl + Dand
Cmd/Ctrl + Lrespectively, the same shortcuts are for duplicating lines and going to specific line/column in IntelliJ IDEA, use
Option + ↑/Ctrl + Wand
Cmd/Ctrl + Cfor 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.