ATTENTION: You are viewing a page formatted for mobile devices; to view the full web page, click HERE.

Main Area and Open Discussion > Living Room

Win9 will be FREE!

<< < (13/16) > >>

app103:
As it turns out, Java lets you do stupid stuff like this.  :huh:

https://searchcode.com/?q=if%28version%2Cstartswith%28%22windows+9%22%29

Ath:
As it turns out, Java lets you do stupid stuff like this.  :huh:

https://searchcode.com/?q=if%28version%2Cstartswith%28%22windows+9%22%29
-app103 (October 02, 2014, 03:07 AM)
--- End quote ---
That's not Java to blame, just stupid/sloppy/lazy programming, and people tend to repeat their mistakes :-\

app103:
As it turns out, Java lets you do stupid stuff like this.  :huh:

https://searchcode.com/?q=if%28version%2Cstartswith%28%22windows+9%22%29
-app103 (October 02, 2014, 03:07 AM)
--- End quote ---
That's not Java to blame, just stupid/sloppy/lazy programming, and people tend to repeat their mistakes :-\
-Ath (October 02, 2014, 04:01 AM)
--- End quote ---

No, I blame Java, since it allows you to get the OS version from the Java platform, rather than directly from the OS itself, and it delivers it as a pretty plain English string. This allows you to easily do stupid stuff you could never get away with in another language that forces you to get the info directly from the OS or delivers the info through its built in functions in a way that forces you to do things in a less asinine way. This is one of those cases where Java lets you shoot yourself in the foot*.

http://docs.oracle.com/javase/tutorial/essential/environment/sysprop.html

*Yes, I know every language includes shoot your foot stuff.

SeraphimLabs:
I do hope you guys actually read the terms of use on that beta participation program.

If you associate your Microsoft account with your Program Device, you consent to the Program Services automatically using data associated with your Microsoft account and services tied to your Microsoft account to improve Microsoft and partner products and services.
--- End quote ---

We shall see what happens though. Just because it's good now doesn't mean the release will also be.

I kinda liked Longhorn actually, it did well for what it was. When the release came around, they had chopped it up and turned into the nightmare called Vista.

Jibz:
As it turns out, Java lets you do stupid stuff like this.  :huh:

https://searchcode.com/?q=if%28version%2Cstartswith%28%22windows+9%22%29
-app103 (October 02, 2014, 03:07 AM)
--- End quote ---

But if they name it Windows 10, what about all the legacy software that checks for Windows 1.x by string compare???!

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version