4 ms·
Arrays. (Uhhg...I said it but I feel dirty.) ;-~ I've never liked arrays due to the brackets. But in a twist of irony, I now spend all day in Groovy and I use
by mmorett 14y ago
Arrays. (Uhhg...I said it but I feel dirty.) ;-~
I've never liked arrays due to the brackets. But in a twist of irony, I now spend all day in Groovy and I use maps, thus brackets all the time. Yet I don't even notice.
So after carefully thinking about it, I now realize its not the brackets. I can't explain it. There's something about arrays I just despise despite having no similar ill will towards ArrayLists. They just feel so 70s.
- qu4z-2 14y agoPersonally I much prefer a[i - 1] syntax over a.charAt(i - 1). The extra "charAt" seems noisy to me. But that's probably just my C background showing.