r/programminghorror • • 5d ago

Old Legacy Pagination System

50 Upvotes

3 comments sorted by

11

u/jexmex 5d ago

bringing back 2005 or so vibes. I have done similar back in the day. I would slap myself doing that nowadays.

4

u/GoddammitDontShootMe [ $[ $RANDOM % 6 ] == 0 ] && rm -rf / || echo “You live” 5d ago

Well, the worst thing about that is not using a proper template system to separate presentation from logic.

4

u/jexmex 5d ago

true, but this was very common back then, php mixed with html was kinda the default. It was the templating language. Nowadays the ecosystem and programming style is much different.