Played Challenges
Cleanining up 80 column concatenated text - 203 entries
1. Put the whole query on one line, remove the concatenation operators 2. Remove the double spaces that appear a few times in the query 3. Use string-interpolated variable statementPid rather than the ugly concatenation
- Best score: 31
- Best player score: 33
- Position: #19 / 79
- Number of attempts: 3
Aligning function arguments to match a specific coding style - 247 entries
Most projects have specific coding style guidelines. In this case, the argument list must be broken into a new line for each argument, with the argument names right aligned, taking into account pointers.
- Best score: 16
- Best player score: 17
- Position: #24 / 71
- Number of attempts: 3
replacing each line of a block selection - 3001 entries
replace each line's ../assets/js with /javascripts
- Best score: 18
- Best player score: 22
- Position: #426 / 778
- Number of attempts: 6
Append semicolon after expressions - 1056 entries
Some lines need the semicolon, some don't.
- Best score: 11
- Best player score: 11
- Position: #13 / 419
- Number of attempts: 3
Reverse and double space - 500 entries
Reverse the order of the given lines and double space everything
- Best score: 14
- Best player score: 14
- Position: #32 / 199
- Number of attempts: 4
un-C-escape string - 58 entries
Convert escape sequences to characters
- Best score: 12
- Best player score: 12
- Position: #27 / 52
- Number of attempts: 1
The meaning - 575 entries
Numbers are fun!
- Best score: 5
- Best player score: 5
- Position: #113 / 363
- Number of attempts: 1
It'ss tooo coold too typpe todaay - 224 entries
My hands are numb with cold. It's hard to type correctly.
- Best score: 16
- Best player score: 24
- Position: #86 / 98
- Number of attempts: 1
Reformat long lines - 358 entries
Rearrange this ruby method call to put each parameter on its own line. Could become a useful macro.
- Best score: 15
- Best player score: 15
- Position: #15 / 134
- Number of attempts: 4
John Dahlström
Twitter: @dahlstromjohn
Frilansande programmerare som tycker det är kul att slänga ihop nyttiga scripts på fritiden.