9 January 2006
It's simple, but it says it
Looking at the code to randomly pixelize the Google logo, I'm amazed at how utterly more efficient others' code is than mine [ via Digg ] (and a perfect example of how idiotic Digg comments are). This is always in the back of my mind, but since reading about the 100-line Lisp project that implements Reddit, I've been considering it more. Although much of the efficiency and terseness is in the additional libraries (both examples) and the more compact syntax (Lisp), a simple solution is something to admire and study.
I'm also reminded of the power of C++ (as I'm entrenched in Java). Many of the gee-wiz functional programming techniques used in Lisp (but by all means not all) can be duplicated with some fancy template programming (for example, using Alexandrescu's generalized functors). I still have template programming stuck in my head and have not had the opportunity to use Java's generics.
- Techniques after using Swift for a month posted by sstrader on 26 August 2015 at 11:41:51 PM
- Some thoughts on Ruby after finishing a week (minus one day) of training posted by sstrader on 15 December 2011 at 8:59:30 PM
- Links on the singleton pattern posted by sstrader on 9 December 2011 at 9:19:50 AM
- Phonebot posted by sstrader on 29 October 2011 at 6:37:05 PM
- The labeled break in Java posted by sstrader on 4 September 2011 at 11:27:56 AM