chraebsli@programming.dev to Programmer Humor@programming.dev · 5 months agoStop comparing programming languagesprogramming.devexternal-linkmessage-square179fedilinkarrow-up1631arrow-down148file-text
arrow-up1583arrow-down1external-linkStop comparing programming languagesprogramming.devchraebsli@programming.dev to Programmer Humor@programming.dev · 5 months agomessage-square179fedilinkfile-text
Stop comparing programming languages Python is versatile JavaScript is powerful Ruby is elegant C is essential C++ Java is robust
minus-squaresus@programming.devlinkfedilinkarrow-up21·5 months agoC++ is std::__cxx11::list<std::__shared_ptr<npc, (__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
minus-squareLANIK2000@lemmy.worldlinkfedilinkarrow-up5·5 months agoI 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”.
minus-squareZacryon@lemmy.wtflinkfedilinkarrow-up4·5 months agoThe only reason to use AI in programming is to simplify C++ error messages.
C++ is std::__cxx11::list<std::__shared_ptr<npc, (__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.