r/programminghorror • • Dec 17 '25

A chain of (System.Threading.Tasks.)Tasks

Post image

Note: The "CompanyName" prefix in the EventArgs class was actually the name of the company this masterpiece was built for.

192 Upvotes

18 comments sorted by

View all comments

Show parent comment

18

u/ChriRosi Dec 17 '25

You mean like a manually built http controller based on TcpClient which has all its logic in a single method structured by regions because "there’s no other way of doing that"? Yep, we have those.

10

u/cherboka Dec 18 '25

christ on a cross

1

u/thafuq Dec 19 '25

Put regions into methods VS put methods into regions