What If
-
No.
"I have a theory that the truth is never told during the nine-to-five hours. " — Hunter S. Thompson
Why?
Help a brotha out and vote Managing Your JavaScript Library in ASP.NET as the best ASP.NET article of May 2011.
-
Why?
Help a brotha out and vote Managing Your JavaScript Library in ASP.NET as the best ASP.NET article of May 2011.
Gerbil got it good: http://www.codeproject.com/Lounge.aspx?msg=3925537#xx3925537xx[^] Generally I don't feel like what you described is a step in the right direction.
"I have a theory that the truth is never told during the nine-to-five hours. " — Hunter S. Thompson
-
What if HTML/JavaScript really were the only way to go from Windows 8 and onward? What if you were given access to the entire .Net Framework from JavaScript? What if the IDE verified JavaScript variable types at compile time? What if Visual Studio supported a pseudo form of generics (e.g.,
var myList = new List.of(String)(constructorParameter);
)? What if the framework included full support for 3D in the canvas? What if Visual Studio included a JavaScript library capable of just as complex graphics and just as sophisticated events/binding as is possible with WPF? What if every obstacle that currently exists in JavaScript development that is possible to overcome was done so by the new Visual Studio? Would you be happy to develop desktop applications using HTML/JavaScript then? EDIT: Also, it would be perfect if Microsoft's new fancy JavaScript library was accessed via a jQuery-like variable/function, "M$". ;)Help a brotha out and vote Managing Your JavaScript Library in ASP.NET as the best ASP.NET article of May 2011.
AspDotNetDev wrote:
Would you be happy to develop desktop applications using HTML/JavaScript then?
No!!! Before you ask why does what you are proposing contain the word java in any sense?
pseudonym67 My Articles[^] Personal Music Player[^]
-
Gerbil got it good: http://www.codeproject.com/Lounge.aspx?msg=3925537#xx3925537xx[^] Generally I don't feel like what you described is a step in the right direction.
"I have a theory that the truth is never told during the nine-to-five hours. " — Hunter S. Thompson
What specifically from that post do you think is applicable to the hypothetical situation I described?
Help a brotha out and vote Managing Your JavaScript Library in ASP.NET as the best ASP.NET article of May 2011.
-
AspDotNetDev wrote:
Would you be happy to develop desktop applications using HTML/JavaScript then?
No!!! Before you ask why does what you are proposing contain the word java in any sense?
pseudonym67 My Articles[^] Personal Music Player[^]
Why‽‽‽
Help a brotha out and vote Managing Your JavaScript Library in ASP.NET as the best ASP.NET article of May 2011.
-
Why‽‽‽
Help a brotha out and vote Managing Your JavaScript Library in ASP.NET as the best ASP.NET article of May 2011.
too late :)
pseudonym67 My Articles[^] Personal Music Player[^]
-
What if HTML/JavaScript really were the only way to go from Windows 8 and onward? What if you were given access to the entire .Net Framework from JavaScript? What if the IDE verified JavaScript variable types at compile time? What if Visual Studio supported a pseudo form of generics (e.g.,
var myList = new List.of(String)(constructorParameter);
)? What if the framework included full support for 3D in the canvas? What if Visual Studio included a JavaScript library capable of just as complex graphics and just as sophisticated events/binding as is possible with WPF? What if every obstacle that currently exists in JavaScript development that is possible to overcome was done so by the new Visual Studio? Would you be happy to develop desktop applications using HTML/JavaScript then? EDIT: Also, it would be perfect if Microsoft's new fancy JavaScript library was accessed via a jQuery-like variable/function, "M$". ;)Help a brotha out and vote Managing Your JavaScript Library in ASP.NET as the best ASP.NET article of May 2011.
and what if it was called Visual js# :)
-
What specifically from that post do you think is applicable to the hypothetical situation I described?
Help a brotha out and vote Managing Your JavaScript Library in ASP.NET as the best ASP.NET article of May 2011.
It's more of a combination of your hypothetical and the OP's sentiment. It feels a step backwards to basically change VS to work with Java/HTML and call .NET via a library, if I'm interpreting your post correctly. I should clarify what I meant by my "No" now; I would just stop using VS. If MS moved away from .NET towards JS, I would join the exodus from VS. I will clarify, when I read this: Would you be happy to develop desktop applications using HTML/JavaScript then? I assumed you meant using VS.
"I have a theory that the truth is never told during the nine-to-five hours. " — Hunter S. Thompson
modified on Wednesday, June 15, 2011 9:52 AM
-
What if HTML/JavaScript really were the only way to go from Windows 8 and onward? What if you were given access to the entire .Net Framework from JavaScript? What if the IDE verified JavaScript variable types at compile time? What if Visual Studio supported a pseudo form of generics (e.g.,
var myList = new List.of(String)(constructorParameter);
)? What if the framework included full support for 3D in the canvas? What if Visual Studio included a JavaScript library capable of just as complex graphics and just as sophisticated events/binding as is possible with WPF? What if every obstacle that currently exists in JavaScript development that is possible to overcome was done so by the new Visual Studio? Would you be happy to develop desktop applications using HTML/JavaScript then? EDIT: Also, it would be perfect if Microsoft's new fancy JavaScript library was accessed via a jQuery-like variable/function, "M$". ;)Help a brotha out and vote Managing Your JavaScript Library in ASP.NET as the best ASP.NET article of May 2011.
AspDotNetDev wrote:
Would you be happy to develop desktop applications using HTML/JavaScript then?
Are you nuts? Not just no, but hell no. Marc
-
What if HTML/JavaScript really were the only way to go from Windows 8 and onward? What if you were given access to the entire .Net Framework from JavaScript? What if the IDE verified JavaScript variable types at compile time? What if Visual Studio supported a pseudo form of generics (e.g.,
var myList = new List.of(String)(constructorParameter);
)? What if the framework included full support for 3D in the canvas? What if Visual Studio included a JavaScript library capable of just as complex graphics and just as sophisticated events/binding as is possible with WPF? What if every obstacle that currently exists in JavaScript development that is possible to overcome was done so by the new Visual Studio? Would you be happy to develop desktop applications using HTML/JavaScript then? EDIT: Also, it would be perfect if Microsoft's new fancy JavaScript library was accessed via a jQuery-like variable/function, "M$". ;)Help a brotha out and vote Managing Your JavaScript Library in ASP.NET as the best ASP.NET article of May 2011.
If a shittuation (proposing a new word: shitty situation = shittuation :thumbsup: ) as you explain arises, I'll probably take up the deserted road. ASSEMBLY PROGRAMMING! With the rumours of the death of C++, I was already looking at it as an option. Sure, I'll have some learning to do, and I'll probably have to move my arse out and search for a job in some obscure company that does chip level programming. But hey, I do what I do for the love of it. And I have absolutely no love for javascript or html. :)
"Real men drive manual transmission" - Rajesh.
-
What if HTML/JavaScript really were the only way to go from Windows 8 and onward? What if you were given access to the entire .Net Framework from JavaScript? What if the IDE verified JavaScript variable types at compile time? What if Visual Studio supported a pseudo form of generics (e.g.,
var myList = new List.of(String)(constructorParameter);
)? What if the framework included full support for 3D in the canvas? What if Visual Studio included a JavaScript library capable of just as complex graphics and just as sophisticated events/binding as is possible with WPF? What if every obstacle that currently exists in JavaScript development that is possible to overcome was done so by the new Visual Studio? Would you be happy to develop desktop applications using HTML/JavaScript then? EDIT: Also, it would be perfect if Microsoft's new fancy JavaScript library was accessed via a jQuery-like variable/function, "M$". ;)Help a brotha out and vote Managing Your JavaScript Library in ASP.NET as the best ASP.NET article of May 2011.
It would still be slow because it's javascript. Javascript isn't designed for heavy lifting, and any attempt to make it more capable in this area will just turn it into another variation of PHP, or worse, Visual Basic.
".45 ACP - because shooting twice is just silly" - JSOP, 2010
-----
You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
-----
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass." - Dale Earnhardt, 1997 -
It would still be slow because it's javascript. Javascript isn't designed for heavy lifting, and any attempt to make it more capable in this area will just turn it into another variation of PHP, or worse, Visual Basic.
".45 ACP - because shooting twice is just silly" - JSOP, 2010
-----
You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
-----
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass." - Dale Earnhardt, 1997John Simmons / outlaw programmer wrote:
Javascript isn't designed for heavy lifting
Someone should really break this news to the guys who designed the Indian Railways website.
"Real men drive manual transmission" - Rajesh.
-
What if HTML/JavaScript really were the only way to go from Windows 8 and onward? What if you were given access to the entire .Net Framework from JavaScript? What if the IDE verified JavaScript variable types at compile time? What if Visual Studio supported a pseudo form of generics (e.g.,
var myList = new List.of(String)(constructorParameter);
)? What if the framework included full support for 3D in the canvas? What if Visual Studio included a JavaScript library capable of just as complex graphics and just as sophisticated events/binding as is possible with WPF? What if every obstacle that currently exists in JavaScript development that is possible to overcome was done so by the new Visual Studio? Would you be happy to develop desktop applications using HTML/JavaScript then? EDIT: Also, it would be perfect if Microsoft's new fancy JavaScript library was accessed via a jQuery-like variable/function, "M$". ;)Help a brotha out and vote Managing Your JavaScript Library in ASP.NET as the best ASP.NET article of May 2011.
Sure - the prime difference isn't going to be in the language, it's going to be all front ends will be HTML. Right now, ASP.NET generates controls that use JavaScript to manipulate HTML. My guess is that they'll start generating JavaScript that does more of the work on the front end and uses AJAX to get to the methods on the back end.
The 3-legged stool of understanding is held up by history, languages, and mathematics. Equipped with these three you can learn anything you want to learn. But if you lack any one of them you are just another ignorant peasant with dung on your boots. R. A. H.
-
It's more of a combination of your hypothetical and the OP's sentiment. It feels a step backwards to basically change VS to work with Java/HTML and call .NET via a library, if I'm interpreting your post correctly. I should clarify what I meant by my "No" now; I would just stop using VS. If MS moved away from .NET towards JS, I would join the exodus from VS. I will clarify, when I read this: Would you be happy to develop desktop applications using HTML/JavaScript then? I assumed you meant using VS.
"I have a theory that the truth is never told during the nine-to-five hours. " — Hunter S. Thompson
modified on Wednesday, June 15, 2011 9:52 AM
wizardzz wrote:
I would exodus from MS.
What would you do in your new career?
The 3-legged stool of understanding is held up by history, languages, and mathematics. Equipped with these three you can learn anything you want to learn. But if you lack any one of them you are just another ignorant peasant with dung on your boots. R. A. H.
-
What if HTML/JavaScript really were the only way to go from Windows 8 and onward? What if you were given access to the entire .Net Framework from JavaScript? What if the IDE verified JavaScript variable types at compile time? What if Visual Studio supported a pseudo form of generics (e.g.,
var myList = new List.of(String)(constructorParameter);
)? What if the framework included full support for 3D in the canvas? What if Visual Studio included a JavaScript library capable of just as complex graphics and just as sophisticated events/binding as is possible with WPF? What if every obstacle that currently exists in JavaScript development that is possible to overcome was done so by the new Visual Studio? Would you be happy to develop desktop applications using HTML/JavaScript then? EDIT: Also, it would be perfect if Microsoft's new fancy JavaScript library was accessed via a jQuery-like variable/function, "M$". ;)Help a brotha out and vote Managing Your JavaScript Library in ASP.NET as the best ASP.NET article of May 2011.
AspDotNetDev wrote:
What if you were given access to the entire .Net Framework from JavaScript?
You can already do it through JScript.NET (nonetheless).
AspDotNetDev wrote:
What if Visual Studio supported a pseudo form of generics (e.g.,
var myList = new List.of(String)(constructorParameter);
)?No. If you do not twist JavaScript to adapt to these conventions, it is far more powerful. Why bloat JS when there is no need to/
AspDotNetDev wrote:
What if the framework included full support for 3D in the canvas?
does not matter.
AspDotNetDev wrote:
What if Visual Studio included a JavaScript library capable of just as complex graphics and just as sophisticated events/binding as is possible with WPF?
Again, there are some libraries which already provide features which are close to WPF.
AspDotNetDev wrote:
Would you be happy to develop desktop applications using HTML/JavaScript then?
I am happy now. I have been mixing JS and HTML to develop desktop applications since the days of IE4. It was a neat concept and still remains a neat concept.
-
It would still be slow because it's javascript. Javascript isn't designed for heavy lifting, and any attempt to make it more capable in this area will just turn it into another variation of PHP, or worse, Visual Basic.
".45 ACP - because shooting twice is just silly" - JSOP, 2010
-----
You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
-----
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass." - Dale Earnhardt, 1997John Simmons / outlaw programmer wrote:
Javascript isn't designed for heavy lifting
That all depends on the implementation. JavaScript could be implemented using a JIT compiler like C#, and so could perform very well. Sure, there are things like
exec
that execute raw strings, but those could be treated as fringe cases (a bit like Reflection in C#). If we are talking about replacing WPF, we are really only talking abou Windows anyway, so we needn't consider performance on other platforms. And all of the JavaScript libraries could be built to at least support other platforms, though not as performant (again, though, we are talking about Windows 8 desktop development, so the ability of the apps to run on other platforms is really more of a bonus than a requirement).Help a brotha out and vote Managing Your JavaScript Library in ASP.NET as the best ASP.NET article of May 2011.
-
AspDotNetDev wrote:
Would you be happy to develop desktop applications using HTML/JavaScript then?
No!!! Before you ask why does what you are proposing contain the word java in any sense?
pseudonym67 My Articles[^] Personal Music Player[^]
pseudonym67 wrote:
Before you ask why does what you are proposing contain the word java in any sense?
Why would it? Java is entirely different from HTML and JavaScript.
Help a brotha out and vote Managing Your JavaScript Library in ASP.NET as the best ASP.NET article of May 2011.
-
wizardzz wrote:
I would exodus from MS.
What would you do in your new career?
The 3-legged stool of understanding is held up by history, languages, and mathematics. Equipped with these three you can learn anything you want to learn. But if you lack any one of them you are just another ignorant peasant with dung on your boots. R. A. H.
-
What if HTML/JavaScript really were the only way to go from Windows 8 and onward? What if you were given access to the entire .Net Framework from JavaScript? What if the IDE verified JavaScript variable types at compile time? What if Visual Studio supported a pseudo form of generics (e.g.,
var myList = new List.of(String)(constructorParameter);
)? What if the framework included full support for 3D in the canvas? What if Visual Studio included a JavaScript library capable of just as complex graphics and just as sophisticated events/binding as is possible with WPF? What if every obstacle that currently exists in JavaScript development that is possible to overcome was done so by the new Visual Studio? Would you be happy to develop desktop applications using HTML/JavaScript then? EDIT: Also, it would be perfect if Microsoft's new fancy JavaScript library was accessed via a jQuery-like variable/function, "M$". ;)Help a brotha out and vote Managing Your JavaScript Library in ASP.NET as the best ASP.NET article of May 2011.
That's ok until you want to write software. You know, that needs to carry out the task before the user falls asleep.
Join the cool kids - Come fold with us[^] "Program as if the technical support department is full of serial killers and they know your home address" - Ray Cassick Jr., RIP
-
What if HTML/JavaScript really were the only way to go from Windows 8 and onward? What if you were given access to the entire .Net Framework from JavaScript? What if the IDE verified JavaScript variable types at compile time? What if Visual Studio supported a pseudo form of generics (e.g.,
var myList = new List.of(String)(constructorParameter);
)? What if the framework included full support for 3D in the canvas? What if Visual Studio included a JavaScript library capable of just as complex graphics and just as sophisticated events/binding as is possible with WPF? What if every obstacle that currently exists in JavaScript development that is possible to overcome was done so by the new Visual Studio? Would you be happy to develop desktop applications using HTML/JavaScript then? EDIT: Also, it would be perfect if Microsoft's new fancy JavaScript library was accessed via a jQuery-like variable/function, "M$". ;)Help a brotha out and vote Managing Your JavaScript Library in ASP.NET as the best ASP.NET article of May 2011.