6 ms·
yeah everything agrees on the necessity to chose meaningful/short/descriptive/concise names. but I was asking if there's anything to keep in mind when building
by hamedb 5y ago
yeah everything agrees on the necessity to chose meaningful/short/descriptive/concise names.
but I was asking if there's anything to keep in mind when building large complex code.
- how long or short are your functions?
- what do you comment?
- can you actually use only pure functions?
- how large are your files?
- how do you manage 3rd party dependences or do you don't use any?
- how do you mange bundle size and enforces code quality?
- when to break a function or break a file into smaller parts?
- do you create functions that call only other functions or each function should have some procedural code?
giving code examples of a well written code snippet would be so helpful!