Y
Hacker News
new
|
ask
|
show
|
jobs
by
agscala
4861 days ago
Please never, ever do this
1 comments
DanWaterworth
4860 days ago
If doing this is such a bad idea then why is it so easy?
link
jlgreco
4860 days ago
If doing:
#define BEGIN { #define END }
were such a bad idea, then why is it so easy?
link
DanWaterworth
4860 days ago
Maybe the language is poorly designed.
link
jlgreco
4860 days ago
Or maybe the connection between being able to do something and it being a good idea to do something is just in your head.
link
DanWaterworth
4860 days ago
In my experience, making obviously bad things difficult or impossible improves reliability. This idea certainly resides within my cranial cavity, but that doesn't necessarily make it wrong.
link
jlgreco
4860 days ago
How could:
HashMap = HashTable = Map = Table = Dictionary = Hash
possibly not qualify as "obviously bad"? The only reason you've offered up is because it is easy...
link