-
Book Overview & Buying
-
Table Of Contents
-
Feedback & Rating

Debunking C++ Myths
By :

A few years ago, I led a team that built a few web applications in a language called Groovy with a framework named Grails. Groovy is an optionally typed and dynamic language, meaning that it assigns types at runtime, but you can provide type hints for the compiler. It can also be compiled statically, and since it’s built on JVM, the code ends up in a Java unit.
I had noticed in previous web projects that types were useful at the edges of the system, for checking request parameters, interacting with databases, and other I/O operations. But types in the core of a web application tended to make things more difficult. We often had to change code or write extra code to accommodate new ways of using the already-implemented behaviors, since users of web apps often notice a scenario that is useful and want it to work in other contexts or for other types of data. So, I decided from the very beginning that we would use types for request validation, to ensure...