Building a newbie-friendly codebase

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


Building a newbie-friendly codebase originally published on CSS-Tricks. You should get the newsletter and become a supporter.


This content originally appeared on CSS-Tricks and was authored by Chris Coyier

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

To Shared LinkPermalink on CSS-Tricks


Building a newbie-friendly codebase originally published on CSS-Tricks. You should get the newsletter and become a supporter.


This content originally appeared on CSS-Tricks and was authored by Chris Coyier


Print Share Comment Cite Upload Translate Updates
APA

Chris Coyier | Sciencx (2022-02-03T22:32:58+00:00) Building a newbie-friendly codebase. Retrieved from https://www.scien.cx/2022/02/03/building-a-newbie-friendly-codebase/

MLA
" » Building a newbie-friendly codebase." Chris Coyier | Sciencx - Thursday February 3, 2022, https://www.scien.cx/2022/02/03/building-a-newbie-friendly-codebase/
HARVARD
Chris Coyier | Sciencx Thursday February 3, 2022 » Building a newbie-friendly codebase., viewed ,<https://www.scien.cx/2022/02/03/building-a-newbie-friendly-codebase/>
VANCOUVER
Chris Coyier | Sciencx - » Building a newbie-friendly codebase. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2022/02/03/building-a-newbie-friendly-codebase/
CHICAGO
" » Building a newbie-friendly codebase." Chris Coyier | Sciencx - Accessed . https://www.scien.cx/2022/02/03/building-a-newbie-friendly-codebase/
IEEE
" » Building a newbie-friendly codebase." Chris Coyier | Sciencx [Online]. Available: https://www.scien.cx/2022/02/03/building-a-newbie-friendly-codebase/. [Accessed: ]
rf:citation
» Building a newbie-friendly codebase | Chris Coyier | Sciencx | https://www.scien.cx/2022/02/03/building-a-newbie-friendly-codebase/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.