Join us at the Oolite Anniversary Party -- London, 7th July 2024, 1pm
More details in this thread.

dealEnergyDamageWithinDesiredRange is broken

For test results, bug reports, announcements of new builds etc.

Moderators: another_commander, winston, Getafix

User avatar
DaddyHoggy
Intergalactic Spam Assassin
Intergalactic Spam Assassin
Posts: 8501
Joined: Tue Dec 05, 2006 9:43 pm
Location: Newbury, UK
Contact:

Post by DaddyHoggy »

dealFixedAmountOfDamageWithinDesiredRange?

Is it a competition for very long variable names?
Selezen wrote:
Apparently I was having a DaddyHoggy moment.
Oolite Life is now revealed here
User avatar
Commander McLane
---- E L I T E ----
---- E L I T E ----
Posts: 9520
Joined: Thu Dec 14, 2006 9:08 am
Location: a Hacker Outpost in a moderately remote area
Contact:

Post by Commander McLane »

DaddyHoggy wrote:
dealFixedAmountOfDamageWithinDesiredRange?

Is it a competition for very long variable names?
Oh, that's nothing. Have you seen scanForNearestShipWithPrimaryRole, scanForNearestShipWithAnyPrimaryRole, scanForNearestShipWithoutPrimaryRole and scanForNearestShipWithoutAnyPrimaryRole yet? (And there is a whole bunch of others to it as well.)

Oh, and performHyperSpaceExitWithoutReplacing isn't bad, either. :wink:
User avatar
DaddyHoggy
Intergalactic Spam Assassin
Intergalactic Spam Assassin
Posts: 8501
Joined: Tue Dec 05, 2006 9:43 pm
Location: Newbury, UK
Contact:

Post by DaddyHoggy »

At least the clue is in the name!

My first job (fresh out of uni) was to debug some code for the MOD written in Fortran 77 (having never done Fortran at uni the learning curve was extremely steep). The previous programmer had failed to comment any of his 100,000+ lines of code and had obviously got bored/writer's block and had resorted to his local green grocer as inspiration and thus I had to hunt down interest variables such as banana, cabbage and turnip to name just three,

Never again!
Selezen wrote:
Apparently I was having a DaddyHoggy moment.
Oolite Life is now revealed here
User avatar
Commander McLane
---- E L I T E ----
---- E L I T E ----
Posts: 9520
Joined: Thu Dec 14, 2006 9:08 am
Location: a Hacker Outpost in a moderately remote area
Contact:

Post by Commander McLane »

@ DaddyHoggy: And now imagine your previous programmer would have lived next to or in the local red-light district, and had resorted to names of articles he found there... :wink:
User avatar
DaddyHoggy
Intergalactic Spam Assassin
Intergalactic Spam Assassin
Posts: 8501
Joined: Tue Dec 05, 2006 9:43 pm
Location: Newbury, UK
Contact:

Post by DaddyHoggy »

:oops: :shock: :wink: :D
Selezen wrote:
Apparently I was having a DaddyHoggy moment.
Oolite Life is now revealed here
Post Reply