Coping With Stringly-Typed Code

From DZone Java Zone
March 16, 2017 - 12:01am
Most developers have strong opinions regarding whether a language should be strongly-typed or weakly-typed, whatever notions they put behind those terms. Some also actively practice stringly-typed programming — mostly without even being aware of it. It happens when most of attributes and parameters of a codebase are String. In this post, I will make use of the following simple snippet as an example: public class Person { private final String title; private final String givenName; private final String familyName; private final String email; public Person(String title, String givenName, String familyName, String email) { this.title = title; this.givenName = givenName; this.familyName = familyName; = email; } ... }

Continue reading this article »