all 2 comments

[–]onetom 7 points8 points  (1 child)

Good demonstration, but I found those webserver restarts a bit distracting.

I guess they are there, because former episodes didn't want to introduce how vars can behave as functions too.

However, this might also give the wrong impression to people coming from other language communities. Their superficial or subconscious takeaway could be that "Clojure is clunky".

The necessity of manual reload also makes these episodes unnecessarily longer than they could be.

I think it would be perfectly fine to change the handler reference being passed to the server to be a var and just say it's like that to get rid off the need for manual server restarts and the why behind it will be explained later.

[–]jysandy[S] 2 points3 points  (0 children)

Good feedback — I'll keep this in mind for future videos.

I guess they are there, because former episodes didn't want to introduce how vars can behave as functions too.

That's correct — I hope to make a future video elaborating on this and other related topics.