Re:A terrible schema from a clueless programmer
by ryukafalz on Sunday November 07, 2021 @12:53PM
(#29141711)
How often are you looking at the full contents of a table vs. looking at the results of a query that you could throw an INET_NTOA onto?
[ Parent
| on HN ]
Re:A terrible schema from a clueless programmer
by soheil on Sunday November 07, 2021 @02:07PM
(#29142436)
Many. You also expect me to remember how to spell INET_NTOA and on what fields to use it on. What if I wanted do a quick "SELECT * FROM"? I barely know how to spell English words what makes you think I'm going to remember how to spell INET_NTOA.
Re:A terrible schema from a clueless programmer
by Lammy on Sunday November 07, 2021 @03:29PM
(#29143209)
I realize you’re describing a general problem and not just this particular example, but fwiw NTOA and friends got a lot easier for me once I learned enough that I stopped trying to “remember how to spell” them and started thinking about them in terms of the underlying concepts, like “Network (as in big-endianness) to ASCII”. Learning the significance of the term “address family” was a big clue for me for self-directed learning in this space :)
Re:A terrible schema from a clueless programmer
by mixmastamyk on Sunday November 07, 2021 @05:04PM
(#29143950)
dbeaver CE is free.