When is it right to make code less efficient?

Best Codes - Dec 15 '23 - - Dev Community

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
}
Enter fullscreen mode Exit fullscreen mode

v.s.

action
action
action
action
Enter fullscreen mode Exit fullscreen mode

)

Post your opinion in the comments below. Thanks for reading!

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .