This version (2017/05/27 13:44) is a draft.
Approvals: 0/1

[11:56:32] * ChanServ sets mode: +o purplefox [14:46:39] * ChanServ sets mode: +o purplefox

[17:26:13] * ChanServ sets mode: +o purplefox [18:46:06] * ChanServ sets mode: +o temporalfox

[19:23:24] <D-Spair> If anyone is around, I could use some opinions… Most of us have heard the quote from Brian Kernighan 'Everyone knows that debugging is twice as hard as writing a program in the first place. So if you're as clever as you can be when you write it, how will you ever debug it?'

[19:24:36] <D-Spair> Well, today I think that I wrote a beautiful, elegant, masterful piece of code… Once it was complete, I was anxious to show it to some of my teammates (who are new to Vert.x AND new to Groovy)

[19:25:03] <D-Spair> As I was about to show it, a little voice in my head said “Don't do it, you'll melt their brain”….

[19:25:53] <D-Spair> So, now, here I am and I wanted to ask some people here to look at the code and tell me if you think that I am being “too clever” at the expense of maintainability/readability.

[19:26:44] <D-Spair> Here are 2 different implementations of the code: AND

[19:27:23] <D-Spair> The first one uses a `switch` statement to apply different transformations to the resulting Map, and the second one uses Closures to accomplish the same thing.

[19:27:48] <D-Spair> I'm concerned that both are too much for my teammates.

[20:10:28] *** ChanServ sets mode: +o purplefox