I started looking with Logitech and Razer (the only two brands making high quality peripherals that I knew about). And I almost chose the Razer Deathstalker Expert.
It seemed like a nice choice. The reviews were good. I could squeeze all of its basic functionality on Linux (but no macros, probably no backlight control etc.). However I encountered this post on Phoronix and I learned about a German manufacturer called Roccat. Apperently they also build high quality peripherals but you can get proper Linux support, through open source drivers.
I didn't hesitate long and chose the Roccat Isku.
So after finally getting my device and using it for a couple of days, I'm really, really happy. Not only it is a very good, very responsive and very comfortable keyboard but I can also fully customize it using a graphical tool.
So I hooked up my NetBeans shortcuts and it works like a charm. Auto complete, refactoring with a press of a single button. Pure awesomeness.
I am yet to do any serious gaming with it. But for a programmer it is a great device. I will definitely be recommending it to anyone.