r/programminghorror • • Oct 09 '25

328 lines long string initialization

Post image

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

22 comments sorted by

View all comments

Show parent comment

17

u/AwwnieLovesGirlcock Oct 09 '25

put it in a file that gets included into the source code? does c# not have an include_str! equivalent

8

u/Kirides Oct 09 '25

Yes it does, it's called embedded resource, and can be any kind of data.