More Thoughts

Brujo Benavides
1 min readNov 9, 2016

(Added after some exchange with readers)

It’s important to notice as u/tdammers correctly points out in reddit that the idea is not to replace every single literal in your code:

Not all literals are configuration settings. Sometimes, the empty string just means the empty string, literal 0 is just zero, and the magic four-byte sequence that identifies a certain file format is just that.

You have to apply this technique (as any other) judiciously.

--

--

Brujo Benavides
Brujo Benavides

Written by Brujo Benavides

Father / Long Distance Walker / Erlanger @ NextRoll / Trainer @ EEF - https://about.me/elbrujohalcon

Responses (1)