Better HN
topnewbestaskshowjobs
Log inSign up

frbaug

1 karma · joined Mar 17, 2023 (3y ago) · 2 submissions

hn@baroni.tech
Submissions

comment 3y ago · link · parent

Crypto is life saving in countries with unstable currencies/bad governments

comment 3y ago · link · parent

My biggest pet peeves in the code I'm currently working. It leads to multiple multi-line ternary to keep a single return.

Single Return made sense when we had to de-allocate resources, but there are few years already that most languages have memory safe resource-counted allocations (C++11 for i.e) that will free resources correctly independent of your single/multiple returns.

I don't believe that keeping those inherited "best practices" from the past will help us developing modern code.

Long life to Clean Coding!