As part of my quest to learn and understand scala better I’ve committed myself to doing a weekly kata and thought it’d be fun to spin it as kata I could share the problem each friday with a follow up of a solution the following week (and even better, allow others to participate too).
I began this morning by searching the the Project Euler site for interesting problems and decided that Identifying Traingle Words would be a good kata to start with.
The kata sounds simple… convert each character in a word to it’s corresponding number value (e.g. 3 for c, 5 for e, etc), sum them together and the word is considered to be a Triangle Word if the sum is equal to a number in the sequence of triangle numbers.
Good luck! Feel free to post solutions here (but try to link to http://gist.github.com for code samples as my blog comments don’t current format code samples).


[...] SInce it’s Friday I’ll post my solution to the previous Scala Kata, Identifying Triangle Words. [...]