Похожие чаты

I can tell you why: it encourages the programmer to

organize their code into units (objects) that sound nifty but are usually not descriptive, or even that well related, to the work the computer actually needs to do and in that way serve as a distraction from that actual work and the understanding of it.

How bad is that? Well, it's not like you can't program like that but it's pretty lame. It's like reading a book with the author telling you how he's feeling while he's writing it or whether he needed to scratch his ass at the time all over the place. It's just better without it.

Also OOP just doesn't deliver on it's promises. I think newbies feel like the objects represent good modules that are flexible and provide good benefits to the programmer but good modularity is only as good as a module can represent something real and objects are nearly always a poor representation of the reality they claim to be.

There's more reasons than that but that's enough for a start

6 ответов

11 просмотров

So how do you program, do you use a particular paradigm?

Chiyando- Автор вопроса
. .
So how do you program, do you use a particular par...

That's a big question. I'll write up a longish answer for you over some time

Chiyando- Автор вопроса
. .
So how do you program, do you use a particular par...

I probably won't get back to you actually. It takes too long. But let's just say this: I like type checking. I like pure functions. I like unit tests. I like designing around the actual data that's needed. I like assertions (design by contract). I like actually creating designs of the software before I start coding. I like building prototypes for testing uncertain things

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

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

а через ESC-код ?
Alexey Kulakov
29
30500 за редактор? )
Владимир
47
Чёт не понял, я ж правильной функцией воспользовался чтобы вывести отладочную информацию? но что-то она не ловится
notme
18
У меня есть функция где происходит это: write_bit(buffer, 1); write_bit(buffer, 0); write_bit(buffer, 1); write_bit(buffer, 1); write_bit(buffer, 1); w...
~
13
any reference of this implementation?
BitBuddha
29
Ⓐ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
Страшнейшая правда про списки ЦБ. С первых дней жизни P2P сферы, молодые человеки, начитавшись законодательной базы и "внутренних" документов, решили, что им противостоит сер...
Foxcool
3
Недавно Google Project Zero нашёл багу в SQLite с помощью LLM, о чём достаточно было шумно в определённых интернетах, которые сопровождались рассказами, что скоро всех "ибешни...
Alex Sherbakov
5
So much speculation in the last week. So much volatility in price. This is because Hedera has a GC that isn't using the network it's governing. Why aren't people asking why a...
Summit Seeker R
9
Карта сайта