this post was submitted on 14 Jun 2024
673 points (93.0% liked)
Programmer Humor
19721 readers
63 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
- Keep content in english
- No advertisements
- Posts must be related to programming or programmer topics
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
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
type inference failed. The value of the type parameter K should be mentioned in input types
unused variable
Compiling term v0.1.0 (/home/james/projects/Term)
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
I once forgot to put curly braces around the thing I was adding into a hashmap. If I remember correctly it was like ~300 lines of error code, non of which said "Wrong shit inside the function call ma dude".
The only reason to use AI in programming is to simplify C++ error messages.