lambalicious@lemmy.sdf.org to Programmer HumorEnglish · edit-25 个月前It's easier to remember the IPs of good DNSes, too.lemmy.sdf.orgimagemessage-square187fedilinkarrow-up1379arrow-down164file-text
arrow-up1315arrow-down1imageIt's easier to remember the IPs of good DNSes, too.lemmy.sdf.orglambalicious@lemmy.sdf.org to Programmer HumorEnglish · edit-25 个月前message-square187fedilinkfile-text
minus-squareNeatNit@discuss.tchncs.delinkfedilinkarrow-up19·5 个月前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.
minus-squareNeatNit@discuss.tchncs.delinkfedilinkarrow-up7·5 个月前I think Excel formulas also use this, but it’s been a long time so I might be misremembering.
minus-squarehumorlessrepost@lemmy.worldlinkfedilinkEnglisharrow-up3·5 个月前Can confirm also BASICA, GWBASIC, QBASIC, and QuickBASIC
minus-squaredan@upvote.aulinkfedilinkarrow-up1·edit-25 个月前Depends 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·5 个月前SQL 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 个月前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.
minus-squarelud@lemm.eelinkfedilinkarrow-up3·5 个月前 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-squaredan@upvote.aulinkfedilinkarrow-up2·5 个月前SQL 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-25 个月前Damn I never understood it but now it makes sense thanks to you Yea it’s ugly 😭
minus-squareskulbuny@sh.itjust.workslinkfedilinkEnglisharrow-up2·edit-25 个月前F# definitely and maybe Haskell and OCaml as well? Elixir and Erlang use it as a binary concatenation operator.
minus-squarePhoenix3875@lemmy.worldlinkfedilinkarrow-up3·5 个月前Yes 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 😭
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).