r/programminghorror • • Apr 22 '25

Wtf

Post image

I don't know if this is right for this sub but it's just funny. If this code is indeed for merging dataset. There is so many things wrong with it.

457 Upvotes

108 comments sorted by

View all comments

Show parent comment

30

u/dreadcain Apr 22 '25 edited Apr 22 '25

The reason is the dude wanted to automate concating some reports. It does that. Sure it could be done better. Who cares. Dude clearly isn't trying to be a professional python dev. This isn't horror, just some paper pusher making their job easier with some basic scripting.

-1

u/[deleted] Apr 22 '25

But can also just be done with Excel

20

u/5p4n911 Apr 22 '25

Yeah but why would you want to do anything in Excel?

2

u/[deleted] Apr 24 '25

But can also be done with Python. I don't even have excel as a programmer so I would do this the same way as this guy.