Urgent.News

What's breaking now, across thousands of outlets.

Tech

I expected hexagonal architecture to help my coding agent. It didn't.

I am a principal engineer, and I started this experiment trying to defend something I have believed for years: invest in a good structure now, and later changes should get easier. Two or three years ago, I would have pushed back on the claim that hexagonal architecture was mostly overhead. I wanted to show that the investment would also help a coding agent. Across nine features, the hexagonal…

A principal engineer conducted an experiment to determine if investing in a good software architecture structure would help a coding agent perform better. The experiment involved two implementations of a Java service for an EV charging network: one following hexagonal architecture principles and the other without any architectural constraints.

Over nine features, the hexagonal version took 38% longer to reach acceptance compared to the flat version. The hexagonal version logged more model steps and tool calls, but this difference is attributed to the specific setup rather than a verdict on the architecture itself. Despite the initial expectation that the architectural investment would become more useful as the feature surface area grew, the flat version reached acceptance faster.

The experiment highlighted the importance of questioning architectural habits and considering the concrete benefits of clean code, clear business rule organization, and efficient testing.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in Tech

Smart Contract Vulnerability Surface Analysis: Bitfinex

Smart Contract Vulnerability Surface Analysis: Bitfinex Target Protocol : Bitfinex (TVL: $18684.6M) Smart Contract Vulnerability Surface Analysis – Bitfinex Protocol: Bitfinex (TVL: $18.68 B on…

  • Bitfinex ecosystem runs on Ethereum mainnet and Layer 2 chains
  • Four high-severity access control and governance issues found
  • Immediate action needed to address critical design choices

One Read Core, and the Code That Proves It

A generic core is easy to describe and hard to show. So here it is, with the parts I would not put in a talk. 👋 I'm Anton - a software engineer working mostly in PHP/Symfony and Go, carving a live…

  • Core is a single, generic type handling any data type through a type parameter
  • Spec struct defines identity, payload, and version column groups, fixed and unchanged
  • Append method ensures every change is a new version row, preserving historical facts

We scheduled a question for an hour when nobody could answer it

The run was fully unattended. That was the point. Everything upstream of the final step had been automated for weeks, and the last remaining human touch was an approval — a request sent out, a wait, a…

  • Automated question pipeline experienced unexpected timeout glitch
  • Log entry provided no differentiation between rejection types
  • Gate assumed human presence without monitoring availability

More from Tuesday 15 September →