Right now select is used for multiple things (and the tag wiki even reflects some of this).
- The POSIX
select()
function (also present in Windows Sockets) - The SQL
SELECT
keyword (select-query
tag perhaps) - jQuery and CSS selector attributes
- The HTML
<select>
tag - Text/widget selection (focus-related)
- The VB
SELECT CASE
flow control construct (analogous to C-like languages'switch
)
I haven't specifically seen these usages, but I bet they're out there:
- VHDL
WITH ... SELECT
concurrent assignment construct
Isn't tag overloading considered a "bad thing"? What is the best way to approach this?
select case
:stackoverflow.com/questions/tagged/select+caseSELECT
keyword, followed by an SQLCASE
keyword at some other point in the query.select case
is used.[select] [case]
search results? I was just clarifying that said search was pretty durn useless for finding usage of theSELECT ... CASE
construct.select case
then? select-case doesn't work, probably because VB (and C# programmers) simply know it as acase
statement, although this doesn't seem to work either.[vb.net] [case]
and[vba] [case]
both do better), because the tags are overloaded. And C# programmers call thatswitch
, like C, C++, and Java programmers. Which I said in my question quite some time ago. But I don't expect that VB programmers would think to useswitch
as the tag forSELECT ... CASE
statements.