20 random bookmarks
Тут будут ссылки на всё-всё, что я найду интересным
Тут будут ссылки на всё-всё, что я найду интересным
Beautiful, Modern & Opinionated Linux by DHH
Everyone knows micromanagement is evil, but very few understand what exactly it is and what's a better alternative.
Staticcheck - The advanced Go linter. Contribute to dominikh/go-tools development by creating an account on GitHub.
A properly configured distributed team of programmers can and must deliver a higher quality of code than a co-located one.
A source-control branching model, where developers collaborate on code in a single branch called ‘trunk’ *,
resist any pressure to create other long-lived development branches by employing documented techniques. They
therefore avoid merge hell, do not break the build, and live happily ever after.
This idea is pretty simple, in principle: sometimes we miss a good-enough solution because a not-quite-good-enough solution is already out there and in use.
Trying to make the case for permanent irrevocable digital identities, which unfortunately today, by de-facto, are email addresses.
I therefore officially announce 2024 to be the year when the square checkbox has finally died.
Functions that are part of your project’s source code but can never be
reached in any execution are called “dead code”, and they exert a drag
on codebase maintenance efforts.
Today we’re pleased to share a tool named deadcode to help you identify them.
Из комментариев под статьёй:
Кто-то не очень понимает, что ORM в первую очередь - маппер. Да, и называется он Object-Relational Mapper. Отвечает за взаимосвязь между реляционными данными и объектно-ориентированным миром.
Тот, кто хотя бы раз сталкивался с опечаткой при загрузке поля в объект, уже не задаёт вопросы, оправдан ли ORM. Когда за тебя связку делает кодогенератор с нулевой возможностью ошибки на любой сложности схеме - начинаешь ценить надёжность такого решения.
Что касается SQL. ORM не может в принципе покрыть весь синтаксис SQL. И не должен, это не его задача. Его задача - сделать простым синтаксис 95% случаев, когда дальше джойна и WHERE ничего не надо. ORM не мешает использовать чистый SQL, а чаще всего может его дополнить, переводя результат сложного запроса в набор объектов.
— О чем вы подумали, впервые открыв секретный архив ГУЛАГа и узнав, что число репрессированных значительно меньше, чем считалось и говорилось?
Земсков о репрессиях
Sort-merge joins do not need indexes on the join predicates.
MySQL does not support sort-merge joins at all.
Powerful ASCII art editor designed for the Mac.
The Go standard library is full of bad design choices from the perspective of safety of use.
Как технически обнаружить мусорщика и почему камеры, смотрящие не на фасад, бесполезны