lolihokage's gallery
Telegram
Ijon Tichy in Чат* ([не]большое [не] хорни [экстремисткое] комьюнити)
А если не хотите, не будьте сильными и не сияйте, только вам решать.
👍1
#prog #article
Encapsulation Is Not Free
TLDR: When you stick an explicit interface between two things, it may reduce the friction of changing the implementation but always at the cost of adding friction whenever you change the interface
Encapsulation Is Not Free
TLDR: When you stick an explicit interface between two things, it may reduce the friction of changing the implementation but always at the cost of adding friction whenever you change the interface
Jesseduffield
Encapsulation Is Not Free
TLDR: When you stick an explicit interface between two things, it may reduce the friction of changing the implementation but always at the cost of adding friction whenever you change the interface
👍3
Блог*
Что ж, попробую ещё раз. Встреча подписчиков в это воскресенье, в Vol. 1, в 18:00.
Напоминаю, что сегодня встреча в 18:00
Forwarded from Блог погромиста
Собрался и написал мини-статью про рефакторинг 🙂
https://pogrom.dev/refactor-everything/
https://pogrom.dev/refactor-everything/
pogrom.dev
Щас я тут всё перепишу
👍1
#prog #article
Still No Consensus On Testing Private Methods
Автор разбирает различные точки зрения на данный вопрос (он насчитал 5 разных) и показывает, что не так с каждой из них, а потом обосновывает свою позицию.
UPD: перед тем, как писать комментарий, пожалуйста, прочитайте статью — велик шанс, что там уже есть ответ на ваш аргумент.
Still No Consensus On Testing Private Methods
Автор разбирает различные точки зрения на данный вопрос (он насчитал 5 разных) и показывает, что не так с каждой из них, а потом обосновывает свою позицию.
UPD: перед тем, как писать комментарий, пожалуйста, прочитайте статью — велик шанс, что там уже есть ответ на ваш аргумент.
Jesseduffield
Still No Consensus On Testing Private Methods
Yesterday, while running a session at work on Rust, I offhandedly remarked ‘I think we can all agree that when writing unit tests, private methods shouldn’t be directly tested except in some special situations’ and to my suprise, I had thought wrong. A mini…
👍2
#prog #article
Weird architectures weren't supported to begin with
Program packagers and distributors (frequently separate from project maintainers themselves) are very used to C’s universal presence. They’re so used to it that they’ve built generic mechanisms for putting entire distributions onto new architectures with only a single assumption: the presence of a serviceable C compiler.
<...>
But here’s the problem: it’s a bad assumption. The fact that it’s the default represents an unmitigated security, reliability, and reproducibility disaster.
Weird architectures weren't supported to begin with
Program packagers and distributors (frequently separate from project maintainers themselves) are very used to C’s universal presence. They’re so used to it that they’ve built generic mechanisms for putting entire distributions onto new architectures with only a single assumption: the presence of a serviceable C compiler.
<...>
But here’s the problem: it’s a bad assumption. The fact that it’s the default represents an unmitigated security, reliability, and reproducibility disaster.
❤🔥2