myrmepropagandist on Nostr: Java has a class called “Set” but the documentation is nebulous and ominous. ...
Java has a class called “Set” but the documentation is nebulous and ominous. “may throw an exception” what? does no one even know? There isn’t even a method for intersection and union?! What is the point of this class? I just taught my students to use the set object in Python and it was an elegant beautiful experience— Thought we could do it in Java too but I think I will just use an arraylist and write my own damn methods.
I know I’m biased, but Java is always more annoying like this. ugh.
Published at
2024-05-02 12:22:46Event JSON
{
"id": "89c3dd034693449a08081786c2e3e304f4f8c40636df01d7f51daf6af64d7bfd",
"pubkey": "c054144d7615820eaa2322e78ba10e111c44219059482b21ba71e51a9729f40b",
"created_at": 1714652566,
"kind": 1,
"tags": [
[
"proxy",
"https://sauropods.win/users/futurebird/statuses/112371470571525458",
"activitypub"
]
],
"content": "Java has a class called “Set” but the documentation is nebulous and ominous. “may throw an exception” what? does no one even know? There isn’t even a method for intersection and union?! What is the point of this class? I just taught my students to use the set object in Python and it was an elegant beautiful experience— Thought we could do it in Java too but I think I will just use an arraylist and write my own damn methods. \n\nI know I’m biased, but Java is always more annoying like this. ugh.",
"sig": "8048ab852b07eb185c568f90d4e1324fd5620fe3456c935837126404b93d1ac43a2aae9c4312527617c7684e4cae869f5a5c8419c8e46f0fbb3692fbd9c62c20"
}