Clocker was built using the Ruby on Rails (RoR) framework. The Ruby design-paradigm puts a strong emphasis on writing clean and understandable code that doesn’t try and be too clever. During development this philosophy was taken to heart; strong separation of concerns and the single responsability principle were kept in mind for all aspects of the application. Best practices also include a separation of presentation logic from markup. And database tables were thoroughly thought-out to ensure proper referential integrity.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if (strcmp(val, "false") == 0) | |
mAttenuate = false; | |
else | |
mAttenuate = true; |