Thursday, November 5, 2015

Framework Kool-Aid

It was bound to happen again.  I despise Web frameworks with a passion as I hate the over-abstraction; the bloat and the complications with too many libraries that one has to learn.

The last framework I started building was in PHP as Zend, Cake and CodeIgniter were so built-out and I didn't want all their features:

https://github.com/crh3675/surf-for-php

I never had enough time to make anything of it, but I believed strongly in the concepts.  I wanted to build something that made it easy for those unfamiliar with MVC to have a transitional route.  Surf did exactly that.  Perhaps it wasn't run-of-the-mill or well documented but I built many good projects with it.

Well, now I am at it again, except my language of choice is NodeJS (love it).  I am a lifelong Javascript guy - I can do anything with Javascript and it has done great things for me!

Long story short, here is the new framework I am building:

https://github.com/crh3675/nodeii

I still have more to do before a Beta release but as I stated earlier, I believe in the concepts and the easiest way to demonstrate concepts is to actually "do them".

Like it, love, hate it, despise it, any comments welcome.

Tuesday, November 3, 2015

Code Reviews Need "Mood Tags"

Have you ever had the job of commenting on another developer's code? If not, it is actually painful if you have strong opinions on some items and are candid and silly for others. The most difficult aspect of code reviews are the perceived implications and inflections in the tone when writing your:
  • Subjective comment
  • Rude comment
  • Haha funny comment
  • Just talking smack comment
We have emoticons and other ways we communicate with social media platforms, why not with Code Reviews? I find myself sometimes writing code reviews and then saying to myself, "Gee I sound like an asshole".  Or even, "I don't think I expressed that opinion the correct way."

However, if I was able to "tag" my own comment as "Asshole Statement", the recipient would at least know that I accept full knowledge that my comment was "ass-holish". We should have the ability to tag our code review comments as we do with emoticons nowadays.

We need tags/emoticons such as:
  • Idea - Recommendation (Here is a cool alternative)
  • Strong Opinion (I am Jedi master and have the "right; solution)
  • What Were You Thinking? (Your code makes no sense to me, spaghetti all over)
  • Alternate Solution Proposed (Good job, here is a more efficient way though)
  • Should Fix This At Some Point (It works but might cause unforeseen issues)
  • Critical Oversight (Oh snap, what about the fib in the fab on the fob with the flip?)
  • Your Code Sucks (WTF is that? You need skillz assessment)
This would eliminate any inflections in perceived written tone and give the recipient at least a notion that the reviewer is trying to convey their writing or lack-of writing skills in a certain mood.

 Just my thoughts.