Recently, Microsoft introduced and provided a preview of the Windows 10 operating system for the first time. The most surprising news of this is the next-generation operating system after Windows 8, not called Windows 9, but directly named Windows 10.
According to Microsoft's historical practice, this version of the operating system should be named "Windows 9".
Why did Microsoft break this practice, and the tech media made various analysis and speculations. There is a view that Microsoft is so named, hoping to show that the version of the operating system has been greatly improved and updated from Windows 8, so "two levels" can reflect the innovative value of the new system.
However, this analysis is untenable. In fact, at this media briefing, Microsoft executives responsible for system demonstrations also made it clear that the Windows 8 operating system is not balanced in touch control and keyboard and mouse control, and the new system needs to be changed.
In Windows 10, there are more familiar interfaces for traditional Windows 7 users. The characteristics of this system are more innovative than the “return to ancient”.
In recent days, many IT industry insiders pointed out on Twitter and the media that Microsoft skipped the most important reason for Windows 9— — and the existence of Windows 95 and Windows 98 technology released more than ten years ago. conflict.
A number of people pointed out that in some software developed in the past, the operating system version was checked with the relevant function, and the characters in front of Windows 95 and Windows 98, and "Windows 9" were consistent, due to the current year. The application software developed is not well thought out and may result in errors and problems.
In other words, the programmer of the year judged that if the operating system name contains "Windows 9", it is judged to be Windows 95 or Windows 98. Because these softwares have been in use for many years, it is no longer possible to modify the code for the new system. If Microsoft uses "Windows 9", it will cause a lot of problems in the legacy software set.
According to the analysis, for this reason, Microsoft decided to skip directly "Windows 9", named ""Windows 10”.
Explain from a technical point of view why Microsoft does not use Windows 9
So from a technical point of view, why does Microsoft skip 9 and use 10 directly? According to Microsoft's internal developers, it is considered for the version number of the previous operating system.
The example code is as follows:
Copy the code
The code is as follows: if ( version.StartsWith("Windows 9") ){ /*Windows 95, Windows 98 */</p><p>} else{</p><p>}
When software developers use: “ If the version number starts at xxx, then yyy” is executed, and two cases will be judged correctly
Windows 9
Windows 9* (Windows 95 Windows 98) 95 and 98 are also included at the beginning In summary, in the early days of testing, Microsoft found that many third-party software developers used the above method to determine the operating system, which would cause the program to use the above code when running on Windows 95 and Windows 98. The program will be mistakenly judged as WIndows “9″.
So Microsoft developers had to name Windows 10 in order to avoid this instability.
How do you still write code like this? Oracle also really wrote this in openJDK.
http://cr.openjdk.java.net/~simonis/…c.java.sdiff.html
Line 602
The same way of writing There is a famous jEdit editor!
https://searchcode.com/codesearch/view/1393856/
Line 48
Although some airlines now allow passengers to use electronic equipment on the aircraft, in most of
Compressed file allows us to transfer faster or reduce disk space. However, sometimes we will encoun
This news WP8.1 has always been known for its fluency. It seems that the situation of Win10 Mobile i
Windows 10 is a new generation of cross-platform and device application operating systems developed
What should I do if the win7 64-bit running software prompts MSCOMCTL.OCX to be missing or invalid?
Official confirmation: win10 free upgrade in the first year of the first year to collect money
Windows system disk bad sectors how to repair and use
WinXP set Ctrl+Alt+Del key to lock the computer steps
What should I do if the Win10 camera does not open? Win10 camera can not open the solution
How does Win8 open the Internet option?
Detailed steps for installing a network printer under Win8 system (full diagram)
Win10 preview version 14379 how to create all task toolbox folder?
Solution for Windows 10 System Freeze Bug Problem
The perfect solution for the stubborn virus files can not be deleted under the Win7 Ultimate system
Amazing Windows system boot method collection
Windows8.1 SecureBoot does not properly configure patch
More than 2000 Win10 users voice: Edge is not good enough!
Win7 dual screen makes you cool holiday
Windows Server 2003 switch machine optimization skills
How to back up the virus database before reinstalling the system (1)
Win7 notebook sound, noise solution
Win10 system upnp service how to open win10 system upnp service can not start two solutions