I think adding the programming language explicitly in the title would be useful for such a generic issue, but there are literally dozens of ways to express the same thing, without using the exact same words.
So, I would change it into any of these :
How to read a text file using vb.net
How to read a text file in vb.net
How to read a text file with vb.net
How to read data from a text file using vb.net
How to read data from a text file in vb.net
How to read data from a text file with vb.net
Reading a text file using vb.net
Reading a text file in vb.net
Reading a text file with vb.net
- ...
On the other hand, this particular question appears to have been deleted, so it would have been a waste of time to change the title.
Notes :
In the comments to my answer, CodeCaster argued that (1) programming languages should be mentioned as tags and that (2) tag content should not be explicitly mentioned in the title, using this question on meta as a reference for the latter. Thus, he argues, you should not put the programming language in the title.
While I guess there are valid arguments to apply this to some questons, I don't think this should be applied to all questions as a general principle, for the following reasons :
While I guess checking the tags of a question could remove ambiguity whenever the title is unclear, I do think it's horrible UX to have to check the tag whenever encountering questions as generic as How to read a text file
, How to read define a variable
, How to create a class
, etc. where there's not even a remote chance of correctly guessing the programming environment just from looking at the title. Why do I have to check the tag each and every time to clarify something that could be clear just from looking at the title?!
Consider the question trying to create a css transition effect on menus using php and results from database that I just stumbled upon. What (if anything at all) is gained, really, by removing the CSS and PHP references from the title and turning it into something like Trying to create a transition effect on menus using results from a database? Even in a cases like this (where I could reasonable guess the environment), I personally think that all removing the CSS and PHP references would do is make it less obvious for someone like me to decide whether to click the question and see if I can answer it, making it more likely for me to just ignore it completely. Isn't that the very opposite of what we're supposed to be going for?
And last but not least, tags aren't always visible whenever a title is visible. For example, consider the "Linked questions" and "Related questions" on the right hand side of any question. Or what about search results on Google? Here, tags aren't even shown at all. So all you have to go with to figure out whether a question is relevant for you is the title. Do you really want to waste my precious time and that of so many others on this website by encouraging us to click on questions that involve programming environments I'm completely unfamiliar with, where this could have simply been avoided simply by mentioning a programming language? From a UX perspective, that is about as horrible as it gets!
Here's what Jeff Atwood himself has to say on this issue :
Consider the following question titles with the tag python in
the title.
- Python: How do I tell what OS I am running on?
- Python - How do I tell what OS I am running on?
- How do I tell what OS I am running on in Python?
- How do I tell what OS Python is running on?
- [Python] How do I tell what OS I am running on?
Only #5 is objectionable enough for us to automate its removal. #3 and #4 are explicitly encouraged. #1 and #2 are ... not really a problem so long as they are not happening "too often".
It is the ritual and systemic use of tags in this manner that I
object to, not the mere presence of it at all.
source