Avatar

Buttons

Buttons@programming.dev
Joined
2 posts • 7 comments
Direct message

If that doesn’t work, sometimes your computer just needs a rest. Take the rest of the day off and try it again tomorrow.

permalink
report
reply

When the UI itself is created in the game engine UI, and everyone is allowed to contribute and modify, I guess things like this happen.

permalink
report
parent
reply

I want to make a short film / animation where aliens are approaching earth, the only thing we know about the aliens is that they plan to destroy all life and replace it with their own twisted creation. A few minutes of typical story follows, heroes assemble, go to fight, etc. The heroes lose and the ending scene shows that the aliens have succeeded and replaced all the diverse life on Earth with a perfectly manicured lawn that covers the entire planet. A biological wasteland.

permalink
report
reply

I agree. 100 lines of code may be 3x better than 300 lines of code, but 1 line of code isn’t 3x better than 3 lines of code.

permalink
report
parent
reply

Shorter code is almost always better.

Should you use a class? Should you use a Factory pattern or some other pattern? Should you reorganize your code? Whichever results in the least code is probably best.

A nice thing about code length is it’s objective. We can argue all day about which design pattern makes more sense, but we can agree on which of two implementations is shorter.

It takes a damn good abstraction to beat having shorter code.

permalink
report
reply

The turned the lights on so bright that one guy had to squint, makes him look like he’s smiling.

“We have ways of making you smile…” – The police mugshot guy probably

permalink
report
parent
reply