Bookmarks tagged with "best-practices"

  • Two open source projects with great documentation • johnjago.com

    23 March 2024 · esbuild Through their READMEs, changelogs, architecture documents, and code comments, both projects explain their design in such a way that someone new to the codebase can understand where things are, how things are done, and why they are done that way. If you’re a developer looking to get better at documenting your code and software architecture, these are great case studies. If you’re writing software, good documentation is a necessity, especially if other people will see or c...

  • Clean Code

    Whether you are a student, professional, or even a recreational programmer, clean code should be a way of life. But what is clean code, and why should we care? CONTENTS Clean Code Matters • Read These First • Comments • Testing • Formatting and Naming • DRY Code • Conceptual Organization • Efficiency • Safety and Security • Compactness • Be Reasonable and Pragmatic Coding is a form of writing. When you code, you are expressing yourself. Code cleanly, to show pride in your work, and, importantly,...

  • How to use CSS variables with React

    This is a But! I also really like CSS. And I don't believe that using CSS-in-JS absolves you from needing to learn it. You're writing CSS either way! It's just packaged a little bit differently. No matter where you put your CSS, it behooves you to develop a mastery of the language. Becoming better at CSS will make you a more effective front-end developer. In this tutorial, we're going to see how to take advantage of one of the most exciting newer developments in CSS: , AKA Custom Properties. We...