KenKen Solver: Online!

I ported the Python KenKen solver I was playing with last week over to JavaScript, and wrapped a GUI around it. You can check out the resulting web-based KenKen solver, if you’re interested.

Bibliography

I’ve written a lot of articles about the KenKen solver; here’s a concise listing of them.

JavaScript vs. Python

I’ve always been partial to JavaScript, but I’ve been soured on it by this porting project. Little things like the lack of (true) associative arrays, and big things like the lack of list comprehensions, seem to make JavaScript awfully clunky compared to Python. (I speak here of JS as it actually exists in browsers, not as it might exist, in more sophisticated forms, elsewhere.)

Toolkits such as MochiKit do seem to help somewhat, but I can’t say that programming JS is fun in the way that programming Python is. The language always seems to be a little wordier than necessary.

Of course, your mileage may vary. And I’m still a big fan of JSON, and wish Python had JS-style support for object literals.

Share and Enjoy:
  • Twitter
  • Facebook
  • Digg
  • Reddit
  • HackerNews
  • del.icio.us
  • Google Bookmarks
  • Slashdot
This entry was posted in Projects, Python. Bookmark the permalink.

Comments are closed.