正在加载视频...

视频加载失败

Morning bathrobe rant: late binding.

21,441 次观看 • 1 年前 •via X (Twitter)

9 条评论

Can Vardar 的头像
Can Vardar1 年前

with each rant, he's becoming more logical and also more insane

Luke Skinner 的头像
Luke Skinner1 年前

What’s his end game?

Sandi Slonjšak 的头像
Sandi Slonjšak1 年前

I instantly bind everything into memory. If they ask me why things are slow, I just tell them to STFU and add more RAM.

Dug 的头像
Dug1 年前

Oh dear God... do kiddies today not know what a destructor is?

Ali Khaleqi Yekta 的头像
Ali Khaleqi Yekta1 年前

Late binding ...👄☕️🌬🌬...

Anthony 的头像
Anthony1 年前

I'm glad I understand you and your examples. Made my day. Thanks, Uncle Bob!

Mr. Obnoxious 的头像
Mr. Obnoxious1 年前

The best one so far. Powered by: Letftists Tears 😂

ScottSpadea 的头像
ScottSpadea1 年前

Sounds like Arena Allocators would have solved your problem. Modules/plugins create dependency coupling and obfuscates your code base, making it harder to read. In the modern world, inlined functions that have multiple responsibilities are actually more modular, acting like independent scripts that you could copy into another code base without finding all its dependencies. You can see all the business logic in 1 script, and you can view the entire problem in a way that allows the most optimization potential, and reduces the amount of code you need to keep in your head to understand it. You can see all the side effects, because they are inlined and direct, instead of being hidden away inside function calls. If you want to reduce coupling and create true modularity, there is nothing better than repeating yourself, inlining scripts, and procedurally just solving the problem with as few functions as possible. Then, editing a part of the program, can't break another part, it can only break itself. Clean code is closer to spaghetti gotos, with its indirection and obfuscated code base, hidden among many files, which is actually worse than gotos, which can be reasonable if they jump to nearby sections, jumping out of loops or to the beginning of loops. Gotos are generally easier to follow than clean code object oriented virtual functions. Procedural code isn't spaghetti, its just solving the problem in the most straight forward honest way possible.

Max Azoury 的头像
Max Azoury1 年前

Basically all the functions in all the code you write in C++ game engines are virtual

相关视频