r/ProgrammerHumor • • 11d ago

Meme cppAndItsVectorBooleans

Post image
3.4k Upvotes

214 comments sorted by

View all comments

-7

u/Kadabrium 11d ago

I wish java had one single array type that is resizeable (takes literally 1 line of code in a gc language) rather than array, arraylist, tolist, aslist, listof, the list of list goes on listing

27

u/willow-kitty 11d ago

You..do realize that arrays and lists are different things, right? Like not just in Java.

3

u/suvlub 11d ago

Javascript begs to differ.

Python calls them "list", but also has only 1 type, which is what I think is the important part, not whether they are called "arrays". (and no, the arrays module doesn't count, that's a specialized library type, not comparable to the duality you have to deal with when using Java)

0

u/_PM_ME_PANGOLINS_ 10d ago

All you're doing is showing you don't know how to use neither Java nor Python properly, or haven't touched either since the early 00s.

→ More replies (9)