endetti
640 posts


That's the approach me and my team took almost 6years ago, so far we almost never had any issues with upgrades, maintenance and refactorings.
We use different framework but principal is the same, own your logic and let the frameworks to support your inputs/outputs. Decouple as much as possible and make it fully testable without magic.
Make your dependencies explicit, hide them behind abstractions and not let them own your business rules. Libraries and frameworks are here to support you, not overtake and lock 💪
Paul Dragoonis@dr4goonis
I started building an API with #laravel. So far I've managed to avoid using the framework for 95% of the code 5% is thin controllers and routes I'm using phpunit & phpstan Zero eloquent, Zero models, just the query builder I'm using TableGateway pattern, in the Repositories
English

@Wonziu Carmack ładnie opowiedział o swoim podejściu na ten temat w tym podcastcie (od 2:02:15 - hacker ethic): youtu.be/I845O57ZSy4?t=… - przywołuje książkę, która go ukształtowała za dzieciaka - jak widać pozostał wierny swoim ideałom :P Polecam całą wypowiedź. 👍

YouTube
Polski

@newsycombinator 👀 @katafrakt_pl you landed on the first page of that orange page :)
English

Long story short: I wrote a Ruby extension in Zig katafrakt.me/2022/12/25/rub…
English

@francmichal Have you tried Mastodon yet? The project itself is not very mature, but the idea is cool and worth keeping an eye on🤞
English

and if anyone is just thinking about migration, infosec.exchange looks like a pretty cozy and well-managed place.
English

@Wonziu Nieironicznie liczę na powrót czasów panowania phpBB by Przemo. Dobry link w temacie: alwaysownyourplatform.com
Polski
endetti retweetledi

I couldn't get it that during Design Level Event Storming, I should actually... design. If you would like to see how it turned out, see my notes here:
mrpicky.dev/design-level-e…
English
endetti retweetledi

@ptrstpp950 @gkotfis Jeżeli chodzi o gry, to już nawet wypasionego kompa nie trzeba - GeForce Now się całkiem fajnie sprawdza (niestety biblioteka gier jest jeszcze mocno ograniczona, ale sama usługa ma potencjał i IMHO warto śledzić temat)
Polski

@gkotfis Stacjonarne są już tylko gamerskie i to z wyższej półki. Ponieważ przy każdym modelu będziesz miał głosy za i przeciw to zastanów się co Ci wystarczy :)
p.s. Ja kilka lat temu kupiłem sobie gamerski laptop bo jako ciężki był dość tani a miał dużo mocy :)
Polski

@piecioshka How about this? 😉
items.reduce((accMap, item) => accMap.set(item.name, item.value), new Map());
English

Nice explanation richsnapp.com/article/2019/0… of why
let result = items.reduce((acc, item) => ({
...acc, [item.name]: item.value
}), {})
it is a bad pattern.
English

I read Sztuka życia według stoików by Piotr Stankiewicz goodreads.com/review/show?id…
Polski

@unclebobmartin A printed version of this book is also available: github.com/hmemcpy/milews…
English

This is a fascinating read on category theory for programmers: bartoszmilewski.com/2014/10/28/cat…
English
endetti retweetledi

Did you know that #TypeScript has one of the most powerful union type support of all programming languages? 💪
Read about its practical usages in my article 📖
codewithstyle.info/typescript-dis… codewithstyle.info/typescript-dis…
English

@elessar90 Wzywam @wonziu jako orędownika kościoła Krzysztofa Robertsa 😀🍿
Polski





