WP Ad Inserter plugin for WordPress

Building a newbie-friendly codebase

Read Time:25 Second

Pedro Santos suggests:

  1. Using naming conventions such that you can learn them once and apply them everywhere
  2. Unidirectional data flows. Make it easy to follow the app flow.
  3. No magic numbers. I’d add they are even worse in CSS as it’s both the confusion they cause and how they are often tied to awkward or incorrect assumptions.
  4. Using data structures. Like state machines.
  5. Testing everything
  6. Good code > good comments
  7. Avoiding acronyms
  8. Refactoring opportunistically

Direct Link →

Source: https://css-tricks.com/building-a-newbie-friendly-codebase/

Building a Scrollable and Draggable Timeline with GSAP Previous post Building a Scrollable and Draggable Timeline with GSAP
A Deep Introduction to WordPress Block Themes Next post A Deep Introduction to WordPress Block Themes

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.