r/programminghorror • • 10d ago

Old Legacy Pagination System

54 Upvotes

3 comments sorted by

12

u/jexmex 10d ago

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

5

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

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

4

u/jexmex 10d 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.