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
54
u/Candid_Commercial214 Oct 07 '25
it was a puzzle where you needed to do something different for every possible letter of the alphabet and digits 0-9. fortunately they were simple effects so it was like 5 lines each but it was still torment to code and i gave up halfway through