Похожие чаты

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 ответов

2 просмотра

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

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

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

Ready for some fun AND a chance to win TKO Tokens? Join us for exciting minigames in our Telegram group! 🕒 Don’t miss out—games start on today 25 October 2024, at 8 PM! Ge...
Milkyway | Tokocrypto
248
isnt that how its called? lol
Hobbyist
34
------------------------------------------------------------------------------ 📢 MAJOR ANNOUNCEMENT: HSUITE ECOSYSTEM UPDATE 📢 @everyone Dear HbarSuite Community, After month...
Big Stones
3
Здравствуйте, вопрос по структурам данных. Были у вас случаи, когда пришлось писать деревья или двунаправленные списки?
/ /
48
Let's say the current price of BCH is 400$, and average fee for transaction is .1$ If the price jumps to let's say 4000$, transaction fee should be 1$ ? I don't know exactly ...
Mohamed
28
Всем привет! Скажите, никто не пытался уменьшить размер процесса ssl, которые ассоциируется с открытым соединением (не помню точное название этого процесса, но там была какая-...
Алексей
20
а проверьте, собирается ли у кого сейчас транк лазаря через делюкс? у меня вот: fpcupdeluxe: info: Lazarus Native Installer (BuildModuleCustom: UserIDE): LazBuild: building Us...
Iluha Companets
20
Мне тут приспичило встроить в программу форматировние текста SQL, расставить переносы строк и отступы так, чтобы лучше читалось. Я что-то свое изобразил, оно после ключевых сл...
Sergey Bodrov
11
This is a big issue. Just by being a citizen of a country, you are denied to contribute to Open Source software: https://youtu.be/L5Ec5jrpLVk?si=1iIuHnMPbCB4anV-
Sharuzzaman Ahmat Raslan
72
why not complete my galxe task??
Crypto 6827
14
Карта сайта