Better HN
topnewbestaskshowjobs
Log inSign up

enum

514 karma · joined Apr 7, 2009 (17y ago) · 96 submissions

https://github.com/arjunguha
Submissions

comment 17y ago · link · parent

"I thought laziness was the New Python 3.0 Way, but apparently the New Python Way is susceptible to hairy non-local bugs."

You're using "laziness" in a language with mutation. What do you expect?

comment 17y ago · link · parent

If you're willing to understand the program behind the proof, I think it's more acceptable than a handwritten proof.

comment 17y ago · link · parent

My experience with motion-control running shoes quite different from what the article reports. My knees stopped hurting once I switched to them.

comment 17y ago · link · parent

How about something akin to X-expressions as often found in Lisp/Scheme. For example,

http://docs.plt-scheme.org/continue/index.html#(part._.Rende...

comment 17y ago · link · parent

Lambda is fine. The loops are mutating the variable i, so all the lambda share the same i. Apparently, list comprehensions also use mutation--I suppose that's fine.

comment 17y ago · link · parent

Agreed. It's what you make it.
1234