Sometimes, the elegant implementation is just a function

edA‑qa mort‑ora‑y - Dec 15 '18 - - Dev Community

““Sometimes, the elegant implementation is just a function. Not a method. Not a class. Not a framework. Just a function.” - John Carmack

This week we discuss this sage advice from John Carmack. We both agree on it, at least in principle, but we still discuss its relevance. Feel free to argue with us, we'll be happy to prove you wrong. :P

play pause Edaqa & Stephane Podcast

This perhaps relates to our last episode about lasagna code. A lot of code is simply overly complex -- there's too much overhead and architecture to accomplish something simple.

I find it unfortunate that some languages, ahem Java and C#, don't even offer global functions.

What do you think? Is a plain function sometimes the right thing to do?

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Terabox Video Player