HNHacker News
TopNewBestAskShowJobs

zouhir37

1 karma · joined January 11, 2017

submissionscomments
zouhir37··on Ask HN: Reading another developers code
Here's how I tackle it:

- if there's good unit tests, I immediately feel more comfortable and confident as nothing can explain the code and behaviour more than the test suit.

- if there's no Tests, but can allocate sometime to think and write tests. that's the best documentation you'll ever provide and benefit from.

- With better languages debuggers things are easier, logging to the console keeps to make me win quicker in some cases!

- Really long comments are confusing sometimes. and might make things more complicated than simple.

- Time will help you get everything. The more time you allocate to focus on the codebase you'll find yourself more familiar. If you have time, make sure you don't stress yourself and stare at it too long. take breaks do other things and come back to it once you brain is cleared.

- before you build on top: Once you understand most the ins and outs, try to burn down bugs before building on top.

finally - it is OK if you don't know 100% of the code. no one can easily know a whole code base they didn't write!

zouhir37··on Ask HN: Reading another developers code
good find
zouhir37··on Are WhatsApp group a real pain?
They actually are if the mute for a long time was not available. I have muted multiple groups as I can't keep up and all good. but be careful when exiting a group, that might make you look like a 2nd class citizen when you catch up in person after that!