“FizzBuzz” code test

Here is my simple answer to a typical test given during interviews class FizzBuzz attr_reader :output def initialize(iterations = 100) @output = (1..iterations).map { |i| fizz_buzz_test(i) } end def fizz_buzz_test(iteration) case when iteration % 15 == 0 ‘FizzBuzz’ when iteration % 5 == 0 ‘Buzz’ when iteration % 3 == 0 “Fizz” else iteration end…

Continue reading →

Mainstream word rant

I’m actually sick of the word “racist”.  You can add the words “diversity” and “tolerance” to that list.  The definitions have been hijacked by the mainstream and dubbed “hate words”.   This is partially correct.  They have become “hate words”, but now they’re used to induce “hate” rather than describe it.

Continue reading →

Unpopular Opinions

We live in an age where “unpopular opinions” can come back to haunt you years later.  Words, in the professional world, seem to be more detrimental to one’s position than infidelities or drug habits. I do believe that is why more and more people are keeping their mouths shut about their particular beliefs.  Well, I’m…

Continue reading →