Click here to Skip to main content
15,886,919 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: JavaScript for SQL? Pin
Gerry Schmitz4-Jan-24 11:15
mveGerry Schmitz4-Jan-24 11:15 
GeneralRe: JavaScript for SQL? Pin
DerekT-P4-Jan-24 22:21
professionalDerekT-P4-Jan-24 22:21 
GeneralYou can call me by my name, or you can call me by my value Pin
k50544-Jan-24 4:33
mvek50544-Jan-24 4:33 
GeneralRe: You can call me by my name, or you can call me by my value Pin
Mircea Neacsu4-Jan-24 4:43
Mircea Neacsu4-Jan-24 4:43 
GeneralRe: You can call me by my name, or you can call me by my value Pin
MarkTJohnson4-Jan-24 4:43
professionalMarkTJohnson4-Jan-24 4:43 
GeneralRe: You can call me by my name, or you can call me by my value Pin
PIEBALDconsult4-Jan-24 4:46
mvePIEBALDconsult4-Jan-24 4:46 
GeneralRe: You can call me by my name, or you can call me by my value Pin
englebart4-Jan-24 6:59
professionalenglebart4-Jan-24 6:59 
GeneralRe: You can call me by my name, or you can call me by my value Pin
trønderen4-Jan-24 10:05
trønderen4-Jan-24 10:05 
englebart wrote:
you should train yourself to read/think the operator and not the character(s)
Funny analogy:
I spent a year as a US high school senior. In Norwegian high school, the physics teacher had stressed that in formulas and equations, we use letter symbols that are not from name of the phenomenon, e.g. 'v' for 'fart' (speed) and 'c' for 'ladning' (charge). Advanced physics requires so much math an so many equations that we must learn to solve as pure math equations with arbitrarily named variables. Being concerned about the physical interpretation while doing the math is disturbing, you do the math better by not worrying about what a squared speed is!

This was firmly established in my brain when I came to the US and a physics teacher who strongly stressed that the symbols are mnemonics, to keep you aware of the physical interpretation. You must always use the mnemonic symbols: Kinetic energy E = 1/2 mv^2, half the mass times the velocity squared. A = 1/2 tf^2 is not the kinetic energy, but something completely different! For a few phenomena, I was used to other letters than the ones used in the US physics textbook - I think they might have been mnemonics for Latin words, not English ones. If I happened to use those Latin symbols in my hand-ins, they were corrected by the teacher to the proper English ones.

So there are different schools. My preference is like yours: Don't worry about the textual representation, the equation is the same with other letters. The operation/operator is the same whatever it is called, how it is written.

At least in an ideal world. There is a problem with symbols that have a well established interpretation that everyone knows, but you insist on using it with a different interpretation. That is the problem with '=': For centuries, the meaning of 'if privilege level = boss, allow entrance' is an interrogation of the privilege level. Then comes C programmers and insist on a different interpretation: The privilege level is set to 'boss', and if the internal representation of 'boss' is zero, entrance is allowed, regardless of who you are. This redefinition of well established interpretation I do not appreciate.

Nor do I appreciate having to ask 'if privilege level is is boss, allow entrance'. Why should I have to double the test? There is a well established convention for interrogating the privilege level without repeating the condition!

In other words: I prefer Pascal's ':=' (or APL's '←' - I have also seen languages using <- ) rather than breaking down well established conventions.

Religious freedom is the freedom to say that two plus two make five.

GeneralRe: You can call me by my name, or you can call me by my value Pin
Greg Utas4-Jan-24 14:55
professionalGreg Utas4-Jan-24 14:55 
GeneralRe: You can call me by my name, or you can call me by my value Pin
PIEBALDconsult16-Mar-24 13:20
mvePIEBALDconsult16-Mar-24 13:20 
GeneralRe: You can call me by my name, or you can call me by my value Pin
CPallini4-Jan-24 4:59
mveCPallini4-Jan-24 4:59 
GeneralRe: You can call me by my name, or you can call me by my value Pin
0x01AA4-Jan-24 6:01
mve0x01AA4-Jan-24 6:01 
GeneralRe: You can call me by my name, or you can call me by my value Pin
Kornfeld Eliyahu Peter4-Jan-24 6:21
professionalKornfeld Eliyahu Peter4-Jan-24 6:21 
GeneralRe: You can call me by my name, or you can call me by my value Pin
jmaida4-Jan-24 15:58
jmaida4-Jan-24 15:58 
GeneralRe: You can call me by my name, or you can call me by my value Pin
Roger Wright4-Jan-24 17:39
professionalRoger Wright4-Jan-24 17:39 
GeneralRe: You can call me by my name, or you can call me by my value Pin
PIEBALDconsult16-Mar-24 13:23
mvePIEBALDconsult16-Mar-24 13:23 
GeneralRe: You can call me by my name, or you can call me by my value Pin
Roger Wright16-Mar-24 14:38
professionalRoger Wright16-Mar-24 14:38 
GeneralRe: You can call me by my name, or you can call me by my value Pin
PIEBALDconsult16-Mar-24 15:16
mvePIEBALDconsult16-Mar-24 15:16 
GeneralRe: You can call me by my name, or you can call me by my value Pin
Roger Wright16-Mar-24 15:35
professionalRoger Wright16-Mar-24 15:35 
GeneralI was sent this, and... PinPopular
OriginalGriff4-Jan-24 0:42
mveOriginalGriff4-Jan-24 0:42 
GeneralRe: I was sent this, and... Pin
RickZeeland4-Jan-24 1:09
mveRickZeeland4-Jan-24 1:09 
GeneralRe: I was sent this, and... Pin
Mike Hankey4-Jan-24 1:45
mveMike Hankey4-Jan-24 1:45 
GeneralRe: I was sent this, and... Pin
obermd4-Jan-24 5:15
obermd4-Jan-24 5:15 
GeneralRe: I was sent this, and... Pin
Kenneth Haugland4-Jan-24 5:23
mvaKenneth Haugland4-Jan-24 5:23 
GeneralOfftopic Pin
Nelek4-Jan-24 7:29
protectorNelek4-Jan-24 7:29 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.