Logo
The first computer bug was literally a moth.
  • Home
  • Hot
  • Random
  • Search

Browse

  • AI AI
  • AWS AWS
  • Agile Agile
  • Algorithms Algorithms
  • Android Android
  • Apple Apple
  • Azure Azure
  • Backend Backend
  • Bash Bash
  • C++ C++
  • Cloud Cloud
  • All Categories
As an Amazon Associate ProgrammerHumor.io earns from qualifying purchases.

HTTP 418: I'm a teapot

The server identifies as a teapot now and is on a tea break, brb

HTTP 418: I'm a teapot

The server identifies as a teapot now and is on a tea break, brb

Beginner-traps Memes

Posts tagged with Beginner-traps

Python Is More Confusing Than Low Level Languages

Python Programming Debugging C++
6 months ago 510.2K views 0 shares
Python Is More Confusing Than Low Level Languages
You know how C++ devs love to flex about pointers and memory management? Well, Python just casually said "hold my dynamically-typed beer" and made everything a reference to an object. Variables? Pointers. Function arguments? Pointers. That innocent list you passed to a function? Congrats, you just mutated it everywhere because surprise—it's a pointer! The irony is delicious: low-level languages explicitly tell you "hey, this is a pointer, handle with care" with their asterisks and ampersands. Python just smugly hides it all behind syntactic sugar while your integers are immutable but your lists are mutable and suddenly you're debugging why changing my_list in one function broke everything else. At least in C you know you're playing with fire. The "beginner-friendly" language strikes again with its reference semantics that trip up even experienced devs. Nothing quite like explaining to a junior why a = b doesn't copy the list.

Today's picks

Yamaha 88-Key Weighted Digital Piano, with Foot Switch and Music Rest, Black-Furniture Stand Sold Separately, ‎167.64 x 45.72 x 20.32 cm (DGX670B)

Yamaha 88-Key Weighted Digital Piano, with Foot Switch and Music Rest, Black-Furniture Stand Sold Separately, ‎167.64 x 45.72 x 20.32 cm (DGX670B)

Affiliate
$899.99
paying technical debt is not cheap

paying technical debt is not cheap

Debugging
58.6K views 1 year ago
Sometimes take it slow..

Sometimes take it slow..

Backend
33.7K views 4 years ago