andrewducker: (no glasses)
[personal profile] andrewducker
Having now been using Java for 2 weeks I feel categorically able to make two definitive statements about terrible, terrible design decisions.

1) Case Sensitivity is a really stupid idea. When you're trying to debug your code the last thing you want to be doing is trying to spot which bit of a name you've miscapitalised. There's just no need for it any more - it's obviously a hangover from the days when the extra step of converting everything to the same case during compilation would have been an overload. Nowdays having to remember that MyPatternMatcher and myPatternMatcher aren't the same is just silly. Oh, and the fucking capitalisation of the built-in libraries, where everything starts with a lower-case character, but then has upper case characters for all following words (i.e. myList.getNextListEntry) is just plain fucked up - either words should start with a capital letter, or they bloody well shouldn't.

2) Zero Based Counting are just positively counterintuitive. I mean, yes, if you start counting at 1 then you might waste a teeny amount of storage, but it prevents the silliness that happens when you retrieve an array size and then access the contents of the entries up to _one less than that number_. Imagine trying to do this anywhere in life except in a computer program? Wait - we do! The British insist that there is a ground floor and _then_ a first floor, and look how stupidly confusing that is to everyone else. Again - back in the olden days this might have been acceptable, but it makes things actively less readable and is therefore BAD.

Thankfully it does have iterators, so I can live with that. And the latest version even has a ForEach statement, which is positively modern and useful.

January 2026

S M T W T F S
     1 2 3
45 6 7 8 9 10
11 12 13 1415 16 17
18 19 20 21 22 23 24
25 26 27 28 293031

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Jan. 29th, 2026 03:20 pm
Powered by Dreamwidth Studios