HackerTrans
TopNewTrendsCommentsPastAskShowJobs

kkdaemas

no profile record

comments

kkdaemas
·5 वर्ष पहले·discuss
So... they double-down on a poor proxy of effectiveness on the job?
kkdaemas
·6 वर्ष पहले·discuss
I don't claim that this technique is impossible in OOP; it's just not as natural without discriminated unions and match expressions.
kkdaemas
·6 वर्ष पहले·discuss
You could draw an analogy that monads are to text as defunctionalization is to an AST.
kkdaemas
·6 वर्ष पहले·discuss
I might explain this concept to OOP-minded programmers like this:

Sometimes, you can improve your code by having it return a description of what to do, rather than doing the thing directly. This is like in SQL where you might return a query plan, rather than executing a query. Once you have this description, or plan, you can analyze, transform and inspect it before passing it to some execution engine that actually does the work.