a thoughtful web.
Good ideas and conversation. No ads, no tracking.   Login or Take a Tour!
comment by dingus
dingus  ·  3373 days ago  ·  link  ·    ·  parent  ·  post: A nice problem from SICP

oh, but brute-forcing it is cheating.





briandmyers  ·  3373 days ago  ·  link  ·  

Nonsense! The rule is always, "Get it working first, then optimise - but only if necessary!"

But there are several simple optimisations possible, I freely admit :-)