developer rant, programmatic variable names 

Creating variable names constructed out of other variables, like
FOO_$bar = 'qux';
is just wrong.
Nothing like trying to find where FOO_BAZ is assigned and finding that the one place its used is the only place in the entire code base where it appears as plain text. A guy can take only so much indirection in the code.

· · Web · 0 · 0 · 0
Sign in to participate in the conversation

The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!