The Altera Centauri collection has been brought up to date by Darsnan. It comprises every decent scenario he's been able to find anywhere on the web, going back over 20 years.
25 themes/skins/styles are now available to members. Check the select drop-down at the bottom-left of each page.
Call To Power 2 Cradle 3+ mod in progress: https://apolyton.net/forum/other-games/call-to-power-2/ctp2-creation/9437883-making-cradle-3-fully-compatible-with-the-apolyton-edition
Do we really have to play the "BlackCat defends some dumb comment he made long past the point that it's obvious to everyone else that he's wrong" game again?
Really? Okay, I was under the false impression that they were some special structure or whatnot.
The most annoying thing about string arrays is Java's refusal to overload == to test string equality as opposed to just comparing the references. I don't know, I feel like they should have just made an exception for strings.
No, that would be horrible. The correct answer is to make == syntactic sugar for an equals() call and make === or some other operator test reference equality.
Actually, arrays kind of suck. It's hard to come up with a case where I'd actually want to use them if a halfway decent collections library is available.
Hope you're joking.
The performance differences between collections and arrays is significant. Less so in Java, but still significant. Further still, iterating through lists is usually significantly faster also.
"The issue is there are still many people out there that use religion as a crutch for bigotry and hate. Like Ben."
Ben Kenobi: "That means I'm doing something right. "
Overhead of this kind is not really an issue in Java as it's running in a VM anyways and the overhead of function calls is so minute.
You start to notice function calls when you're doing high-performance parallel or graphics computing but you're probably using C, C++ or Fortran for that in which case much of the coding guidelines of Java no longer apply.
When I did a simulation of n-body planetary motion in Parallel Computing last year, there was one place where taking out a function call actually noticeably sped my program up. But you are unlikely to hit that issue in java.
If there is no sound in space, how come you can hear the lasers? ){ :|:& };:
No, that would be horrible. The correct answer is to make == syntactic sugar for an equals() call and make === or some other operator test reference equality.
That's one way of doing it. I would actually go the other route and do === is syntactic sugar for equals() because I think (rather subjectively/arbitrarily) that it would be more consistent with the way PHP and Javascript use === to test for type and value equality.
My point was mainly that it's annoying to test equality of strings and that I don't think there are compelling reasons not to make it more convenient.
If there is no sound in space, how come you can hear the lasers? ){ :|:& };:
No, I'm sorry, the overhead of a method call in Java is never an issue unless you are completely incompetent.
You are just joking -I at least hope that you are
With or without religion, you would have good people doing good things and evil people doing evil things. But for good people to do evil things, that takes religion.
HERE ARE THE RELEVANT PIECES OF CODE FROM ARRAYLIST.JAVA IN THE ACTUAL ****ING JDK VERSION 6.18:
ArrayList is an exception, not a rule.
"The issue is there are still many people out there that use religion as a crutch for bigotry and hate. Like Ben."
Ben Kenobi: "That means I'm doing something right. "
Which language and which collections? As above, ArrayList is just a shim over arrays anyway...
You're cherrypicking ArrayList because it's just an Array which implements the List interface.
I thought it was clear the concept of the discussion was arrays vs real collections. An ArrayList is, for all intents and purposes, an array. It just comes with a List interface to it.
"The issue is there are still many people out there that use religion as a crutch for bigotry and hate. Like Ben."
Ben Kenobi: "That means I'm doing something right. "
You're cherrypicking ArrayList because it's just an Array which implements the List interface.
I thought it was clear the concept of the discussion was arrays vs real collections.
And I thought it was clear the discussion was "should you ever use arrays, or should you use the relevant Collections class?" If you need an array you should use ArrayList. This is 1000x as true in Java with the half-assed generics.
Comment