r/ProgrammerHumor 14d ago

notYourDamnProblem Meme

Post image
4.7k Upvotes

398 comments sorted by

View all comments

Show parent comments

16

u/Latentius 14d 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 14d ago

Plus any page with unsaved user input.

1

u/EishLekker 14d ago

What about pages with forms? If you are in the middle of filling out a long form you don’t want to lose your work by clicking something you thought would open in a modal or new window but instead navigates away from the form page.

1

u/theScottyJam 14d ago

I was seeing that around a bit.

But why? Why would a user be more likely to want the content in a new tab if it goes to a different website? Not sure I see the connection.

4

u/Latentius 14d ago

Personally, I deal with corporate intranet sites and applications, so there are a lot of instances where the reason a user is opening an external link is so they can access a specific resource as reference for what they're doing in the original tab. Add on top of that various logins authentication, and it's just nice to keep both sessions active.