lambalicious@lemmy.sdf.org to Programmer Humor@programming.devEnglish · edit-22 months agoIt's easier to remember the IPs of good DNSes, too.lemmy.sdf.orgimagemessage-square183fedilinkarrow-up1372arrow-down162file-text
arrow-up1310arrow-down1imageIt's easier to remember the IPs of good DNSes, too.lemmy.sdf.orglambalicious@lemmy.sdf.org to Programmer Humor@programming.devEnglish · edit-22 months agomessage-square183fedilinkfile-text
minus-squareNeatNit@discuss.tchncs.delinkfedilinkarrow-up19·2 months agoWhat languages use this? I don’t like it! On the other hand it goes well with >= and <=. If >= means “either > or =” then <> means “either < or >”, it checks out. But I still don’t like it.
minus-squareNeatNit@discuss.tchncs.delinkfedilinkarrow-up7·2 months agoI think Excel formulas also use this, but it’s been a long time so I might be misremembering.
minus-squarehumorlessrepost@lemmy.worldlinkfedilinkEnglisharrow-up3·2 months agoCan confirm also BASICA, GWBASIC, QBASIC, and QuickBASIC
minus-squaredan@upvote.aulinkfedilinkarrow-up1·edit-22 months agoDepends on the dialect. I mostly use Presto and MySQL at work, and both allow !=. Presto also lets you use NOT for booleans - instead of WHERE foo = false, you can do WHERE NOT foo.
minus-squarelambalicious@lemmy.sdf.orgOPlinkfedilinkEnglisharrow-up9arrow-down2·2 months agoSQL uses it but yeah, not programming language :p. I was on mobile so I didn’t have a .XCompose available to type ≠.
minus-squarelemming@sh.itjust.workslinkfedilinkarrow-up5·2 months agoIf you want to be able to write practically anything on mobile, including ≠, ≈, ‰, ℝ etc., have a look at Unexpected keyboard. No spellcheck or autocomplete, though.
minus-squarelud@lemm.eelinkfedilinkarrow-up3·2 months ago I was on mobile so I didn’t have a .XCompose available to type. I feel the opposite. On mobile I have much easier access to special characters. I just need to hold down characters to get more variants.
minus-squareKairuByte@lemmy.dbzer0.comlinkfedilinkarrow-up2·2 months agoYup, ≠ is right “under” =. As is ≈.
minus-squaredan@upvote.aulinkfedilinkarrow-up2·2 months agoSQL is definitely a programming language. Most dialects are Turing-complete in some way. Some allow custom functions and stored procedures.
minus-squareazalty@jlai.lulinkfedilinkarrow-up3·edit-22 months agoDamn I never understood it but now it makes sense thanks to you Yea it’s ugly 😭
minus-squareskulbuny@sh.itjust.workslinkfedilinkEnglisharrow-up2·edit-22 months agoF# definitely and maybe Haskell and OCaml as well? Elixir and Erlang use it as a binary concatenation operator.
minus-squarePhoenix3875@lemmy.worldlinkfedilinkarrow-up3·2 months agoYes for OCaml. Haskell’s inequality is defined as /= (for ≠). <> is usually the Monoid mappend operator (i.e. generalized binary concatenation).
Bro used <> instead of !=
What languages use this? I don’t like it!
On the other hand it goes well with >= and <=. If >= means “either > or =” then <> means “either < or >”, it checks out.
But I still don’t like it.
BASIC. At least VB.
I think Excel formulas also use this, but it’s been a long time so I might be misremembering.
Can confirm also BASICA, GWBASIC, QBASIC, and QuickBASIC
SQL
Depends on the dialect. I mostly use Presto and MySQL at work, and both allow
!=
.Presto also lets you use
NOT
for booleans - instead ofWHERE foo = false
, you can doWHERE NOT foo
.SQL uses it but yeah, not programming language :p.
I was on mobile so I didn’t have a
.XCompose
available to type≠
.If you want to be able to write practically anything on mobile, including ≠, ≈, ‰, ℝ etc., have a look at Unexpected keyboard. No spellcheck or autocomplete, though.
I feel the opposite. On mobile I have much easier access to special characters. I just need to hold down characters to get more variants.
Yup, ≠ is right “under” =. As is ≈.
SQL is definitely a programming language. Most dialects are Turing-complete in some way. Some allow custom functions and stored procedures.
Damn I never understood it but now it makes sense thanks to you
Yea it’s ugly 😭
F# definitely and maybe Haskell and OCaml as well? Elixir and Erlang use it as a binary concatenation operator.
Yes for OCaml. Haskell’s inequality is defined as
/=
(for ≠).<>
is usually the Monoidmappend
operator (i.e. generalized binary concatenation).logo does