Похожие чаты

Can you not abstract without OO?

3 ответов

30 просмотров

Of course you can It's just that OOP is built around abstraction The ideal way to do OOP on paper is you never knowing what's behind an interface, and interfaces are your only access to data It's built entirely around that concept, which is also why when it's actually implemented, a lot of it is ignored

Diego García
Of course you can It's just that OOP is built arou...

I would say not that the "ideal way" but the "idealized way" It is good to be critical of how we do things in game devs, particularly when some performance squeezing may be required. Doing things a certain way because "muh OOP" is not guaranteed to provide either the best API nor the best performance, just an OK API and barely OK performance

Ludovic 'Archivist' Lagouardette
I would say not that the "ideal way" but the "idea...

Yeah I think idealized is a better expression And yup, I absolutely agree Even in less performance demanding scenarios, abstracting everything away gets so annoying so fast C# specifically, kinda tells you not to go overboard For example, when it detects something can be devirtualized, it tells you to do it

Похожие вопросы

Обсуждают сегодня

а через ESC-код ?
Alexey Kulakov
29
30500 за редактор? )
Владимир
47
Чёт не понял, я ж правильной функцией воспользовался чтобы вывести отладочную информацию? но что-то она не ловится
notme
18
any reference of this implementation?
BitBuddha
29
У меня есть функция где происходит это: write_bit(buffer, 1); write_bit(buffer, 0); write_bit(buffer, 1); write_bit(buffer, 1); write_bit(buffer, 1); w...
~
13
Hi guys, any problem with Pulsebrige? Trying to transfer from wETH to ETH. First it tells me to connect my metamask "through mobile app" not desktop. Then I did and confirmed ...
Snowflakecrypto
11
Ⓐrtto, [4/23/24 7:02 PM] Please explain more fully how it is not working exactly, and what are the steps you are taking, and what error messages come or what happens. Ⓐrtto, ...
Ezza Kezza
2
sounds like people have lost their kaspa on tradeogre... does this mean tradeogre not trustworthy?
Ezza Kezza
15
Привет)) уже кажется эту тему перемусолили, но вот я так и не понял. Я сейчас сижу на 27дюймов 2к мониторе. На Актуальной макоси, если я куплю 27д 4к монитор: - будет ли изобр...
Vladislav Piskunov
11
Страшнейшая правда про списки ЦБ. С первых дней жизни P2P сферы, молодые человеки, начитавшись законодательной базы и "внутренних" документов, решили, что им противостоит сер...
Foxcool
3
Карта сайта