Today in our newest take on “older technology is better”: why NAT rules!

You are viewing a single thread.
View all comments
59 points

Bro used <> instead of !=

permalink
report
reply
19 points

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.

permalink
report
parent
reply
9 points

BASIC. At least VB.

permalink
report
parent
reply
7 points

I think Excel formulas also use this, but it’s been a long time so I might be misremembering.

permalink
report
parent
reply
3 points

Can confirm also BASICA, GWBASIC, QBASIC, and QuickBASIC

permalink
report
parent
reply
7 points

SQL

permalink
report
parent
reply
1 point
*

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.

permalink
report
parent
reply
7 points

SQL uses it but yeah, not programming language :p.

I was on mobile so I didn’t have a .XCompose available to type .

permalink
report
parent
reply
5 points

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.

permalink
report
parent
reply
3 points

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.

permalink
report
parent
reply
2 points

SQL is definitely a programming language. Most dialects are Turing-complete in some way. Some allow custom functions and stored procedures.

permalink
report
parent
reply
3 points
*

Damn I never understood it but now it makes sense thanks to you

Yea it’s ugly 😭

permalink
report
parent
reply
2 points

logo does

permalink
report
parent
reply
2 points
*

F# definitely and maybe Haskell and OCaml as well? Elixir and Erlang use it as a binary concatenation operator.

permalink
report
parent
reply
3 points

Yes for OCaml. Haskell’s inequality is defined as /= (for ≠). <> is usually the Monoid mappend operator (i.e. generalized binary concatenation).

permalink
report
parent
reply

Programmer Humor

!programmer_humor@programming.dev

Create post

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

  • Keep content in english
  • No advertisements
  • Posts must be related to programming or programmer topics

Community stats

  • 9.8K

    Monthly active users

  • 831

    Posts

  • 32K

    Comments