Hello fellow programmers!
Today, I made my first post that is solely a discussion. In fact, you are reading it right now!
So, I pose this question to you: When is it right to make code less efficient?
(e.g.
repeat 4 times {
action
}
v.s.
action
action
action
action
)
Post your opinion in the comments below. Thanks for reading!
Top comments (1)
Sometimes, making code less efficient is okay if it makes the code easier to understand or faster to write. It's important to choose what matters mostβclarity or speed. But in big projects, efficiency usually wins to keep everything running smoothly.