Похожие чаты

In these examples with one-liners "read this property" or "write

this property" we have great readable code. Why do you think that it's bad that for example def textInFile = file.text reads whole file into memory and interprets it as a ut8 string in it's getter?
From OOP standpoint, class "File" has "text" property. And it's implementation requires to do all that not simple and not straightforward logic. This property implementation has nothing to do with private fields at all

1 ответов

8 просмотров

CAPTCHA! Are you an A.I 🤔? coz you're so good at explaining this stuff.

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

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

я не магистр хаскеля, но разве не может лейзи тип конвертнуться в не-лейзи запросив вычисление содержимого прям при инициализации?
deadgnom32 λ madao
100
в сях есть множество как в питоне? для удаление дубликатов
Linus
25
зеленые ноты вижу, а коричневые?
οἰφέω σκάπτω
19
If arrr gets implemented on cake wallet. Would that mean arrr/xmr swaps possible in cake wallet like atomic swaps on komodowallet ?
Keks Meister 🏴‍☠️
22
Yeh scammer hai kya ? 🙄 mujhre bhi solana invest ke liye bol re thi kal
Amit
17
читать файл максимально быстро? странный вопрос))
zamtmn
53
30 BCH videos in Hausa Language successfully delivered. In December 2023, I created a Flipstarter to produce Bitcoin Cash videos in the Hausa language for greater outreach an...
Munnir
5
@AMP_Whale do we earn anvil inu for staking it for 4 years?
Drunken Barbie
12
Уважаемые. Вопрос. Есть ПС (рязань 5600Г+4060Ти). Запускаю игры, через усб карту захвата сигнал "забираю" на ОБС, установленной на Эйр м1. Всё это добро передается на твич, в ...
UglyKoyote
8
Hi. Is there something wrong in koala wallet or is it just my new phone? Balance is 0.00
Jani Ginman
12
Карта сайта