I have been writing software for over a decade.

My 5 best advices for developers

that will save you 1000+ hours (🧡):

⚑️ On writing code

Solve the problem *before* writing code.

Clear code >>>> Clever code

Always optimize code for readability

and THEN efficiency (if required)

Remember:

You are not bad at coding.
You just need more practice.
⚑️ On debugging code

Code doesn’t do what you expect

it does what you tell it to do.

Be ready to spend hours bridging the gap.

When debugging:
β€’ Pay attention to error messages
β€’ Use debuggers
β€’ Ask for help when stuck

Prefer refactoring buggy code

over adding new code.
⚑️On testing code

Developers today are expected to:
β€’ write software quickly
β€’ without shipping bugs

Know that some tests are more important than the others.

Start with ad-hoc tests…

But use test automation as much as possible.

Test less. But smarter.
⚑️ On writing documentation

Good code is self-documenting
but you should document tradeoffs
and decisions of your code.

Some tips:
β€’ Automate doc generation
β€’ Document just enough
β€’ Use tests as documentation

Just remember that..
no documentation >> incorrect documentation
⚑️ On code reviews

Code reviews are to ensure that code
β€’ meets required functionality
β€’ adheres best practices

Avoid reviewing large code changes.

Establish a process. Use checklists.

See code reviews as a form of

knowledge sharing.

Learn from feedback.
TL;DR

- On writing code
- On debugging code
- On testing code
- On writing documentation
- On code reviews
That's it!

If you enjoyed this thread:

1. Follow me @codewithvoid

2. Retweet to share it with your audience

https://t.co/KCMShmdeVG

More from Catagory jee

A thread 🧡on Resources-for-preparation-Of-Placements Part -2 (Lecture video links)

**Designing**

- SYSTEM DESIGN

- Gaurav Sen - (
https://t.co/rzNpoBlK3q)

- SudoCode -

- LOW LEVEL DESIGN

- Soumyajit bhattacharya - (https://t.co/PCc8ZQAL8i)

- Sandeep Kaul - (https://t.co/ZH9Jq9Ei3p)

- Crack the System DesigN Interview - (https://t.co/8rhrPZZm1F)

- System Design Interview β€” Alex Xu -

- Designing Data Intensive Applications - (https://t.co/OhkTqqCQPx)

- System Design Interview - (https://t.co/7QvMtVRGvf)

- System Design - (https://t.co/ytpm3oy0tL)

- Services Engineering - (https://t.co/JPxM5YntWz)

- Engineering Blogs -

**Git and Github**

- Git and GitHub for Poets - (https://t.co/DsXVNVtENy)

**Projects**

- WEB DEVELOPMENT - (https://t.co/w1cEHZFRQz)

- DATA SCIENCE - (https://t.co/SJfFP4U0z0)

- MACHINE LEARNING -
Harvard University offers a ton of free online classes.

From Computer Science to Artificial Intelligence.

Here are 5 courses you don't want to miss:

1. Introduction to Computer Science

This is the best course to start with CS.

You'll learn about all the basic concepts and fundamentals of programming to start into tech field.

πŸ‘‰
https://t.co/cPTPFJbBPI


2. Introduction to Game Development

Learn about the development of 2D and 3D interactive games in this hands-on course.

This course will help you to explore the design of games such as Super Mario Bros., PokΓ©mon, Angry Birds, and more.

πŸ‘‰ https://t.co/uSNS8u5hse


3. Web Programming with Python and JavaScript

This course will help you to go deep into the design and programming concepts.

Learn about the implementation of web apps with Python, JavaScript, and SQL using frameworks like Django, React & Bootstrap.

πŸ‘‰ https://t.co/DemRj49O0l


4. Mobile App Development with React Native

Learn about mobile app development.

React Native, a popular framework maintained by Facebook that enables cross-platform native apps using JavaScript without Java or Swift.

πŸ‘‰ https://t.co/4stZkyqVjT

You May Also Like