We started new year 2016 with biannual ServiceRocket Engineering hackaton event, which is really awesome week for us! We would spend a week to turn an idea into a working prototype in a week time.
I'd like to share my work on writing JavaScript DOM unit testing on a existing codebase in one of our Confluence plugins.
I've been working on developing this webapp project. Basically, we break the logical parts of the code into entity layer, service layer and UI layer. The data structure is not that complex, so we thought that we use Hibernate ORM to do its magic. All the plumbing works between these layers were managed via Spring dependency injection.
I just recalled an interesting theory mentioned by my C lecturer back in uni days, use ++i instead of i++ in a for-loop.