r/shittyprogramming • • Sep 26 '23

Discovered this brilliantly written Powershell script at my last job

Post image
80 Upvotes

20 comments sorted by

View all comments

Show parent comment

2

u/voidvector Sep 27 '23

This is actually a lot easier to cleanup than the reverse of reusing the same variable for multiple different purposes. Lol I have encountered a coworker like that, it is really hard to debug their code.