Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/siaexplains/code-lab

best practices, writing better code, learning algorithms, principles, rules, etc.
https://github.com/siaexplains/code-lab

Last synced: 10 days ago
JSON representation

best practices, writing better code, learning algorithms, principles, rules, etc.

Awesome Lists containing this project

README

        

I just share software development best-practices in any aspect of development such as back-end, front-end , database, deployment, testing, etc. in this repo.

### CODE-STYLES

You must choose your js-code style before writing any lines of code. There are three types of popular code-syles here:

1. [Airbnb](https://github.com/airbnb/javascript)
2. [Google](https://github.com/google/styleguide/blob/gh-pages/jsguide.html)
3. [Github](https://github.com/standard/standard)


- [Front-End Best-Practices](front-end/README.md)
- [Back-End Best-Practices](front-end/README.md)
- [Database Best-Practices](database/README.md)

### Performance

- Google Chrome DevTools Monitioring

### Testing

- `Jest` is the Best
- The `Unit Test` is Manadtory
- The `Integration Test` is Highly Recommended
- The `End-To-End User Test` is Recommended (Optional)

### Building / Production

- Using one-click Build system
- CI/CD

### Deployment

- Load Balancer
- CDN
- Caching

### Maintanence

- High Availability

### Principles

- SOLID
- DRY
- KISS
- YAGNI

### Rules

- Boysout Rule
- Good code is self-documenting
- Service/API or libraries for external use should have documentation


### Efficient Development

- Focus
-- No Answer Emails (They are not instant)
-- Disable ALL notifications
-- Pair Programming
- Pair-Programming
- TDD
- REPL on System
- Code Review