Profile avatar
rogerbarnfather.bsky.social
Software engineer. Agile enthusiast. Welsh British. European. Earthling. Guitar. Travelling. Espresso. Art.
165 posts 55 followers 64 following
Regular Contributor
Active Commenter

Auto-incremented IDs vs generated UUIDs. What do you think?

Better Controllers: - Controller <- Inject UseCase + Presenter - Controller handles/scrapes/validates request - Creates a Command DTO - Invokes UseCase with DTO - Presenter <- Inject Repositories + View renderer - Controller invokes Presenter - Controller sends output to client

When you have a bad programming idea, ChatGPT is great! It will guide you step by step on how to turn your bad idea into an incredibly complex bad idea that does the same thing but perfectly conforms to the SOLID principles. 😄

Laws and constitutions are just words on paper. Their virtues rely on the willingness of enforcers (police, armed forces and judges) to uphold the words, along with the good nature present in all people. Weakened personal values or corrupted enforcers unlock the door, allowing tyranny to walk in.

Has anyone used the Presenter and ViewModel pattern from a UseCase? If the output can vary (e.g.- web page with user details, special offers, adverts etc. VS command line which just wants “Success!” or “Error”) then how does the UseCase know what to give the Presenter?

Trump is an enemy of us all. Europe needs to unite - and the UK needs to rejoin the EU. If you want to see that happen… join European Movement UK right now. We’re driving this. ✊

Keir Starmer! Nice one. A leader with a backbone in European politics for once. Someone standing up to a bully. PM 'ready' to put troops on ground in Ukraine to protect peace

I used to frequently discover fun websites that I enjoyed and would bookmark. I felt happy, enriched and inspired. That doesn’t really happen any more. What we need to invent is some sort of “world-wide web” where sites link to other related sites. Surprised it hasn’t already been done 🤷‍♂️🌍😉

Felicity House, UK contemporary artist who was elected a member of The Pastel Society #WomensArt

People in the 20th century would do things when they got pissed off. People in the 21st century just post messages to everyone else, who, in turn post very similar messages to everyone else. Nobody actually does a thing because they believe posting and reading is somehow changing things.