this post was submitted on 14 Jun 2024
7 points (100.0% liked)

Programmer Humor

19471 readers
1433 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
 

Stop comparing programming languages

  • Python is versatile
  • JavaScript is powerful
  • Ruby is elegant
  • C is essential
  • C++
  • Java is robust
top 35 comments
sorted by: hot top controversial new old
[–] chraebsli@programming.dev 4 points 4 months ago (2 children)
  • PHP is old
  • HTML is NOT A PROGRAMMING LANGUAGE!!!
  • CSS is
    ︎ ︎ ︎ not alig-

︎ ︎ ︎ ned

[–] chraebsli@programming.dev 1 points 4 months ago

Actual definitions (my opinion):

  • HTML is website
  • CSS is style
  • JS is everywhere
  • SQL is data
  • Python is simple
  • PHP is backend
  • Markdown is README
  • YAML is config
[–] dohpaz42@lemmy.world 1 points 4 months ago (1 children)

PHP is old

Same age as Ruby, Java and JavaScript, but younger than Python, C, and C++. 😛

[–] Guydht@lemmy.world 1 points 4 months ago (2 children)

I'm guessing they meant "old" as in "no one uses it anymore, it's dead"

[–] dohpaz42@lemmy.world 1 points 4 months ago (1 children)

Don’t tell my bosses that. Or the PHP community as a whole for that matter. Then I might have to get a real job.

[–] ripcord@lemmy.world 1 points 4 months ago

I'm sorry. If you exclude the millions of sites using it, it is virtually unused.

[–] asyncrosaurus@programming.dev 1 points 4 months ago

Meanwhile PHP quietly runs 80% of the internet by being used for WordPress.

[–] Xylight@lemdro.id 2 points 4 months ago* (last edited 4 months ago) (2 children)
  • Python is NameError: name 'term_to_describe_python' is not defined

  • JavaScript is [object Object]

  • Ruby is TypeError: Int can't be coerced into String

  • C is segmentation fault

  • C++

  • Java is

Exception in thread "main" java.lang.NullPointerException: Cannot read the termToDescribeJava because is null at ThrowNullExcep.main(ThrowNullExcep.java:7)
Exec.main(ThrowNullExcep.java:7) 
  • CSS j ust # sucks
  • Kotlin is type inference failed. The value of the type parameter K should be mentioned in input types
  • Go is unused variable
  • Rust is Compiling term v0.1.0 (/home/james/projects/Term)
[–] sus@programming.dev 1 points 4 months ago* (last edited 4 months ago) (1 children)

C++ is std::__cxx11::list<std::__shared_ptr<table, (__gnu_cxx::_Lock_policy)0>, std::allocator<std::__shared_ptr<table, (__gnu_cxx::_Lock_policy)0> > >::erase(std::_List_const_iterator<std::__shared_ptr<table, (__gnu_cxx::_Lock_policy)0> >) /usr/include/c++/12/bits/list.tcc:158

[–] Zacryon@lemmy.wtf 1 points 4 months ago

The only reason to use AI in programming is to simplify C++ error messages.

[–] xigoi@lemmy.sdf.org 0 points 4 months ago (1 children)

Rust is downloading 1546 dependencies

[–] LordKitsuna@lemmy.world 0 points 4 months ago (2 children)

I'll happily download 63928 depends so long as it continues to work. And it does, unlike python projects that also download 2352 depends but in the process brick every other python program on your system

[–] lastweakness@lemmy.world 1 points 4 months ago

If you're not using a venv for python development, that's kind of on you

[–] xigoi@lemmy.sdf.org -1 points 4 months ago

Good for you. Not all of us have terabytes of free space on our computers.

Java is robust haha

[–] SatouKazuma@programming.dev 1 points 4 months ago

Mfw Rustaceans don't exist :(

Also, JavaScript...why are you the way you are? Does anyone have advice for learning it so it makes sense? I can't even get tutorial projects to run properly...

[–] magic_lobster_party@kbin.run 0 points 4 months ago (1 children)

Just accept it, all languages suck

[–] asyncrosaurus@programming.dev 0 points 4 months ago (1 children)

"There are only two kinds of languages: the ones people complain about and the ones nobody uses."

[–] magic_lobster_party@kbin.run 0 points 4 months ago (1 children)

That’s why Haskell is so loved. Nobody uses it.

[–] wreel@lemmy.sdf.org 0 points 4 months ago (1 children)

I love how after a decade pandoc is still Haskell's "killer app". smh

[–] BatmanAoD@programming.dev 1 points 4 months ago

I mean to be fair, that's a pretty useful tool.

[–] AllNewTypeFace@leminal.space 0 points 4 months ago (1 children)

Are those adjectives randomly chosen?

[–] odium@programming.dev 0 points 4 months ago (1 children)

Yeah, JavaScript powerful? How?

[–] polonius-rex@kbin.run -1 points 4 months ago

good luck doing frontend development without it, but it can also do backend development

it can do everything

[–] 1984@lemmy.today 0 points 4 months ago (1 children)
[–] sparkle@lemm.ee -1 points 4 months ago

C++ is inferior to Rust and should be used in no new projects unless it is absolutely necessary

[–] luciole@beehaw.org 0 points 4 months ago (1 children)
  • C++ is fine
  • Python is fine
  • C# is fine
  • PHP is fine
  • JavaScript is fine
  • C is fine
  • Java is fine

I could go on

[–] SeekPie@lemm.ee 0 points 4 months ago (1 children)
[–] passepartout@feddit.de 0 points 4 months ago

Don't give them ideas

[–] reillypascal@lemmy.world 0 points 4 months ago (1 children)

The only reason I use C++ is because that's what all the main audio plugin tools use. It's warty and annoying, although I'm confused why Java would rank higher

[–] Bazz@feddit.de 0 points 4 months ago (1 children)

So we just ignore JavaScript being on that list at sll?

[–] timewarp@lemmy.world -1 points 4 months ago

I shit on JavaScript for years... but Deno (built around Rust) is honestly one of the most pleasant tools I've used for development, and you get all the completion in VS Code.

[–] tiredofsametab@kbin.run 0 points 4 months ago (1 children)
  • Rust has safety and efficiency close to C
  • Perl is processing most of your healthcare records
  • Ada is doing space stuff
  • Go is going places
[–] ikidd@lemmy.world 1 points 4 months ago (1 children)
[–] mycelium_underground@lemmy.world 1 points 4 months ago

What happens if I run paint splatters through OCR? Hmmmmm that random output looks like Perl. Holy shit it is Perl!

This actually happening is one reason I love the internet.