HackerTrans
TopNewTrendsCommentsPastAskShowJobs

frbaug

no profile record

comments

frbaug
·há 3 anos·discuss
Crypto is life saving in countries with unstable currencies/bad governments
frbaug
·há 3 anos·discuss
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!