Types in coding projects are good. Don’t be afraid to …| lmika.org
Sometimes I post in an online community of computer touchers, as one does. When talking flippantly about programming languages, it’s sometimes useful to glob a bunch of them together based on characteristics, whether superficial or not. This started with jokes about common features of “P languages” like Perl, PHP, Python, JavaScript and Ruby, but you can classify other languages too.| Bryce’s Blog
Getter and setter methods (getFoo, setFoo) are common in Java and considered a best practice. But they're a code smell that's best avoided in JavaScript and TypeScript because the problem they solve in Java does not exist in JS/TS. This post looks at what that problem is and how you can solve it in TypeScript without imposing the boilerplate of getters and setters.| effectivetypescript.com