Warning: Some posts on this platform may contain adult material intended for mature audiences only. Viewer discretion is advised. By clicking ‘Continue’, you confirm that you are 18 years or older and consent to viewing explicit content.
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.
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