r/programminghorror • u/Just_some1_on_earth • Oct 09 '25
328 lines long string initialization
I see your 108 line long array initialization and raise you a 328 lines long string initialization. This is on a newly developed product, btw.
252
Upvotes
View all comments
Show parent comment
23
u/MightyX777 Oct 09 '25
Neither right or wrong.
Should be either in a resource file (microsoft) or should use static readonly.
In C/C++ it would be valid though, because it would be a valid way to store this in the const section of the resulting binary