Live data from Hacker News

Haskell Live: A Live Coding Adventure

haskelllive.com

31–40 of 40 posts

Re: Haskell Live: A Live Coding Adventure

#32
post #27

Earlier quoted context omitted.

I want subtitles to perform their primary accessibility function. How about YouTube annotations?

I had forgotten about annotations, those might be ideally suited for editor and env tips. Honestly, I use Emacs, so I'm not that interested in the vim tips, I just didn't want these to turn into a series of Haskell-with-Vim casts. :) even thought your env does looks pretty slick. Really nice video, looking forward to more!

Yep exactly. I want to keep the videos per se as env-agnostic as possible to not get in the way of the Haskell.

Re: Haskell Live: A Live Coding Adventure

#35
post #22
post #8

I have to say, I generally dislike video coding tutorials. First, it's difficult to google/copy-paste. Second, it just goes against the way I learn new programming languages - I generally read it, then try it, then experiment with it in some other ways, list few pages back/forth, experiment more, fail, then continue. Usually copypasting/rewriting chunks of code. "What happens when I do THAT? Oh, it fails miserably. W…

I appreciate your opinion but I will respectfully point out that I am making these videos for the other set of people who do like video coding tutorials. You should feel free to not watch them if they do not preserve the water-dorsal relationship of your water-going vessel. :)

Congratulations, really good work. Making videos is hard, at least for me cos I'm not native, and they get easily outdated.

For a .Net guy with a little knowledge of Haskell like me, in the video you can show not only the language but the IDE and the programming experience.

Re: Haskell Live: A Live Coding Adventure

#36
Good screencast, there's a mistake regarding the piece colouring though. They're all black because all the characters are lowercase (and I think you meant to make the bottom row uppercase).

It can be verified in the code, and in the REPL when it's being tested.

Re: Haskell Live: A Live Coding Adventure

#38
This is somewhat of a nitpick, but for one thing, writing code that is as obviously correct as possible is important in every language, not just in Haskell. Compositionality is one of the most valuable things we can exploit when programming.

For another thing , the assertion that enumerating all the cases for a given function instead of using a lookup makes the code more obviously correct is somewhat flawed - it violates DRY, which is, like exploitation of compositionality, important in programming in general. Suppose the showPiece function had twice the number of cases. Would enumerating the cases individually or making the assertion that the code is more obviously correct as a result be reasonable?

In my view, you are solving the same problem whether you use a lookup or enumerate the cases individually, and it's not even a very big problem - just put your tokens in the right order.

Re: Haskell Live: A Live Coding Adventure

#39
post #23

Earlier quoted context omitted.

"I can never actually learn any language from a video tutorial." I like video tutorials/screencasts as long as they have the following : 1. Trainer starts with a basic list of topics/table of contents. Nothing fancy but give me an overall overview of what I will learn out of this. 2. A particular topic is taught gradually i.e. by starting with a simpler or even wrong way (as in best practices) and then improving it t…

These are great points and I will do my best to incorporate them in future episodes. Thanks very much for taking the time.

Also, would love to see some explanation of basic Haskell concepts

Re: Haskell Live: A Live Coding Adventure

#40
This looks interesting. I somehow really like Haskell, although I never got around to dive into it. It's one of those languages that I want to learn one day but never have time to. So, watching those videos is kind of showing me how things are done the Haskell way, which is kind of strange for somebody like me who's entirely used to C89 ;)
Post reply on HN