wokwi / avr8js

Arduino (8-bit AVR) simulator, written in JavaScript and runs in the browser / Node.js
https://blog.wokwi.com/avr8js-simulate-arduino-in-javascript/
MIT License
463 stars 73 forks source link

Suggestion - project structure by feature while keeping a LIFT practice #21

Closed LironHazan closed 4 years ago

LironHazan commented 4 years ago

It will draw a better picture (especially when scaling up) if the project entities will be structured as features, and utils/services will be located per feature (preserving LIFT)

LIFT stands for: Locate code quickly, Identify the code at a glance, keep the Flattest structure you can, and Try to be DRY

I suggest to start by locating the peripherals classes under: /peripherals