HackerTrans
TopNewTrendsCommentsPastAskShowJobs

meowaway

no profile record

comments

meowaway
·há 4 anos·discuss
It may be correct for some abstract mathematical concept of correct. But suppose your lang care about side effects and you want to track coloring for side effects. And then, it turns out there is a sporadic case where there is a performance regression and you want to do telemetry and produce spans to track the regression.

Now you will want to blow your brains out because you will have to refactor all of your function calls down the chain.

It could get even worse if at some point, you are passing a function to a library/framework and for whatever reason it refuses to tolerate a function of your color (assuming you can't lambda-ize the color). Now you have to rewrite the library. Or use a library that does tolerate it. Which might lose other features or ergonomics.