a thoughtful web.
Good ideas and conversation. No ads, no tracking.   Login or Take a Tour!
comment by syzo
syzo  ·  3384 days ago  ·  link  ·    ·  parent  ·  post: Hubski coding livestream.

Ooo, a chance to look at some Arc





Cedar  ·  3383 days ago  ·  link  ·  

I know right? I'm intensely curious in it and have been reading a few articles but I do not see how to get from (+ 1 1) to a site like Hubski. I'm coming from a Java/PHP/Ruby background so it's really difficult for me to visualise what the code actually looks like, and unfortunately seems I'm late to this party.

So here, an article about The Strange Appeal of Live-Coding.

rob05c  ·  3383 days ago  ·  link  ·  

syzo

If Hubski is a pearl, Arc is the sand.

I do not recommend it. Learn Racket instead. Arc runs on top of Racket. Racket has a great syntax, great library support, including web, and great documentation. Arc has none of those things.

Hubski is moving to Racket.

syzo  ·  3383 days ago  ·  link  ·  

I'm actually still interested in <insert lisp language here> for webdev. How easy is it to get started doing Racket webdev? Any recommended readings?

rob05c  ·  3383 days ago  ·  link  ·  

For the hubski internal API, I mostly used the docs and this.

If you prefer to learn by example (like me), I'd actually recommend the hubski internal API I've been working on. It's a pretty good small example of how to do URL dispatch, JSON, and basic serving. I think I took out the x-expression stuff though. Definitely look into x-expressions. They're flipping awesome.

Cedar  ·  3383 days ago  ·  link  ·  

Mm, I saw about that and have seen some about it (actually I was reading about Pollen and started delving in from there). My problem now is time, I would love to learn some functional programming and see if I will be able to teach it in class, but I think I'll likely be shoe-horned into just using Python or C# or some-such so it's a cost/benefit problem where at the moment the cost seems too high.

rob05c  ·  3383 days ago  ·  link  ·  

Have you considered Go? It's really easy to learn, looks like other Algol derivatives, and has the added benefit of being much easier to teach basic parallelism.

Cedar  ·  3383 days ago  ·  link  ·  

Yeah definitely, it's on my list but my issue is I keep finding new and exciting things to add like Haskell or the many many JS frameworks etc. It's tough to figure out which ones would actually be of use to me, and certainly I don't think any will be of use for the classroom as I think we'll be pressed for time (and this is teenagers who aren't exactly going to be excited for programming in the first place :) )