Slashdot Mirror


Possible Reason Behind Version Hop to Windows 10: Compatibility

First time accepted submitter ndykman (659315) writes The Independent reports that a MS developer has suggested a real reason behind the Windows 10 name: old code. More specifically, code that looks for "Windows 9" to determine the Windows version. Fine for Windows 95 or Windows 98, but not so great for a new operating system. The article includes a link that shows that yes, this would be a problem.

19 of 349 comments (clear)

  1. Re:Windows 9X by ArcadeMan · · Score: 5, Funny

    Windows 9.8, Secure Edition

  2. 11 by Jamu · · Score: 5, Funny

    It would have been better if they'd gone with Windows 11. One better.

    --
    Who ordered that?
    1. Re:11 by JustOK · · Score: 5, Funny

      +11 Spinal Tap

      --
      rewriting history since 2109
  3. How badly coded are Windows applications? by ArcadeMan · · Score: 5, Insightful

    If something as stupid as the name of the operating system can trip up some applications, what about the rest of the code?

    Instead of giving programmers dozens of ways of checking and doing things, they should be forced into doing it one way. Easier to prevent mistakes, check for errors, etc.

    1. Re:How badly coded are Windows applications? by CaptainDork · · Score: 5, Funny

      Ah ... grasshopper ...

      You will learn as, you progress in your journey, that convenience is a forever code.

      I give you, Y2K.

      --
      It little behooves the best of us to comment on the rest of us.
    2. Re:How badly coded are Windows applications? by thegarbz · · Score: 5, Insightful

      Major fallacy right there. This has nothing to do with windows applications, and nothing to do with giving programmers ways of checking things.

      This has everything to do with bad programming, and no Mac and Linux are most definitely not immune from this either. Windows has an API to determine the version number, just like Linux has a way of determining it too. The problem is when programmers don't know or understand the API that things break. It's not even a case of giving programmers different ways of checking things. Different APIs are there for different reasons, the problem is idiot programmers who use the response of one API to infer information they should otherwise have gotten from another.

    3. Re:How badly coded are Windows applications? by K.+S.+Kyosuke · · Score: 5, Interesting

      Microsoft has a history of treating broken apps very gracefully; this explanation seems perfectly plausible and very much in line with what Raymond Chen writes about on his Old New Thing blog.

      --
      Ezekiel 23:20
    4. Re:How badly coded are Windows applications? by Anonymous Coward · · Score: 5, Informative

      The search in the article shows mainly Java applications.

      But the coding problem isn't specific to Windows. Opera suffers from this problem and so does every web browser that had a "version 10" that browser strings looked only for "1" or version 20 that looked for a "2" like Firefox.

      Opera still by default says its Opera 9.8

      But ultimately, garbage code needs to be thrown away and programmers need to stop doing stupid things like this.

    5. Re:How badly coded are Windows applications? by steelfood · · Score: 5, Interesting

      It's also rather short-sighted, not to mention lazy, to look for "Windows 9.*". I mean, Windows began with version numbers (Windows 1.0, Windows 2.0, Windows 3.0). There's no reason to think that Microsoft wouldn't go back to version numbers.

      At the very least, look for the string "Windows 95" and "Windows 98", since there are really only two versions of Windows relevant to the "Windows 9.*" search string. I know hindsight is 20/20, but this one really was avoidable by the simple principle of not being lazy (even if ignorant).

      --
      "If a nation expects to be ignorant and free in a state of civilization, it expects what never was and never will be."
    6. Re:How badly coded are Windows applications? by PPH · · Score: 5, Funny

      Leave it to the software industry to call the Year 2000 problem 'Y2K'. That's how they got into trouble in the first place.

      --
      Have gnu, will travel.
    7. Re:How badly coded are Windows applications? by dbIII · · Score: 5, Interesting

      I had a Y2K bug introduced in 2008 in Macrovison's piece of shit "protection" software, flexlm, which stopped me running the software I had paid for because a perpetual licence was dated "00" and so was the year 2000.
      The phone support guy had never heard of the Y2K bug!
      It took a week and a half to sort out and meanwhile three people in the office had to work around it instead of using the software that was "protected". And people wonder why I prefer open source software.

  4. Re:This is Java code by thegarbz · · Score: 5, Informative

    GetVersionEx(Inout_ LPOSVERSIONINFO lpVersionInfo);
    Returns the major and minor versions, build number, platform id, service pack major and minor, and the product type.

    It basically spits out all the crap in that appears on the bottom right corner of windows when you boot up in safemode.
    Also unlike the stupid marketing names the OS versions actually make sense.

    Windows 8 returns version 6.2.

  5. I call hogwash by Excelcia · · Score: 5, Informative

    I call this hogwash. When you ask Windows what version it is in software, it doesn't return its marketing name (Windows 95, Windows 2000), it returns it's platform ID (1 for DOS based, 2 for NT based), and its version numbers in major, minor format. Windows 95 returned 4.0 (platform 1), Windows 98 returned 4.1 (platform 1). Windows 2000 returned 5.0 (platform 2).

  6. better name by goombah99 · · Score: 5, Insightful

    they should have just changed the whole name from "windows" to "Balmers gone, and its safe to us windows again, please come back".

    --
    Some drink at the fountain of knowledge. Others just gargle.
    1. Re: better name by Anonymous Coward · · Score: 5, Funny

      2008 is growing on me, but really after half a decade it's likely just Stockholm syndrome.

  7. Re:Doh! by jellomizer · · Score: 5, Funny

    I figured it had to do with Roman numerals.
    They skipped Windows 4 (IV) and they are skipping version 9 (IX)
    I figured there is a bug in the roman numeral check for the numbers the need to subtract before the value.

    --
    If something is so important that you feel the need to post it on the internet... It probably isn't that important.
  8. Re:And Java fail again by Anonymous Coward · · Score: 5, Funny

    The problem isn't Windows, the problem is incompetent programmers. Instead of calling the proper API to get the version number, morons are doing things like

    if (os.startsWith("Windows 9")

    You're right. Failing to close your parens is a sign of an incompetent programmer.

  9. Re:Bullcrap by Your.Master · · Score: 5, Informative

    Type this into powershell:

    (Get-WmiObject Win32_OperatingSystem).Caption

    There's your marketing name.

    Took about 60 seconds of Googling to not only find this, but to find it in code that was making the same sort of error we're talking about (not literally the number 9). See this: http://ss64.com/ps/get-wmiobje... -- that's using the -match operator which is a regex comparison, and thus inferring whether it's a server build by a mismatch between the marketing name and the build name..

    Granted, I don't think powershell existed on Windows 95. I expect it's just wrapping an API that did exist. If it comes right down to it, the registry itself has the versioning information available to anybody who can use ctrl+f in regedit to find the key, and people do indeed do that.

    Trust me, MS doesn't give the slightest concern about any broken Java apps.

    No, I don't trust that statement in the slightest. Why would you think that? It's very contrary to Microsoft's behaviour in the past.

    I have no idea why they chose to name Windows "Windows 10", and I'm not convinced of this, but this is not so implausible as you seem to think.

  10. Re:Windows 9X by donaldm · · Score: 5, Interesting

    The whole article is Bull since MS Windows uses the NT kernel and their so called Windows 10 has an NT 6.4 kernel (see here ). For those that won't read the article the following is a list of NT versions from MS Windows Vista.

    NT6.0 - MS Windows Vista, Server 2008
    NT6.1 - MS Windows 7, Server 2008 R2, Home Server 2011
    NT6.2 - MS Windows 8
    NT6.3 - MS Windows 8.1
    NT6.4 - MS Windows 10

    Sure some of the apps my be different (slightly :)) but the basic kernel is only a minor increment. If the developers find difficulty in writing software that can't determine revision difference then I suggest they go back to school. Basically the whole reason to go to version 10 is IMHO marketing hype of which the Microsoft PR department excels (pun intended).

    --
    There ain't no such thing as proprietary standards only proprietary formats. Standards are by definition open.