lambalicious@lemmy.sdf.org to Programmer Humor@programming.devEnglish · edit-25 months agoIt's easier to remember the IPs of good DNSes, too.lemmy.sdf.orgimagemessage-square187fedilinkarrow-up1380file-text
arrow-up1380imageIt's easier to remember the IPs of good DNSes, too.lemmy.sdf.orglambalicious@lemmy.sdf.org to Programmer Humor@programming.devEnglish · edit-25 months agomessage-square187fedilinkfile-text
minus-squareNeatNit@discuss.tchncs.delinkfedilinkarrow-up19·5 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-squarelambalicious@lemmy.sdf.orgOPlinkfedilinkEnglisharrow-up9·5 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·5 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·5 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·5 months agoYup, ≠ is right “under” =. As is ≈.
minus-squaredan@upvote.aulinkfedilinkarrow-up2·5 months agoSQL is definitely a programming language. Most dialects are Turing-complete in some way. Some allow custom functions and stored procedures.
minus-squareNeatNit@discuss.tchncs.delinkfedilinkarrow-up7·5 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·5 months agoCan confirm also BASICA, GWBASIC, QBASIC, and QuickBASIC
minus-squaredan@upvote.aulinkfedilinkarrow-up1·edit-25 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-squareazalty@jlai.lulinkfedilinkarrow-up3·edit-25 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-25 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·5 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.
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.
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
.Damn I never understood it but now it makes sense thanks to you
Yea it’s ugly 😭
logo does
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).