Hidde-Jan
Member since Jan 28, 2011
- Profile: /members/7691-hidde-jan.htm
- URL: http://hidde-jan.nl/
- Comments: 3
Recent Blog Comments By Hidde-Jan
-
Seven Languages In Seven Weeks By Bruce Tate - What An Adventure
Posted on Jan 28, 2011 at 3:38 PM
@Ben Before I started programming in Pyhon I did a lot of PHP and I had no idea about the power of this stuff. Python's list comprehensions just make me smile :D >>> [(x, chr(x + 97)) for x in range(6) if not x % 2] [(0, 'a'), (2, 'c'), (4, 'e')] What makes ColdFusion special f... read more »
-
Seven Languages In Seven Weeks By Bruce Tate - What An Adventure
Posted on Jan 28, 2011 at 3:13 PM
@Ben Yeah :) Like you, I also started learning Haskell this week and I really like the idea of defining what something is rather than saying how something should be computed. It feels really mathematical, which, for me, is a big plus. From all the languages displayed here, I'm partial to Python an... read more »
-
Seven Languages In Seven Weeks By Bruce Tate - What An Adventure
Posted on Jan 28, 2011 at 2:25 PM
soAdj :: String -> [String] -> [String] soAdj adj names = [n ++ sentence | n <- names] where sentence = " is so " ++ adj ++ "." > let names = ["Ben", "Wilkins", "Mike", "Seth"] > soAdj "serious" names ["Ben ... read more »