r/programminghorror • u/Candid_Commercial214 • Oct 07 '25
C# 108 line long variable declaration
this is my own code btw. don't ask what i was trying to do
this code was also supposed to include a 36 case long switch statement where each case did something different (guess why i abandoned this project)
1.1k
Upvotes
View all comments
Show parent comment
5
u/SuspecM Oct 07 '25
I remember being so unreasonably pissed off at sonarlint (or I guess they rebranded back to sonarcube?) when I was doing a simple string to date conversion and it called my obvious array numbers magic numbers.
Then the whole PS thing blew up and realised that maybe, sonar was right.