JavaScript objects My way

This is not a tutorial and I do not take full responsibility for the theory written here, this is just a post for myself, so that I don’t forget ūüôā

You’ve probably worked with some OOP language in the past. You probably know how the typical syntax of OOP looks in any language (well in the most popular ones at least) . It looks something like this:

class MyClass {
  // The constructor
  public function MyClass(){

  // Some private method
  private function _someFunction(){


Well JavaScript is one kind of a different beast.

Continue reading “JavaScript objects My way”

Smart Phones and left/right-handedness

So what am I talking about here, is that our so-to-be symmetrical devices are also affected by left/right-handedness.

I was playing around with my iPhone this one day and somehow I started to notice, that whenever I turn the screen to landscape mode I always turn it the same way I always do. Most of the games support landscape mode in both directions (just turn it around 180 degrees and the view will rotate around), until I opened this one game called Uber Racer, which¬†immediately started upside down (according to position I was holding my phone). I tried to shake my phone, wondering if maybe the accelerometer was stuck or something, but then I realized that the game was programmed that way and I had to turn it around to play it. At that point I realized, how important it is to be able to turn the view in to current phone orientation, as it didn’t feel right for me.

So what am I talking about here, is that our so-to-be symmetrical devices are also affected by our left/right-handedness. I myself am a right-handed person, and I noticed that I always tend to use my left hand to hold the phone and my right hand to navigate on the touch screen (or press the home button). Also when I turn the phone, I always tend to turn it counterclockwise while holding the bottom of my phone with right hand and the top or back with my left. Is this just a coincidence or is it leading somewhere?

So here is a little poll I’d like to propose:

  1. Are you left/right handed?
  2. Which direction do you mostly turn your smart phone (tablet)?
  3. Does it annoy you if you have to turn it the opposite way than you usually prefer?

Every developers dream, part2

In the first part I laid out my idea of dreaming about wonderful life, and not being afraid to express your dreams to others, although they might never come true. In the second part I would like to go more deeply into my dream of super-language – the one programming language to rule them all. Let the inception begin…

Continue reading “Every developers dream, part2”

Every developers dream, part 1

One language to rule them all!

I think I am not the only one having¬†these¬†dreams of a¬†wonderful world where everything works the way you’ve thought it out. The only problem is that it will probably never come true, but why can’t we dream about it. So here is my list of things I’d like to change in the world to make it run my way…

Continue reading “Every developers dream, part 1”