Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. I hate Javascript....

I hate Javascript....

Scheduled Pinned Locked Moved The Lounge
csharpc++javascripthtmlquestion
47 Posts 27 Posters 0 Views 1 Watching
  • 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.
  • L Lost User

    I despise the entire HTML stack. I loved the promise of the web but it's a nightmare putting together server side/client side code that uses entirely different technologies along with clunky HTML that has to work in several different browsers all against standards that aren't due out for another 10 years. Javascript is just one piece of the nightmare - the whole thing is a mess from start to finish. Unfortunately, it will never be fixed because the web is seen as international property and it's been handed over to a "consortium" that can take 10+ years to finalize a standard. That time line alone tells you all that needs to be said about the future of the web - a bunch of self-aggrandizing blowhards took it over - it's dead. By the time those guys get around to making a standard the interwebs will be ruled by App Stores. Nobody needs the World Wide Web anyways - buy 1/2 dozen apps that meet your needs and you're done. For the price of 1/2 dozen apps you can leave the world of clunky, slow, muddled interfaces behind. Seriously, you'll be on your 5th tablet with all the functionality you'll ever need when a headline pops up declaring the HMTL 5 standards finalized. You'll be like: What's HTML?

    F Offline
    F Offline
    Florin Jurcovici 0
    wrote on last edited by
    #34

    Maybe you just don't use the right tools? I mean, anybody trying to write Silverlight apps without a readymade library of controls would be pretty much out of luck. Similarly, if you want to write rich web apps (like for instance a spreadsheet in a browser), if you start from scratch (i.e. Javascript without any library), you're in the same situation. Look up sproutcore, ext or qooxdoo (my favorite, because it has a very convenient OO layer, not just widgets - I didn't mention GWT because although it generates Javascript in the end the programming happens in Java, and we're talking about Javascript as a language here). Working with any of these is quite a bit nicer than Silverlight. Not to mention that I never liked WPF - it's sort of like re-inventing HTML, just in a non-portable way. Comparing jQuery to silverlight is wrong. Silverlight relies on a rich user interface technology, and lots of 3rd party libraries of widgets, whereas jQuery is just a library for adding fancy stuff to web pages, although a rich and mature one. True, there are jQueryUI components, but all in all they're just patchwork - there's no working together on these components to make them work smoothly together, and there's not too many of them.

    1 Reply Last reply
    0
    • S Super Lloyd

      At work there is a big project in Javascript, there is a project leader manager who swear by javascript and the evilness of IE and Silverlight. That Silverlight is dead and useless and Javascript is the future and so powerful. Mm.... For that matter the web is populated by javasript biggot who think Javascript rule the world, it is announced, all other technology are going to die, don't they realize the power of HTML5? I guess I'm a .NET biggot (although I would love WinRT/C++ if it could write normal desktop app (as opposed to "immersive app" only)), but this blind javascript madness is irking me!

      A train station is where the train stops. A bus station is where the bus stops. On my desk, I have a work station.... _________________________________________________________ My programs never have bugs, they just develop random features.

      I Offline
      I Offline
      ISanti
      wrote on last edited by
      #35

      I don't hate Javascript, it's just I love C#, F#, WPF, Silverlight, etc.

      1 Reply Last reply
      0
      • A AndyInUK

        your project leader manager is right. Not Javascript but JQuery does rule. Get on with JQuery and it will surely help you in future, if not now.

        M Offline
        M Offline
        mathomp3
        wrote on last edited by
        #36

        if all you going to do is simple in and out data moving / shuffling, javascript not all that bad, pop in some jquery and off you go. When you are creating that business application that is going to run on a windows machine anyways, requires file storage (real storage not the new web stuff), and needs to interface with Microsoft word to give the user a true text editor in their web application. Then yeah javascript not going to do you any favors. I feel your pain though, one of our vendors uses javascript and html5, as they transition their systems over, which is wonderful runs every where. They were so excited, till I spent 1 afternoon reverse engineering their code some, and sent a bunch of post commands, overloaded the database, and shut down the webservice. Oh and data mining that baby was pretty easy as well. After that they have spent 4 weeks trying to get the service locked down to the appropriate users, which is becoming a pain cause they don't have a security layer, so they had to build that in, and I still hacked it. Sorry but when it comes to sensitive business data, can't be playing around in javascript without knowing exactly what your doing and how to lock it down tight. nothing impossible or even terribly difficult to do, but....... 95% of the javascript is the way to go user group forgets to even care about that type of stuff, they look for the new jquery api released by some random person and go awesome, lets use it. Also while jquery is decently safe, I have found tons of free javascript on the web that pass data to lots of random locations. For example had a simple table sorta like jgrids. Was really well done, got to digging in the code it passed the json data from the get it received to a 3rd party URL for a post. So yes my table was forwarding all data collected from my servers to another server. It was a big pain to find as it was just 5 lines of code, buried deep in minimized javascript. But overall it really really depends on what the target audience is. I always build on the .net stack, and mix in javascript, silverlight, webforms, as needed. I never choose a single code to go with. I mix and match and build fail over. I get all the power of the .net stack, and code behind, have the "client side flexibility" of javascript, the graphics power and hardware integration of silverlight. Sure my customers complain a feature or such doesn't work on their phones as well as it does on their desktop. We reply what the hell you expect? no not really, but it's what we want to put.

        1 Reply Last reply
        0
        • S Super Lloyd

          At work there is a big project in Javascript, there is a project leader manager who swear by javascript and the evilness of IE and Silverlight. That Silverlight is dead and useless and Javascript is the future and so powerful. Mm.... For that matter the web is populated by javasript biggot who think Javascript rule the world, it is announced, all other technology are going to die, don't they realize the power of HTML5? I guess I'm a .NET biggot (although I would love WinRT/C++ if it could write normal desktop app (as opposed to "immersive app" only)), but this blind javascript madness is irking me!

          A train station is where the train stops. A bus station is where the bus stops. On my desk, I have a work station.... _________________________________________________________ My programs never have bugs, they just develop random features.

          S Offline
          S Offline
          Steve Naidamast
          wrote on last edited by
          #37

          I have been in the field over 35 years. Every year some technician or pundit makes another prediction about the particular technology they like. As long as the web is based upon the protocols designed in the 1970s, nothing you do will change how it works or how well your applications perform. All of the new ways of "increasing performance" really produce very little in the scheme of actual application performance except to add a lot of extra coding that makes web applications even more difficult to understand than they already are... The only way you can get a web application to perform well as one could expect is to use the base HTTP processes of the web through the use of an MVC\AJAX paradigm. And even here, one benchmark (at least the one I have been able to find) has shown that ASP.NET MVC performs only a little better than regular ASP.NET...

          Steve Naidamast Black Falcon Software, Inc. blackfalconsoftware@ix.netcom.com

          1 Reply Last reply
          0
          • B BubingaMan

            I'm not a fan of javascript myself. Several things bother me though... This idea that somehow silverlight is "dead". This is completely ridiculous. Silverlight is anything but "dead". It's been years now since XAML was introduced but winforms is still alive and kicking. It's been years since .NET was introduced, but it didn't kill C++. A technology is dead the day that it stops working or where development tools no longer support it. That day eventually comes for EVERY language, but I don't expect that to happen to SL in the next decade. Another thing that bothers me is this blind mentality of arbitrarily choosing a technology to develop in. I know PLENTY of people who choose technology X by default, no matter what kind of application they are engineering... no matter what the target user base is... Just without thinking, it's technology X because "I'm an X-developer!!!". It's asanine. Choose the right tool for the job. If you are building an application that needs to be usable on desktops, laptops, tablets and phones... off course you will choose JS. For the sheer fact that it's basicly the only technology that allows such cross platform stuff. Honestly, that's the only situation I can imagine where you would want to choose JS over anything else. Personally, I'm a XAML dude myself. So whenever it suits my needs, XAML/C# will be my technology of choice. Seeing as I am a 100% LOB developer, I see no reason to use another technology. All my customers are on windows anyway.

            F Offline
            F Offline
            Florin Jurcovici 0
            wrote on last edited by
            #38

            I was a LOB developer until recently too. I never used Silverlight, unless it was a non-negotiable customer requirement (and it never was). Therefore, IMO using Silverlight just because all your clients are on Windows is a pretty meaningless justification.

            B 1 Reply Last reply
            0
            • B BubingaMan

              Super Lloyd wrote:

              "Silverlight is dead too" (heard just yesterday from the said guy!!)

              Next time he says that, show him a present day job opening requesting a Cobol engineer and then ask him if Cobol is to be considered "dead" as well... And then, off course, point him to the fact that Silverlight 5 is due for release in 2 months. If that's defined as "dead" these days, then I'm no longer worried about dying. Haha.

              I Offline
              I Offline
              ISanti
              wrote on last edited by
              #39

              I agree with you, In Spanish to indicate the falsity of the death of institutions, ideas, technologies, etc., sometimes we say the following sentence: "those dead you've killed enjoy very good health". Silverlight the fourth is dead, long live the five. My complaints, because my english is not good.

              1 Reply Last reply
              0
              • F Florin Jurcovici 0

                I was a LOB developer until recently too. I never used Silverlight, unless it was a non-negotiable customer requirement (and it never was). Therefore, IMO using Silverlight just because all your clients are on Windows is a pretty meaningless justification.

                B Offline
                B Offline
                BubingaMan
                wrote on last edited by
                #40

                Florin Jurcovici wrote:

                I never used Silverlight, unless it was a non-negotiable customer requirement

                In my experience, customers will only rarely request a specific technology in the LOB world. Unless they had a 'strong' IT department with a specific strategy.

                Florin Jurcovici wrote:

                IMO using Silverlight just because all your clients are on Windows is a pretty meaningless justification.

                I agree. And if you read closely you'll see that I said XAML and not Silverlight. Most of the work we do is WPF. Also, the "all our clients are on windows" is not seen as an actual justification or reason to go with XAML. In fact, it's the opposite. If not all our clients would be on windows, we'ld have a justification to NOT use XAML and to think about using something else instead. Hence why I ended that sentence with "all our clients are on windows anyway".

                1 Reply Last reply
                0
                • R Rob Grainger

                  Assuming that that icon is coffee, I can think of better ways of relaxing than imbibing stimulants. (ps. Don't get me wrong, I'm a fan of coffee, but not when I'm trying to chill or sleep).

                  C Offline
                  C Offline
                  cpkilekofp
                  wrote on last edited by
                  #41

                  When I was young, a cup of coffee with cream and sugar would put me to sleep. Ah, the hyperactivity of youth.....

                  1 Reply Last reply
                  0
                  • S Super Lloyd

                    I was not very clear, in this sentence I was paraphrasing the Javascript biggot! But he doesn't convince me!!!! But I don't believe him! :P Javascript is not better, it's playing catching up, with blood and tears on top!

                    A train station is where the train stops. A bus station is where the bus stops. On my desk, I have a work station.... _________________________________________________________ My programs never have bugs, they just develop random features.

                    C Offline
                    C Offline
                    cpkilekofp
                    wrote on last edited by
                    #42

                    I thought MS had announced the impending scheduled death of Silverlight?

                    S 1 Reply Last reply
                    0
                    • L Lost User

                      I despise the entire HTML stack. I loved the promise of the web but it's a nightmare putting together server side/client side code that uses entirely different technologies along with clunky HTML that has to work in several different browsers all against standards that aren't due out for another 10 years. Javascript is just one piece of the nightmare - the whole thing is a mess from start to finish. Unfortunately, it will never be fixed because the web is seen as international property and it's been handed over to a "consortium" that can take 10+ years to finalize a standard. That time line alone tells you all that needs to be said about the future of the web - a bunch of self-aggrandizing blowhards took it over - it's dead. By the time those guys get around to making a standard the interwebs will be ruled by App Stores. Nobody needs the World Wide Web anyways - buy 1/2 dozen apps that meet your needs and you're done. For the price of 1/2 dozen apps you can leave the world of clunky, slow, muddled interfaces behind. Seriously, you'll be on your 5th tablet with all the functionality you'll ever need when a headline pops up declaring the HMTL 5 standards finalized. You'll be like: What's HTML?

                      C Offline
                      C Offline
                      cpkilekofp
                      wrote on last edited by
                      #43

                      Weep, weep, weep...this is the same way things were in C development on DOS before the ANSI C Standard was finalized. We used the preprocessor to manage files so that the appropriate code would get compiled for the appropriate platform. And if I was satisfied being an end user, I wouldn't be here. ;P

                      1 Reply Last reply
                      0
                      • S Super Lloyd

                        At work there is a big project in Javascript, there is a project leader manager who swear by javascript and the evilness of IE and Silverlight. That Silverlight is dead and useless and Javascript is the future and so powerful. Mm.... For that matter the web is populated by javasript biggot who think Javascript rule the world, it is announced, all other technology are going to die, don't they realize the power of HTML5? I guess I'm a .NET biggot (although I would love WinRT/C++ if it could write normal desktop app (as opposed to "immersive app" only)), but this blind javascript madness is irking me!

                        A train station is where the train stops. A bus station is where the bus stops. On my desk, I have a work station.... _________________________________________________________ My programs never have bugs, they just develop random features.

                        K Offline
                        K Offline
                        KP Lee
                        wrote on last edited by
                        #44

                        Super Lloyd wrote:

                        My programs never have bugs, they just develop random features.

                        You sound like someone who helped develop SQL Server :) Don't hate something because someone else forces you to use it. And that advice sounds really hollow when I remember a project where I was forced to write it in (yuck) COBOL. :laugh: The huge advantage of JavaScript is that it runs on the client and doesn't tax your server. Then you have AJAX which turns it around and taxes your server anyway.

                        1 Reply Last reply
                        0
                        • C cpkilekofp

                          I thought MS had announced the impending scheduled death of Silverlight?

                          S Offline
                          S Offline
                          Super Lloyd
                          wrote on last edited by
                          #45

                          Did you forget the joke icon? Or didn't you get the memo about the impeding release of Silverlight 5?

                          A train station is where the train stops. A bus station is where the bus stops. On my desk, I have a work station.... _________________________________________________________ My programs never have bugs, they just develop random features.

                          1 Reply Last reply
                          0
                          • B BubingaMan

                            ahmed zahmed wrote:

                            you can

                            Actually, no. You cannot. WinRT is only available for metro applications, not for desktop applications. On the desktop, nothing changes. You are still in win32 hell.

                            T Offline
                            T Offline
                            TheGreatAndPowerfulOz
                            wrote on last edited by
                            #46

                            BubingaMan wrote:

                            WinRT is only available for metro applications, not for desktop applications

                            That is absolutely wrong. WinRT is *not*, I repeat, *not* a Metro-specific technology. You *can* use WinRT on the desktop.

                            If your actions inspire others to dream more, learn more, do more and become more, you are a leader." - John Quincy Adams
                            You must accept one of two basic premises: Either we are alone in the universe, or we are not alone in the universe. And either way, the implications are staggering” - Wernher von Braun

                            B 1 Reply Last reply
                            0
                            • T TheGreatAndPowerfulOz

                              BubingaMan wrote:

                              WinRT is only available for metro applications, not for desktop applications

                              That is absolutely wrong. WinRT is *not*, I repeat, *not* a Metro-specific technology. You *can* use WinRT on the desktop.

                              If your actions inspire others to dream more, learn more, do more and become more, you are a leader." - John Quincy Adams
                              You must accept one of two basic premises: Either we are alone in the universe, or we are not alone in the universe. And either way, the implications are staggering” - Wernher von Braun

                              B Offline
                              B Offline
                              BubingaMan
                              wrote on last edited by
                              #47

                              ahmed zahmed wrote:

                              WinRT is *not*, I repeat, *not* a Metro-specific technology. You *can* use WinRT on the desktop.

                              Not according to microsoft: http://social.msdn.microsoft.com/Forums/en-AU/toolsforwinapps/thread/e09417fa-038d-4f0d-ad4d-8ee73498fd2a[^] And there's plenty of other posts just like it. Any API that includes or depends on metro stuff (which is true for the vast majority of winRT) will simply not work when called from a desktop application. And the ones that DO work are greatly discouraged to use from the desktop because it's not designed to be used in that way. Future updates will most certainly not consider compatability of desktop applications using winRT. So, the few that you CAN use, you will be using them "at your own risk". It's not 'best practice' and it's simply not designed to be used that way.

                              1 Reply Last reply
                              0
                              Reply
                              • Reply as topic
                              Log in to reply
                              • Oldest to Newest
                              • Newest to Oldest
                              • Most Votes


                              • Login

                              • Don't have an account? Register

                              • Login or register to search.
                              • First post
                                Last post
                              0
                              • Categories
                              • Recent
                              • Tags
                              • Popular
                              • World
                              • Users
                              • Groups