Today I Learned - Rocky Kev

TIL YANGI principle

POSTED ON:

TAGS:

YANGI principle: “You aren’t gonna need it” or don’t codify more than you’ve been asked to. Don’t anticipate the future, and just create something that works as soon as possible. Code only the necessary parts to solve the current problem.

Via
https://medium.com/swlh/40-tips-that-will-change-your-coding-skills-forever-bf9d6b936ccc?utm_source=pocket_mylist


Related TILs

Tagged:

TIL Indirection and Swallowing the error

Op shared a tryCatch util that is problematic.

TIL reusing variables

Do not reuse variables. Do not double define variables that represent the same thing.

TIL about semaphores

A semaphore limits access to a resource to some number of consumers. Any new requests for the resource will get stalled until later, eventually to be handled.