» Jease » Blog

JRebel - Have one's cake and eat it!

I've started developing web-applications with PHP about 10 years ago...

  • What I really liked about PHP-development: edit your source, save it, reload the page in your browser and see instantly what you've done.
  • What I really hated about PHP-development: edit your source, save it, reload the page in your browser and see instantly what you've done... but I didn't see that my change (maybe a small refactoring) broke some dependency in a complete different page which threw an error at runtime after moving the application into production.

So PHP-development was love & hate combined into one: I really loved the quick turnarounds, but I hated the missing support from a compiler which could tell me in advance that problems might be ahead... so I usually didn't do any refactorings, because it simply meant lots of problems and the code grew and became a spaghetti mess over the while which was even harder to change and so on... a vicious circle.

PHP: quick turnarounds, but constantly growing spaghetti code...

Since I moved into the Java-universe many years ago, I really enjoy all the IDE & compiler support which comes with type-safety everyday. Refactorings are a no-brainer and a constantly growing (and changing) code base is always in a very good shape, because it is so easy to keep your code clean... making a change which wouldn't work because of a simple typo or wrong method-call is always prohibited by the help of the compiler... Refactoring is pure fun, whereas it was a matter of fear before