General statistics
List of Youtube channels
Youtube commenter search
Distinguished comments
About
Mikko Rantalainen
ThePrimeTime
comments
Comments by "Mikko Rantalainen" (@MikkoRantalainen) on "I Learned Haskell In 15 Years" video.
15:55 The idea that DOM is so slow that you can run javascript to emulate the tasks that DOM is supposed to do in C++ code is a long term plan sounds a bit weird idea to me. Unsurprisingly the browser native implementation of DOM has gotten much better during years.
17
33:33 One programming language worth learning enough to fully grasp its design-by-contract feature is Eiffel. I think that language has even less real world use than Haskell but the design-by-contract feature is obviously useful in any language, even though Eiffel is the only language with full native support for it. Other languages use assert()s to emulate the missing feature.
10
7:27 "I am always a rebase guy because I properly know how to use use git." Amen, brother!
5
I first tried to learn Haskell circa 2002 during my CS studies in university. I decided to start learning to program with Haskell as a weekend project about a month ago. I was able to write a simple web server but failed to accept binary uploads because I was using string types that weren't binary safe. Some part of my program was silently dropping null bytes from the uploaded files! After finding out that Haskell has a lot of different binary string types and no automatic type coersion between string types I lost interest trying to debug my hobby project and moved forward because I was already able to figure out that the library functions I had to use were going to require use of different types for nearly every task. I still consider the effort/time equation of learning to use Haskell pretty bad. Rust seems a much better language to learn if you don't know either today. I think it's still good idea to learn some Haskell, similar to many other languages, because the more languages you know, the better programmer you'll be overall. And I still don't understand how people are supposed to figure out bugs in Haskell programs. You cannot even easily print to log messages or data from any random location in the code because writing to log would be a side-effect and changing every function signature to allow passing log related stuff just to debug the code seems like huge pain in the butt.
2
@TapetBart Interesting... I tried to look for some examples but ATS code seems practically unreadable for me so I didn't understand how the design-by-contract feature would work if that's indeed supported.
1