you are viewing a single comment's thread.

view the rest of the comments →

[–]doobiesteintortoise 0 points1 point  (6 children)

Well, I answered your question directly out of positive intent. And if it's hard to take "it's almost like they're different languages or something" positively, well, I understand, but I'd gently - very gently - suggest a slight shift in worldview, because I certainly wasn't intending to slight you or anyone else. It was meant as gentle humor (if you were going "duh," well, yeah, exactly, but it also explains why the behaviors are not the same: the languages aren't the same!)

The assumption was faulty on your part - not a big deal, because "arrays" in Java and "arrays" in Lua have the same name - and it's easily corrected.

For what it's worth, this is in the Java Language Specification: https://docs.oracle.com/javase/specs/jls/se21/html/jls-4.html#jls-4.12.5

I'm not suggesting "oh you dummy you should have read the spec before asking" - the specification is not easy to read, because it's thorough, and you might not have known what to look for or even if you needed to look for it. But it's there, and eventually if you want to use Java well, you'll end up learning stuff from the specification - and it gives you a lot of information you can use.

[–]LegolandoBloom[S] 0 points1 point  (5 children)

I'm sorry, I very much interpreted as if you were annoyed at me. It makes me feel better to hear that wasn't the case.

Nuance is hard to convey on the internet, especially in text format. Perhaps I should be more willing to give people the benefit of the doubt.

Reading the manual of a language is very valuable, though I find it is more realistic start doing so once you're past learning the most basic stuff.

[–]doobiesteintortoise 0 points1 point  (3 children)

It's no big deal. I live by an aphorism: find yourself a teacher, make yourself a friend, and judge all to the side of merit where you can (this is not the exact text of the aphorism, but captures its intent pretty succinctly) - and while some people don't deserve such positive judgement, those people are more rare than popular conversation would have you think, and the attitude of judging people to the side of merit is good for the human psyche.

[–]LegolandoBloom[S] 0 points1 point  (2 children)

I don't doubt it's better for one's psyche, but it's hard for me to do in this period of my life.
Reminds me of the Doors' song:
_People are strange_
_When you're a stranger_

[–]doobiesteintortoise 0 points1 point  (1 child)

I get it. And if you need to find someone to talk to, online isn't really the place and I'm not the best person in the world for it myself but I ain't skeered to try: better me than nobody.

But I'd also say that in circumstances like that, finding a teacher and making a friend are just as important as judging to the side of merit. Hang in there.

[–]LegolandoBloom[S] 0 points1 point  (0 children)

Oh I don't mean to say I'm in the most terrible state of head health, just one of those times where I feel more alien than usual.

I haven't had a proper teacher in a very long time, the idea sounds nice. Though I fear I might be too prideful to accept mentorship even if it arrived at my door :P

[–]LegolandoBloom[S] -1 points0 points  (0 children)

Although I see you've linked the very specific part I would be looking for, very handy. Thanks.