Joined November 2011


Freelance Software Developer & Consultant
Hamburg, Germany

In todays world, it gets even simpler:

var a = 4;
var b = 2;
[a, b] = [b, a]


Yes, you're right. There was a typo in the second jslint comment. I fixed it.


I believe the best way would be, to change it the user preferences of the SublimeLinter Package. You can find it under Preferences > Package Settings > SublimeLinter > Seettings - User

There you it can look like this one (example using rbenv):

    "ruby": "~/.rbenv/shims/ruby"

There is none. At least not in the traditional (or good way) of coding. If you start golfing your code (maybe for some 140bytes competition, that neat little trick can be of use.

And some people like to have a concise solution.

But basically I was like sharing that. ;-)

Posted to Set up a Mac for Ruby Dev over 1 year ago

I also created a whole new working Mac environment, and decided to use babushka for it. The cool thing about babushka is, that it is basically only one step to install everything I need to work on a new machine. And you can share the recipies.

Of course, you could also symlink it into the /usr/local/bin directory, so you would not need to put anything into the .bash_profile

Posted to Consider subqueries instead of joins over 1 year ago

I like that one, especially the downgrading of the performance issue makes this tip interesting.

Yes, and there it is essential, that you only see problems, that really are problems, else you are either distracted due to many false problems or you simply start ignoring them. It's like failing tests.

Posted to Use cane to measure code complexity over 1 year ago

If you want to a list of all items, --abc-max 1 may be good, but most of the time you would only have time to look at the most complex methods, so every method is in bigger projects a bit of an overkill.
But that depends one what you want to achieve.

1,693 Karma
174,176 Total ProTip Views