309
submitted 2 weeks ago* (last edited 2 weeks 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 59 points 2 weeks ago
[-] NeatNit@discuss.tchncs.de 19 points 2 weeks 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.

[-] RecluseRamble@lemmy.dbzer0.com 9 points 2 weeks ago
[-] NeatNit@discuss.tchncs.de 7 points 2 weeks 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 2 weeks ago

Can confirm also BASICA, GWBASIC, QBASIC, and QuickBASIC

[-] brianorca@lemmy.world 7 points 2 weeks ago
[-] dan@upvote.au 1 points 2 weeks ago* (last edited 2 weeks 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.

[-] lambalicious@lemmy.sdf.org 7 points 2 weeks 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 2 weeks 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 2 weeks 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 2 weeks ago

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

[-] dan@upvote.au 2 points 2 weeks ago

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

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

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

Yea it’s ugly 😭

[-] skulbuny@sh.itjust.works 2 points 2 weeks ago* (last edited 2 weeks 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 2 weeks ago

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

[-] jh29a@lemmy.blahaj.zone 2 points 2 weeks ago
this post was submitted on 19 Jun 2024
309 points (85.5% liked)

Programmer Humor

18253 readers
477 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