4 ms·
Uncommon solulutions are done better with uncommon tools.
by javcasas 2y ago
Uncommon solulutions are done better with uncommon tools.
- belter 2y agoCompetitive programming demands tight control over execution time and memory attributes best served by languages that offer strict evaluation and low-level data manipulation. Haskell has lazy evaluation, what can lead to unpredictable performance and space leaks. Monads are abstraction layers...
- javcasas 2y ago> Monads are abstraction layers... So is everything. BTW, read the article. No monads in there, unless you believe monoids are monads.
- belter 2y agoMy argument is about the practical trade-offs in competitive programming and Haskell being the wrong vehicle for it.
- javcasas 2y agoWell, it depends on how you measure competitive programming. I think for measuring it in O() terms - as every paper out there on data structure does -, Haskell is quite good for the task.