This content originally appeared on DEV Community and was authored by Ben Halpern
Let's discuss the concept of magic — what are your opinions?
In the context of computer programming, magic is an informal term for abstraction; it is used to describe code that handles complex tasks while hiding that complexity to present a simple interface. The term is somewhat tongue-in-cheek, and often carries bad connotations, implying that the true behavior of the code is not immediately apparent. For example, Perl's polymorphic typing and closure mechanisms are often called "magic". The term implies that the hidden complexity is at least in principle understandable, in contrast to black magic and deep magic, which describe arcane techniques that are deliberately hidden or extremely difficult to understand. However, the term can also be applied endearingly, suggesting a "charm" about the code. The action of such abstractions is described as being done "automagically", a portmanteau of "automatically" and "magically".
This content originally appeared on DEV Community and was authored by Ben Halpern
Ben Halpern | Sciencx (2022-07-20T19:07:15+00:00) Where do you stand on “magic” within languages and frameworks?. Retrieved from https://www.scien.cx/2022/07/20/where-do-you-stand-on-magic-within-languages-and-frameworks/
Please log in to upload a file.
There are no updates yet.
Click the Upload button above to add an update.