Live data from Hacker News

Gamedev in Lisp. Part 2: Dungeons and Interfaces

gitlab.com

1–10 of 68 posts

Re: Gamedev in Lisp. Part 2: Dungeons and Interfaces

#9
post #7

The event loop is brilliant example for how much `loop` is a full blown iteration DSL... love it or hate it ;)

I used to scoff at it at first, but after a few years of CL programming loop is one of my favourite CL constructs :)

I'm with you there. Is a bit of a mind bend, as I really disliked it the first few times I saw it.

For an even sillier mind bend, I'm using tagbody to be able to directly transcribe some of Knuth's algorithms as I am learning them.

Re: Gamedev in Lisp. Part 2: Dungeons and Interfaces

#10
post #9

Earlier quoted context omitted.

I used to scoff at it at first, but after a few years of CL programming loop is one of my favourite CL constructs :)

I'm with you there. Is a bit of a mind bend, as I really disliked it the first few times I saw it. For an even sillier mind bend, I'm using tagbody to be able to directly transcribe some of Knuth's algorithms as I am learning them.

I don't understand why turning a simple loop into a 'mindbend' is considered good. The downfall of programming is complexity, if you're getting your mind blown by a loop how are you going to do the rest of the program?
Post reply on HN