Navigation

    TripleA Logo

    TripleA Forum

    • Register
    • Login
    • Search
    • TripleA Website
    • Categories
    • Recent
    • Popular
    • Users
    • Groups
    • Tags

    defense vs defence

    Feature Requests & Ideas
    9
    25
    2983
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • F
      ff03k64 last edited by

      should pick one or the other of these for consistencies sake.

      B 1 Reply Last reply Reply Quote 1
      • B
        beelee @ff03k64 last edited by

        @ff03k64 you should ask @Cernel for his opinion 🙂

        C 1 Reply Last reply Reply Quote 1
        • C
          Cernel Moderators @beelee last edited by

          @beelee This is just part of the general matter whether to use British English or American English. I would prefer British English, as that is the English normally used in my country.

          1 Reply Last reply Reply Quote 2
          • S
            SilverBullet last edited by SilverBullet

            i always type as "offense" and "defense". notice the very last line of this post.

            https://www.bing.com/search?q=defence&cvid=30d3cb118ab84622ba95cc64a1ae303d&pglt=43&FORM=ANNTA1&PC=U531

            defense
            [dəˈfens, ˈdēˌfens]
            NOUN
            defence (noun)
            the action of defending from or resisting attack.

            https://grammarist.com/spelling/defence-defense/#:~:text=Defence and defense are different spellings of the,of English%2C including Australian%2C British%2C and Canadian English.

            SPELLING
            Defence vs. defense
            Defence and defense are different spellings of the same word. Defense is preferred in American English, and defence is preferred in all other main varieties of English, including Australian, British, and Canadian English. The spelling distinction extends to most derivatives of defence/defense, including defences/defenses and defenceless/defenseless. But the words defensive, defensiveness, and defensively have an s everywhere.

            1 Reply Last reply Reply Quote 0
            • F
              ff03k64 last edited by

              I don't think it matters which one, i just had times where i was searching for the wrong one, and couldn't find stuff.

              1 Reply Last reply Reply Quote 2
              • LaFayette
                LaFayette Admin last edited by LaFayette

                Inconsistent spelling makes things just more difficult. Not only do you have to know which text you want, but how that text was spelled (and spelling mistakes make this ironic and painful).

                I think we talked about this before, the majority of code and text are spelled with American English, that would be the choice to consolidate.

                Generally to answer this kind of question, where no choice is really better or worse necessarily, you do a survey to see how much you have of one or another and choose the one you have the most of to minimize the migration effort.

                In this case, with the spelling baked into XMLs, I'm afraid we're just 100% stuck with it. It could be conceivable to update the code to accept either spelling, though I'm not sure if that is actually going to be that helpful and not just more complicated.

                Panther ubernaut F 3 Replies Last reply Reply Quote 4
                • Panther
                  Panther Admin Moderators @LaFayette last edited by

                  @LaFayette said in defense vs defence:

                  In this case, with the spelling baked into XMLs, I'm afraid we're just 100% stuck with it. It could be conceivable to update the code to accept either spelling, though I'm not sure if that is actually going to be that helpful and not just more complicated.

                  I have just looked at the pos2.xml and found 9 times "defence" and 58 times "defense" in there.
                  Also in global1940.xml there is one "defence" and 18 times "defense".

                  Not sure if and how that affects anything, however...

                  1 Reply Last reply Reply Quote 3
                  • ubernaut
                    ubernaut Moderators @LaFayette last edited by

                    @LaFayette can't we just do a find and replace?

                    LaFayette 1 Reply Last reply Reply Quote 1
                    • F
                      ff03k64 @LaFayette last edited by

                      @LaFayette From my outdated coding experience, it doesn't seem like it should be too terribly difficult to accept either option

                      1 Reply Last reply Reply Quote 1
                      • LaFayette
                        LaFayette Admin @ubernaut last edited by

                        @ubernaut If we do a find and replace then we break existing game engines. Second, we're likely to break save games as well doing so.

                        @ff03k64 accepting both options could be done. It's not a clear decision though as the code is unsustainably complex. Making that worse is not a clear win. More to the first point, if we make any updates in maps, then we're requiring game engines to be updated and possibly breaking save games, else we're creating maps that only the newest engines can play and the game engine does not do a good job of filtering that out.

                        ubernaut 1 Reply Last reply Reply Quote 2
                        • ubernaut
                          ubernaut Moderators @LaFayette last edited by

                          @LaFayette not a coder, just a thought, was assuming a find and replace in the engines as well would catch all instances, but yeah again what do i know. 😛

                          1 Reply Last reply Reply Quote 1
                          • C
                            Cernel Moderators last edited by

                            Beside being what it is used in the English of England, "defence", instead of "defense", also sounds correct to me for analogy with "advice" and "advise", since "advice" is a noun and "advise" is a verb, and "defence" is a noun, not a verb (the verb is "defend", of course).

                            According to this graphic:
                            https://books.google.com/ngrams/graph?content=defense%2Cdefence&corpus=5&year_start=1900&year_end=2000&smoothing=3&direct_url=t1%3B%2Cdefense%3B%2Cc0%3B.t1%3B%2Cdefence%3B%2Cc0#t1%3B%2Cdefense%3B%2Cc0%3B.t1%3B%2Cdefence%3B%2Cc0
                            "defence" was the prevailing spelling in American English before 1911 (that is only 109 years ago). So, one may want to investigate whether the "defence" spelling might be acceptable in American English too (whether it is a wrong or only uncommon spelling for the language). I don't know.

                            I also want to point out that, on the other hand, we have "offence" but not "offense", on its own, because TripleA defines that as "attack".

                            As @Panther says, pos2.xml has 9 times "defence" and 58 times "defense", but it also has 9 times "offence" and 6 times "offense", instead.
                            https://github.com/triplea-maps/the_pact_of_steel/blob/master/map/games/pact_of_steel_2.xml

                            ubernaut 1 Reply Last reply Reply Quote 1
                            • ubernaut
                              ubernaut Moderators @Cernel last edited by

                              @Cernel i can tell you its the first time i've ever seen it spelled that way and i tend to spell things the british way 😛

                              C 1 Reply Last reply Reply Quote 1
                              • LaFayette
                                LaFayette Admin last edited by

                                The benefit of consistent spelling is not correctness necessarily but so you can say "I know this property is named X", and you can then run with it. Otherwise you have to ask "is this the case where we mispelled this with the extra T?". In such a case you have to double check everything and you make more mistakes. It all goes to making parsing and making maps just way more difficult than it needs to be.

                                IMO this conversation kinda has run its course. Either we update the engine to accept both spellings, or not. Changing existing maps is pretty much a non-starter given we have to have both old and new engines both working.

                                If we do a grand re-write of map structure in YAML, such a thing should be fixed then for sure The existing XML spec is pretty much frozen. Should we support an alternative spelling going forward or wait for a grand re-write? Supporting an alternative might not be of that much value if we don't use it and have the YAML structure land anyways.

                                C 1 Reply Last reply Reply Quote 2
                                • C
                                  Cernel Moderators @LaFayette last edited by

                                  @LaFayette Actually, "defense" and "defence" are different options (the first for unit and the second for support attachments). Maybe this is the reason why they are different?

                                  1 Reply Last reply Reply Quote 1
                                  • C
                                    Cernel Moderators @ubernaut last edited by

                                    @ubernaut said in defense vs defence:

                                    @Cernel i can tell you its the first time i've ever seen it spelled that way and i tend to spell things the british way 😛

                                    This would be the matter since 1789, that is since the Constitution of the United States of America has been active (turning an alliance of rebellious colonial states into a single country, with an official language, possibly different from the language of other countries):
                                    https://books.google.com/ngrams/graph?content=defense%2Cdefence&corpus=5&year_start=1789&year_end=2000&smoothing=3&direct_url=t1%3B%2Cdefense%3B%2Cc0%3B.t1%3B%2Cdefence%3B%2Cc0#t1%3B%2Cdefense%3B%2Cc0%3B.t1%3B%2Cdefence%3B%2Cc0

                                    20200830.png

                                    At least until 1840, the "defense" spelling was next to inexistent in usage, looks like. So I assume this is a case of a misspelling eventually becoming dominant. I don't know if this dominance actually implies that the "defence" spelling is currently no longer a word in American English, though. Maybe they are both acceptable?

                                    ubernaut RoiEX RogerCooper 3 Replies Last reply Reply Quote 2
                                    • ubernaut
                                      ubernaut Moderators @Cernel last edited by

                                      @Cernel cool chart but yeah until this conv i had never seen it spelled that way.

                                      C 1 Reply Last reply Reply Quote 1
                                      • C
                                        Cernel Moderators @ubernaut last edited by

                                        @ubernaut said in defense vs defence:

                                        @Cernel cool chart but yeah until this conv i had never seen it spelled that way.

                                        I'm not surprised, and the fact that the "defense" spelling is most likely the "current" spelling is also hinted by the graph, as you can see the word "defense" has a huge increase in usage during World War 1 and World War 2, peaking in 1918 and 1943, respectively. On the other hand, the word "defence" is unaffected or even negatively affected, during the same periods. So, most likely "defense" is what was mostly used in new productions.

                                        The word "defense" has never been so common since 1943, even though the 1987 peak almost reached the same levels, maybe mostly because of the Iran-Iraq war and the anti-nuclear treaty between USA and USSR.

                                        The word "defence", instead, peaked back in 1794, a high mark during the French Revolutionary Wars, that is also the peak of guillotine executions in Paris and the last year of the Terror, with the fall of Maximilien Robespierre, during the French Revolution.
                                        https://en.wikipedia.org/wiki/Battle_of_Fleurus_(1794)

                                        I think also the Napoleonic Empires game of TripleA starts in 1794, since that is the year when modern-day Belgium is taken by the French from the Austrians, and kept until 1814, after having crushed the anti-revolutionaries within France itself.

                                        S 1 Reply Last reply Reply Quote 1
                                        • S
                                          SilverBullet @Cernel last edited by

                                          @Cernel we need to play more Napoleon ffa!

                                          1 Reply Last reply Reply Quote 0
                                          • RoiEX
                                            RoiEX Admin @Cernel last edited by

                                            @Cernel The english language is weird ^^

                                            B 1 Reply Last reply Reply Quote 2
                                            • 1
                                            • 2
                                            • 1 / 2
                                            • First post
                                              Last post
                                            Copyright © 2016-2018 TripleA-Devs | Powered by NodeBB Forums