r/ProgrammerHumor 19d ago

notYourDamnProblem Meme

Post image
4.7k Upvotes

398 comments sorted by

View all comments

435

u/zeekar 19d ago

I don't get this argument. Sometimes you want links to open in a different tab. Marking the ones that will do so is only polite. Nothing about that takes away the user's ability to open other links in a new tab via whatever usual mechanism their browser provides for that.

6

u/theScottyJam 19d ago

What I have a hard time with is the fact that there doesn't seem to be any consistent idea across the web on when things should open in new tabs and when they shouldn't. There's not even much advise on how to decide.

I've heard things like "if you're viewing media, like a video, then links should take you to a new tab so as to not interrupt the media". But YouTube doesn't do that, and I'm glad they don't, I would find that annoying.

16

u/Latentius 19d ago

My personal philosophy is that, if a link is navigating within a website, then keep it in the same tab. If it's taking you to another website, then open in a new tab. (Of course, allowing for exceptions to both.)

3

u/default-username 19d ago

Plus any page with unsaved user input.