369
submitted 5 months ago* (last edited 5 months ago) by lambalicious@lemmy.sdf.org to c/programmer_humor@programming.dev

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

you are viewing a single comment's thread
view the rest of the comments
[-] azalty@jlai.lu 58 points 5 months ago
[-] NeatNit@discuss.tchncs.de 19 points 5 months ago

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.

[-] lambalicious@lemmy.sdf.org 9 points 5 months ago

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

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

[-] lemming@sh.itjust.works 5 points 5 months ago

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.

[-] lud@lemm.ee 3 points 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.

[-] KairuByte@lemmy.dbzer0.com 2 points 5 months ago

Yup, ≠ is right “under” =. As is ≈.

[-] dan@upvote.au 2 points 5 months ago

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

[-] RecluseRamble@lemmy.dbzer0.com 9 points 5 months ago
[-] NeatNit@discuss.tchncs.de 7 points 5 months ago

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

[-] humorlessrepost@lemmy.world 3 points 5 months ago

Can confirm also BASICA, GWBASIC, QBASIC, and QuickBASIC

[-] brianorca@lemmy.world 7 points 5 months ago
[-] dan@upvote.au 1 points 5 months ago* (last edited 5 months ago)

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.

[-] azalty@jlai.lu 3 points 5 months ago* (last edited 5 months ago)

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

Yea it’s ugly 😭

[-] jh29a 2 points 5 months ago
[-] skulbuny@sh.itjust.works 2 points 5 months ago* (last edited 5 months ago)

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

[-] Phoenix3875@lemmy.world 3 points 5 months ago

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

this post was submitted on 19 Jun 2024
369 points (100.0% liked)

Programmer Humor

19623 readers
2 users here now

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

founded 1 year ago
MODERATORS