Quantcast
Channel: Everyday I'm coding » workaround
Browsing all 2 articles
Browse latest View live

PHP and Enums

I know that PHP doesn\’t have native Enumerations. But I have become accustomed to them from the Java world. I would love to use enums as a way to give predefined values which IDEs\’ auto completion...

View Article



Ruby: require vs require_relative – best practice to workaround running in...

What is the best practice if I want to require a relative file in Ruby and I want it to work in both 1.8.x and >=1.9.2? I see a few options: just do $LOAD_PATH << '.' and forget everything do...

View Article
Browsing all 2 articles
Browse latest View live




Latest Images