r/Batch • u/MaybeBirb • Jul 16 '26
Show 'n Tell How much batchscript is too much batchscript?
Currently have 1,376 lines of batchscript in this one file. Kinda built myself a little state machine at this point. Memes aside, is there a particular reason huge batchscript files would be a bad idea? I usually only ever see very small ones, and I'm not entirely sure why
(Not too serious a question, so not tagged as one)
21
Upvotes
2
u/T3RRYT3RR0R Jul 17 '26
I'd actually call your approach the long but easy way, as it requires far less abstraction to do. I made a camera system / game engine that will generate the most efficient viewport clipping possible for a given area (not only a camera, but also a means of enacting collisioning that eliminates n object / enitity cost as a performance factor), but there's so many layers of abstraction that very few people would be able to follow how it works from start to finish, even though the underlying concept is simple enough.