A
A
anmipo2011-11-23 16:59:52
Java
anmipo, 2011-11-23 16:59:52

Do you remember the name of the antipattern?

I want to send beams of "joy" to colleagues who give data as a string (a la
" timestamp ; int1 ; double2 -%- int3 ; boolean4 "), instead of putting it all in a good old Java object.
The only thing that was found was String Obsession anti-pattern , but nothing else is found for "string obsession".
Does this abomination have an official name?

Answer the question

In order to leave comments, you need to log in

4 answer(s)
[
[email protected]><e, 2011-11-23
@anmipo

String typing (Stringly typed)?

K
kreativf, 2011-11-23
@kreativf

Maybe you mean CSV (comma separated values)?

A
anmipo, 2011-11-23
@anmipo

Found in Effective Java:

Item 50 : Avoid string where other types are more appropriate

On StackOverflow this is called " Stringly Typed " or "String-oriented programming".

A
Anatoly, 2011-11-23
@taliban

They invented JSON's grandmother =)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question