Live data from Hacker News

Haskell Live: A Live Coding Adventure

haskelllive.com

1–10 of 40 posts

Re: Haskell Live: A Live Coding Adventure

#4
post #3
post #2

What is the editor / configuration used in the video ?

Looks like tmux + vim, using the Solarized Dark theme.

I gathered the vim part. Is he pressing a separate key to run the stuff in the lower-right window or is there a vim hook to do that automatically?

Re: Haskell Live: A Live Coding Adventure

#5
post #4
post #3

Earlier quoted context omitted.

Looks like tmux + vim, using the Solarized Dark theme.

I gathered the vim part. Is he pressing a separate key to run the stuff in the lower-right window or is there a vim hook to do that automatically?

For that I think he's using Guard (https://github.com/guard/guard/)

Re: Haskell Live: A Live Coding Adventure

#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. Why? Oh, that's why."

I can easily reread some parts. I can easily skim back/forth. While with the video, I don't want to hear the person more than twice, usually. The voice becomes annoying for the third time you hear it.

I feel that videos work great for demonstrating a language. I can never actually learn any language from a video tutorial.

(If you will bring the analogy of lecture - yes, this is partly true, but good lectures should be somehow interactive. The lecturer asks students, they can ask the lecturer back.)

Re: Haskell Live: A Live Coding Adventure

#9
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 actually enjoy these types of videos. I think actually typing stuff off of the video, and sometimes changing it a bit, works best for me. It's even better when you watch the video once, get the gist of it, then try to rewrite the whole thing.

And it's plain faster. Having this tutorial in text will probably take you more time to read than you could have saved copy pasting.

Re: Haskell Live: A Live Coding Adventure

#10
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…

> First, it's difficult to google/copy-paste

That's a feature! No seriously. Among an august audience like HN people might have more discipline to properly grok the code they're copying, but I know of plenty of places where people will just copy and paste disparate chunks of tutorial code into their editor then start randomly changing lines and variables (with a hundred questions demanded of the poor folks in some irc channel) until it sort-of-but-not-quite works. Forcing people to write it from scratch, having had the construction demonstrated, seems to aid the mental digestion of the code much better. That's just my anecdotal experience anyway.

Post reply on HN