Re:Education of a Programmer
by emodendroket on Sunday April 02, 2017 @11:52PM
(#14020492)
When people say something is "magic" they don't mean it is literally inexplicable.
[ Parent
| on HN ]
Re:Education of a Programmer
by sbuttgereit on Monday April 03, 2017 @12:32AM
(#14020606)
I'll usually call some technology thing "magic" when I mean to say that something is useful to me, but that its usefulness to me doesn't require me to understand it at any deep level (or even shallow level sometimes). Wifi is kind of like that: very useful to me, I use it every day... have almost no understanding of the ins/outs... it's PFM (pure fucking magic) to me. And I don't have much interest in learning about it more than than I know.... I've got other fish to fry. Same thing about my car's motor: I only know the most theoretical background of internal combustion engines... have me diagnose an engine problem? Ha! Everything in front of the firewall and under the hood may as well been conjured by Merlin himself.
Life is short. I spend it miserly on those things I have to or want to care about and wifi and car engines aren't those things (now).
There is no excuse for not to understand the so called 'magic' even at a very superficial level. There are tons of blogs, videos, how to articles, books etc. Just search on YouTube and I am sure you will understand most of anything in just a few minutes.
The excuse is that there are literally billions of things that one could thrive to understand at least superficially, but the typical human life has only 4500 weeks.
entirely depends on the definition of "understand".
superficial understanding you'll forget in a couple weeks? sure. but nothing more, unless you're some sort of savant.
I hear the words "magic" and "magical" used in the Python community to mean that a particular module or framework does not expose its inner workings and does a lot of work behind the scenes that is not transparent to the programmer.
I feel as though Django is described as 'magic' quite a lot, and frameworks with apparently little magic (like Flask) aren't accused of it so much. The 'magic' trend has carried over to Common Lisp with frameworks like Clack supporting similar 'magic' to Flask.
Re:Education of a Programmer
by emodendroket on Monday April 03, 2017 @09:42AM
(#14022668)
Right, yeah. I mean, depending on your philosophy that might be good or bad, but I don't think it's literally expressing a mindset that "nobody could understand how this works, just don't touch it."
Indeed, I often use the term "magic" to describe something that happens for very arbitrary reasons or through an extremely complex and counter intuitive set of steps. I.e., code that uses gotos, hard-to-understand reflection, or code/language that has a large amount of esoteric assumptions and rules in the background.
Re:Education of a Programmer
by allendoerfer on Monday April 03, 2017 @02:10AM
(#14020915)
I call implicitly executing code magic. It is not like I could not comprehend it, but I should not have to, it should be obvious. I use the word to describe bad interfaces, giving me this feeling of little control.
Big fan of The Zen of Python.