> "north" is definitely a piece of text in JSON, however we don’t necessarily think about it as arbitrary text. Indeed, the common case is that direction will contain one of many pre-defined values, and the use of text here just makes it easier to communicate
1 comment
[ 6.2 ms ] story [ 37.9 ms ] threadWe call that "stringly-typed code", and it's an anti-pattern. https://wiki.c2.com/?StringlyTyped