General statistics
List of Youtube channels
Youtube commenter search
Distinguished comments
About
p11
Kantan Coding
comments
Comments by "p11" (@porky1118) on "The 3 Laws of Writing Readable Code" video.
1:55 I hate this. I try to avoid && and || wherever I can. It usually makes code more complicated. Sometimes even if I have to return the same value at multiple places. 2:50 And now it gets worse and worse. Putting stuff into new functions isn't always better. I usually don't do it if I don't reuse it. But sometimes I do it if it allows me to do more early returns, which wouldn't be possible otherwise.
1