"Modularize Your Code" - Grumpy Codes 011 Follow me on Tapastics. #debug #coding #codes #programmers #programming #modularize #scarycodes #sadako #thering #digitalart #art🎨 #comic #grumpycodes #developers #lol #funny #humor

seen from Türkiye

seen from Italy
seen from China
seen from China
seen from Yemen

seen from Kazakhstan
seen from China
seen from China
seen from United Kingdom

seen from Malaysia
seen from United States

seen from Canada
seen from Germany

seen from Netherlands
seen from United States
seen from Japan

seen from Romania

seen from Romania
seen from Pakistan
seen from United States
"Modularize Your Code" - Grumpy Codes 011 Follow me on Tapastics. #debug #coding #codes #programmers #programming #modularize #scarycodes #sadako #thering #digitalart #art🎨 #comic #grumpycodes #developers #lol #funny #humor
Knowledge Bomb. Dropped.
I had a problem inserting a document into my Mongo database so I asked Larry for help. He never answered my question. Just dropped a 1 hour knowledge bomb on me!
1. Modularize / Organization / Maintainability. We organized my app into one constructor with prototype chained methods. Later, this allowed me to reuse code. We separated the interface from the data.
2. Read the API DOCS. Understand how your code works. He had me read the Google Maps API docs (read, not just look at the examples) and taught me how important it is to understand the API I'm using.
3. Comments. For your future self and your colleagues. We added helpful comments.
4. Error handling for the users. When API's have a callback returning a error status make sure you handle each one properly.
Larry's a software engineer at Adobe who comes to our class as a guest instructor and friend.