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. Why is Javascript still a thing?

Why is Javascript still a thing?

Scheduled Pinned Locked Moved The Lounge
javascriptcsharpjavadesignquestion
52 Posts 29 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.
  • G GKP1992

    Recently, I spent around day trying to find out why something was not working the way it was supposed to. And what did I found out? Nothing! Really, debugging JS code in a browser is one of the worst things about web development. So I begin to wonder, why is this mess still around? :(( Admit it, javascript has a very flawed design. The only reason we still use it, is because we have no other choice. Really if people had the choice of using a friendlier language like C# or Java, javascript would have been in the dumpster by now. I never liked a thing about Javascript and I do not think I ever will. It is crippled. Back to work I guess. And guess what, it is Javascript again. :mad: :((

    I am not the one who knocks. I never knock. In fact, I hate knocking. Just barge in will'Ya?

    N Offline
    N Offline
    Nathan Minier
    wrote on last edited by
    #9

    I have to completely agree with Balboos with one minor addition: If you are frustrated by JS it's because you're trying to treat it like C#/Java. It's not the same thing, it doesn't work in the same way, and it's like being mad at a spoon for not being a fork.

    "There are three kinds of lies: lies, damned lies and statistics." - Benjamin Disraeli

    Z F 2 Replies Last reply
    0
    • N Nathan Minier

      I have to completely agree with Balboos with one minor addition: If you are frustrated by JS it's because you're trying to treat it like C#/Java. It's not the same thing, it doesn't work in the same way, and it's like being mad at a spoon for not being a fork.

      "There are three kinds of lies: lies, damned lies and statistics." - Benjamin Disraeli

      Z Offline
      Z Offline
      ZurdoDev
      wrote on last edited by
      #10

      Precisely. :thumbsup:

      There are two kinds of people in the world: those who can extrapolate from incomplete data. There are only 10 types of people in the world, those who understand binary and those who don't.

      1 Reply Last reply
      0
      • G GKP1992

        Recently, I spent around day trying to find out why something was not working the way it was supposed to. And what did I found out? Nothing! Really, debugging JS code in a browser is one of the worst things about web development. So I begin to wonder, why is this mess still around? :(( Admit it, javascript has a very flawed design. The only reason we still use it, is because we have no other choice. Really if people had the choice of using a friendlier language like C# or Java, javascript would have been in the dumpster by now. I never liked a thing about Javascript and I do not think I ever will. It is crippled. Back to work I guess. And guess what, it is Javascript again. :mad: :((

        I am not the one who knocks. I never knock. In fact, I hate knocking. Just barge in will'Ya?

        Z Offline
        Z Offline
        ZurdoDev
        wrote on last edited by
        #11

        GKP1992 wrote:

        debugging JS code in a browser is one of the worst things about web development.

        It isn't that hard once you learn how things work, in my opinion. I don't see it's problems any bigger than any other language. It works really well for what it does.

        There are two kinds of people in the world: those who can extrapolate from incomplete data. There are only 10 types of people in the world, those who understand binary and those who don't.

        1 Reply Last reply
        0
        • C CodeWraith

          You can't become a CodeWraith until they have drained every bit of enthusiasm and interest from you. JavaScript (or being threatened with having to work with it) makes flipping burgers not so bad a carreer choice after all.

          L Offline
          L Offline
          Lost User
          wrote on last edited by
          #12

          :laugh:

          Now is it bad enough that you let somebody else kick your butts without you trying to do it to each other? Now if we're all talking about the same man, and I think we are... it appears he's got a rather growing collection of our bikes.

          1 Reply Last reply
          0
          • G GKP1992

            Recently, I spent around day trying to find out why something was not working the way it was supposed to. And what did I found out? Nothing! Really, debugging JS code in a browser is one of the worst things about web development. So I begin to wonder, why is this mess still around? :(( Admit it, javascript has a very flawed design. The only reason we still use it, is because we have no other choice. Really if people had the choice of using a friendlier language like C# or Java, javascript would have been in the dumpster by now. I never liked a thing about Javascript and I do not think I ever will. It is crippled. Back to work I guess. And guess what, it is Javascript again. :mad: :((

            I am not the one who knocks. I never knock. In fact, I hate knocking. Just barge in will'Ya?

            M Offline
            M Offline
            Marc Clifton
            wrote on last edited by
            #13

            Actually, I'm rather impressed with the debugging ability in the browser. Granted, a large monitor really helps. ;) Marc

            Latest Article - Create a Dockerized Python Fiddle Web App Learning to code with python is like learning to swim with those little arm floaties. It gives you undeserved confidence and will eventually drown you. - DangerBunny Artificial intelligence is the only remedy for natural stupidity. - CDP1802

            Kornfeld Eliyahu PeterK 1 Reply Last reply
            0
            • G GKP1992

              Recently, I spent around day trying to find out why something was not working the way it was supposed to. And what did I found out? Nothing! Really, debugging JS code in a browser is one of the worst things about web development. So I begin to wonder, why is this mess still around? :(( Admit it, javascript has a very flawed design. The only reason we still use it, is because we have no other choice. Really if people had the choice of using a friendlier language like C# or Java, javascript would have been in the dumpster by now. I never liked a thing about Javascript and I do not think I ever will. It is crippled. Back to work I guess. And guess what, it is Javascript again. :mad: :((

              I am not the one who knocks. I never knock. In fact, I hate knocking. Just barge in will'Ya?

              Sander RosselS Offline
              Sander RosselS Offline
              Sander Rossel
              wrote on last edited by
              #14

              I used to hate JavaScript for probably the same reasons you do. However, I've come to see some of its beauty. Then I ran into some issues in C# and thought to myself "this would be easy in JavaScript." Today, JavaScript is just another tool in the toolbox and, even server side, not my last choice. There are things I don't like about it, but there are certainly also things I DO like about it. And the best part is that it's getting better.

              Best, Sander arrgh.js - Bringing LINQ to JavaScript SQL Server for C# Developers Succinctly Object-Oriented Programming in C# Succinctly

              K 1 Reply Last reply
              0
              • G GKP1992

                Recently, I spent around day trying to find out why something was not working the way it was supposed to. And what did I found out? Nothing! Really, debugging JS code in a browser is one of the worst things about web development. So I begin to wonder, why is this mess still around? :(( Admit it, javascript has a very flawed design. The only reason we still use it, is because we have no other choice. Really if people had the choice of using a friendlier language like C# or Java, javascript would have been in the dumpster by now. I never liked a thing about Javascript and I do not think I ever will. It is crippled. Back to work I guess. And guess what, it is Javascript again. :mad: :((

                I am not the one who knocks. I never knock. In fact, I hate knocking. Just barge in will'Ya?

                D Offline
                D Offline
                dandy72
                wrote on last edited by
                #15

                > Why is Javascript still a thing? What existing alternatives are you suggesting? That's why.

                1 Reply Last reply
                0
                • G GKP1992

                  Recently, I spent around day trying to find out why something was not working the way it was supposed to. And what did I found out? Nothing! Really, debugging JS code in a browser is one of the worst things about web development. So I begin to wonder, why is this mess still around? :(( Admit it, javascript has a very flawed design. The only reason we still use it, is because we have no other choice. Really if people had the choice of using a friendlier language like C# or Java, javascript would have been in the dumpster by now. I never liked a thing about Javascript and I do not think I ever will. It is crippled. Back to work I guess. And guess what, it is Javascript again. :mad: :((

                  I am not the one who knocks. I never knock. In fact, I hate knocking. Just barge in will'Ya?

                  L Offline
                  L Offline
                  Lost User
                  wrote on last edited by
                  #16

                  It's a lot easier to debug than Haskell, of course that's not much of an accomplishment.

                  G 1 Reply Last reply
                  0
                  • L Lost User

                    It's a lot easier to debug than Haskell, of course that's not much of an accomplishment.

                    G Offline
                    G Offline
                    GKP1992
                    wrote on last edited by
                    #17

                    I agree that Javascript does what it is supposed to, but sometimes following its logic becomes a little difficult. And then it snowballs from there. Gets worse every hour, and leaves you with frustration. The lack of coding practices in javascript or the lack of people willing to follow is also to blame. These are the same problems "daddy languages" have faced and tried to resolve over the years. But in the end, everything has its goods and bads. I just wish that it learned from other language's mistakes/flaws. Anyways CP makes working a lot easier. I just had to rant somewhere, but here I also get some feedback which is always nice. :-D I just might finish this today.:thumbsup:

                    I am not the one who knocks. I never knock. In fact, I hate knocking. Just barge in will'Ya?

                    1 Reply Last reply
                    0
                    • G GKP1992

                      Recently, I spent around day trying to find out why something was not working the way it was supposed to. And what did I found out? Nothing! Really, debugging JS code in a browser is one of the worst things about web development. So I begin to wonder, why is this mess still around? :(( Admit it, javascript has a very flawed design. The only reason we still use it, is because we have no other choice. Really if people had the choice of using a friendlier language like C# or Java, javascript would have been in the dumpster by now. I never liked a thing about Javascript and I do not think I ever will. It is crippled. Back to work I guess. And guess what, it is Javascript again. :mad: :((

                      I am not the one who knocks. I never knock. In fact, I hate knocking. Just barge in will'Ya?

                      L Offline
                      L Offline
                      Lost User
                      wrote on last edited by
                      #18

                      It boosts IT employment, shortens the life of those same people, and as a side effect keeps thousands of coffee farm workers busy in far flung places like Kenya and Brazil (even if they only earn a dollar a week.) Think of the horror if they fixed that sort of stuff... hundreds of IT folks out in public... think of the children!

                      Sin tack the any key okay

                      D abmvA 2 Replies Last reply
                      0
                      • L Lost User

                        It boosts IT employment, shortens the life of those same people, and as a side effect keeps thousands of coffee farm workers busy in far flung places like Kenya and Brazil (even if they only earn a dollar a week.) Think of the horror if they fixed that sort of stuff... hundreds of IT folks out in public... think of the children!

                        Sin tack the any key okay

                        D Offline
                        D Offline
                        Daniel Pfeffer
                        wrote on last edited by
                        #19

                        Undefined reference error - you are speaking about Java, not JavaScript.

                        If you have an important point to make, don't try to be subtle or clever. Use a pile driver. Hit the point once. Then come back and hit it again. Then hit it a third time - a tremendous whack. --Winston Churchill

                        1 Reply Last reply
                        0
                        • G GKP1992

                          Recently, I spent around day trying to find out why something was not working the way it was supposed to. And what did I found out? Nothing! Really, debugging JS code in a browser is one of the worst things about web development. So I begin to wonder, why is this mess still around? :(( Admit it, javascript has a very flawed design. The only reason we still use it, is because we have no other choice. Really if people had the choice of using a friendlier language like C# or Java, javascript would have been in the dumpster by now. I never liked a thing about Javascript and I do not think I ever will. It is crippled. Back to work I guess. And guess what, it is Javascript again. :mad: :((

                          I am not the one who knocks. I never knock. In fact, I hate knocking. Just barge in will'Ya?

                          K Offline
                          K Offline
                          kmoorevs
                          wrote on last edited by
                          #20

                          GKP1992 wrote:

                          debugging JS code in a browser is one of the worst things about web development

                          :thumbsup: I think it's unanimous that most of us hate JS...especially the part where you get it working in one browser :) , then find that it fails in another! :mad: JS is the least used and least favorite of the half-dozen 'languages' that I work in regularly. As for 'Why is JavaScript still a thing', I think it's fair to say that currently, like it or not, the web runs on JavaScript. Since my duties involve a fair amount of web development, I keep my browser settings such that all script errors are reported. What really ticks me off is the apparent laziness of many developers who depend on the browser's ability to swallow errors (like an automatic on error resume next) instead of checking for 'undefined' or 'NaN'. In many cases, it becomes almost impossible to leave a website due to the onslaught of errors. X|

                          "Go forth into the source" - Neal Morse

                          1 Reply Last reply
                          0
                          • G GKP1992

                            Recently, I spent around day trying to find out why something was not working the way it was supposed to. And what did I found out? Nothing! Really, debugging JS code in a browser is one of the worst things about web development. So I begin to wonder, why is this mess still around? :(( Admit it, javascript has a very flawed design. The only reason we still use it, is because we have no other choice. Really if people had the choice of using a friendlier language like C# or Java, javascript would have been in the dumpster by now. I never liked a thing about Javascript and I do not think I ever will. It is crippled. Back to work I guess. And guess what, it is Javascript again. :mad: :((

                            I am not the one who knocks. I never knock. In fact, I hate knocking. Just barge in will'Ya?

                            K Offline
                            K Offline
                            Kevin McFarlane
                            wrote on last edited by
                            #21

                            If you're really desperate you can always give [Elm](http://elm-lang.org/) a try... Strongly-typed with type inference. Compiles to JavaScript. Can introduce incrementally, i.e., no need to rewrite everything. No runtime exceptions. (Disclaimer, I've only had a brief look.)

                            Kevin

                            1 Reply Last reply
                            0
                            • N Nelek

                              You will always find morons everywhere :sigh: :sigh: :sigh:

                              M.D.V. ;) If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about? Help me to understand what I'm saying, and I'll explain it better to you Rating helpful answers is nice, but saying thanks can be even nicer.

                              L Offline
                              L Offline
                              Leng Vang
                              wrote on last edited by
                              #22

                              I guess you could call me a moron, because I do write server side code in JavaScript (Nodejs that is) and a full SQL Server accessing one no less. I happen to like it better than using IIS. Only thing I missed in NodeJs is EF capability.

                              N 1 Reply Last reply
                              0
                              • G GKP1992

                                Recently, I spent around day trying to find out why something was not working the way it was supposed to. And what did I found out? Nothing! Really, debugging JS code in a browser is one of the worst things about web development. So I begin to wonder, why is this mess still around? :(( Admit it, javascript has a very flawed design. The only reason we still use it, is because we have no other choice. Really if people had the choice of using a friendlier language like C# or Java, javascript would have been in the dumpster by now. I never liked a thing about Javascript and I do not think I ever will. It is crippled. Back to work I guess. And guess what, it is Javascript again. :mad: :((

                                I am not the one who knocks. I never knock. In fact, I hate knocking. Just barge in will'Ya?

                                L Offline
                                L Offline
                                Leng Vang
                                wrote on last edited by
                                #23

                                JavaScript to my experience is like root beer. First taste is bad and saying who would drink such a foul taste drink. But you know what, the more you drink it, you grew to like more and more. Pretty soon you preferred it to other drinks, even genuine draft beer. I'm having second thought about how bad skunk smell. If you get just a fainted smell, it actually no bad at all. People paid good money for the scent. :-D

                                1 Reply Last reply
                                0
                                • M Marc Clifton

                                  Actually, I'm rather impressed with the debugging ability in the browser. Granted, a large monitor really helps. ;) Marc

                                  Latest Article - Create a Dockerized Python Fiddle Web App Learning to code with python is like learning to swim with those little arm floaties. It gives you undeserved confidence and will eventually drown you. - DangerBunny Artificial intelligence is the only remedy for natural stupidity. - CDP1802

                                  Kornfeld Eliyahu PeterK Offline
                                  Kornfeld Eliyahu PeterK Offline
                                  Kornfeld Eliyahu Peter
                                  wrote on last edited by
                                  #24

                                  Do you mean two or more monitors...

                                  Skipper: We'll fix it. Alex: Fix it? How you gonna fix this? Skipper: Grit, spit and a whole lotta duct tape.

                                  "It never ceases to amaze me that a spacecraft launched in 1977 can be fixed remotely from Earth." ― Brian Cox

                                  1 Reply Last reply
                                  0
                                  • G GKP1992

                                    Recently, I spent around day trying to find out why something was not working the way it was supposed to. And what did I found out? Nothing! Really, debugging JS code in a browser is one of the worst things about web development. So I begin to wonder, why is this mess still around? :(( Admit it, javascript has a very flawed design. The only reason we still use it, is because we have no other choice. Really if people had the choice of using a friendlier language like C# or Java, javascript would have been in the dumpster by now. I never liked a thing about Javascript and I do not think I ever will. It is crippled. Back to work I guess. And guess what, it is Javascript again. :mad: :((

                                    I am not the one who knocks. I never knock. In fact, I hate knocking. Just barge in will'Ya?

                                    Kornfeld Eliyahu PeterK Offline
                                    Kornfeld Eliyahu PeterK Offline
                                    Kornfeld Eliyahu Peter
                                    wrote on last edited by
                                    #25

                                    I'm closing on 20 years of JavaScript. You have to accept it as JavaScript, it will solve 99% of your problems. As long as you try to bend it to be C# (or like) you will fail in so many ways... If you want to feel good with the tools, try using Notepad as editor and never hit F12 while you are in the browser... After two weeks you will see the benefits of the built in debugger... ;)

                                    Skipper: We'll fix it. Alex: Fix it? How you gonna fix this? Skipper: Grit, spit and a whole lotta duct tape.

                                    "It never ceases to amaze me that a spacecraft launched in 1977 can be fixed remotely from Earth." ― Brian Cox

                                    1 Reply Last reply
                                    0
                                    • G GKP1992

                                      Recently, I spent around day trying to find out why something was not working the way it was supposed to. And what did I found out? Nothing! Really, debugging JS code in a browser is one of the worst things about web development. So I begin to wonder, why is this mess still around? :(( Admit it, javascript has a very flawed design. The only reason we still use it, is because we have no other choice. Really if people had the choice of using a friendlier language like C# or Java, javascript would have been in the dumpster by now. I never liked a thing about Javascript and I do not think I ever will. It is crippled. Back to work I guess. And guess what, it is Javascript again. :mad: :((

                                      I am not the one who knocks. I never knock. In fact, I hate knocking. Just barge in will'Ya?

                                      J Offline
                                      J Offline
                                      Jon McKee
                                      wrote on last edited by
                                      #26

                                      I'm not the biggest fan of the language either but it is quite useful. Some of those frustrating bits also give you the ability to do things that simply aren't possible in other languages. That being said, I've really started to like Typescript[^]. It's a superset of JS so you basically just have to read up on how the type system works then you're good to go.

                                      1 Reply Last reply
                                      0
                                      • L Lost User

                                        It boosts IT employment, shortens the life of those same people, and as a side effect keeps thousands of coffee farm workers busy in far flung places like Kenya and Brazil (even if they only earn a dollar a week.) Think of the horror if they fixed that sort of stuff... hundreds of IT folks out in public... think of the children!

                                        Sin tack the any key okay

                                        abmvA Offline
                                        abmvA Offline
                                        abmv
                                        wrote on last edited by
                                        #27

                                        u seem to have a point there..also see below.. That paradigm will be defined by three key characteristics, Nadella explained: Every computing task and experience will be "multi-device, multi-sense" with multiple means of input and output; artificial intelligence will be built into every application and device; and there will be an increased use of containers, microservices and server-less technologies that provide new ways to develop, distribute and manage applications.

                                        We are in the beginning of a mass extinction. - Greta Thunberg

                                        1 Reply Last reply
                                        0
                                        • L Leng Vang

                                          I guess you could call me a moron, because I do write server side code in JavaScript (Nodejs that is) and a full SQL Server accessing one no less. I happen to like it better than using IIS. Only thing I missed in NodeJs is EF capability.

                                          N Offline
                                          N Offline
                                          Nelek
                                          wrote on last edited by
                                          #28

                                          VB6 is still used too ;P :laugh: :laugh: :laugh:

                                          M.D.V. ;) If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about? Help me to understand what I'm saying, and I'll explain it better to you Rating helpful answers is nice, but saying thanks can be even nicer.

                                          J 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