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. JavaScript the odd one.

JavaScript the odd one.

Scheduled Pinned Locked Moved The Lounge
javascriptquestion
18 Posts 15 Posters 1 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 Leng Vang

    Plenty hated it, I "was" one. And plenty loved it, I am one. Ready your criticisms. Why don't you like JavaScript? Too different a concept, lack of tool support, too many Murphy laws, or just plainly, I don't like it. Whatever it is spell it here.

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

    No true multithreading. VB-style variable declaration. No type-checking. No interacting with native devices. It's a joke gone too far :thumbsup:

    Bastard Programmer from Hell :suss: If you can't read my code, try converting it here[^] "If you just follow the bacon Eddy, wherever it leads you, then you won't have to think about politics." -- Some Bell.

    1 Reply Last reply
    0
    • L Leng Vang

      Plenty hated it, I "was" one. And plenty loved it, I am one. Ready your criticisms. Why don't you like JavaScript? Too different a concept, lack of tool support, too many Murphy laws, or just plainly, I don't like it. Whatever it is spell it here.

      P Offline
      P Offline
      PIEBALDconsult
      wrote on last edited by
      #6

      As it's specific to a domain I don't work in, I give about one centicrap about it.

      1 Reply Last reply
      0
      • L Leng Vang

        Plenty hated it, I "was" one. And plenty loved it, I am one. Ready your criticisms. Why don't you like JavaScript? Too different a concept, lack of tool support, too many Murphy laws, or just plainly, I don't like it. Whatever it is spell it here.

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

        I have no problem with JavaScript (using it over 15 years with changing frequency)... I hate however when some write ad-hoc JavaScript and I have to fix it :-)

        "The greatest enemy of knowledge is not ignorance, it is the illusion of knowledge". Stephen Hawking, 1942- 2018

        "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
        • L Leng Vang

          Plenty hated it, I "was" one. And plenty loved it, I am one. Ready your criticisms. Why don't you like JavaScript? Too different a concept, lack of tool support, too many Murphy laws, or just plainly, I don't like it. Whatever it is spell it here.

          R Offline
          R Offline
          R Giskard Reventlov
          wrote on last edited by
          #8

          Just another tool.

          Keep your friends close. Keep Kill your enemies closer. The End

          1 Reply Last reply
          0
          • L Leng Vang

            Plenty hated it, I "was" one. And plenty loved it, I am one. Ready your criticisms. Why don't you like JavaScript? Too different a concept, lack of tool support, too many Murphy laws, or just plainly, I don't like it. Whatever it is spell it here.

            D Offline
            D Offline
            David Crow
            wrote on last edited by
            #9

            I-T H-E-R-E

            "One man's wage rise is another man's price increase." - Harold Wilson

            "Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons

            "You can easily judge the character of a man by how he treats those who can do nothing for him." - James D. Miles

            1 Reply Last reply
            0
            • L Leng Vang

              Plenty hated it, I "was" one. And plenty loved it, I am one. Ready your criticisms. Why don't you like JavaScript? Too different a concept, lack of tool support, too many Murphy laws, or just plainly, I don't like it. Whatever it is spell it here.

              OriginalGriffO Offline
              OriginalGriffO Offline
              OriginalGriff
              wrote on last edited by
              #10

              Leng Vang wrote:

              Why don't you like JavaScript?

              Because it allows people who have no idea what they are doing to bodge some crap together that hides its total failures until they have time to bugger off and leave it to some other poor sod to sort out later. And call themselves "expert consultants". It's harder to do that in a strongly typed, compiled language ... and why the heck we put up with it and HTML in the modern world, I have no idea.

              Bad command or file name. Bad, bad command! Sit! Stay! Staaaay... AntiTwitter: @DalekDave is now a follower!

              "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
              "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

              1 Reply Last reply
              0
              • L Leng Vang

                Plenty hated it, I "was" one. And plenty loved it, I am one. Ready your criticisms. Why don't you like JavaScript? Too different a concept, lack of tool support, too many Murphy laws, or just plainly, I don't like it. Whatever it is spell it here.

                S Offline
                S Offline
                Shuqian Ying
                wrote on last edited by
                #11

                Yeah, one must think differently before appreciate the positive aspects of it. It's not an OO language, it is async (event driven) where process level or micro-service load balancing is one's friend. But when one try to bend it to a monolithic, OO and threading view, one find difficulties. It sucks indeed ... Of couse the heavy lifting (computational intensive) part of a system has to done natively, javascript can be a easy to use glue between these native components... I am glad that I could make good use of it, despite the less desirable aspects of it. Strangly enough, I found Visual Studio Code (javascript based) to be much more response than Visual Studio (Native) on my machine for programming javascripts, it is a suprise to me as well. It is possible that Visual Studio has much more background job to handle the intelligence of the editor, or because it created to much threads? I'd like to find out why until now ... The freedom it gives to a programmer can be a curse or a bless, it really depends on how it is used ... E.g., some of our libs are generated by programs written in strong typed languages ... I am not here to defend javascript in any sense. It is intended to provide a balanced view because there are so many 'haters' so far ...

                Find more in 1-NET: connects your resources anywhere[^].

                L 1 Reply Last reply
                0
                • L Leng Vang

                  Plenty hated it, I "was" one. And plenty loved it, I am one. Ready your criticisms. Why don't you like JavaScript? Too different a concept, lack of tool support, too many Murphy laws, or just plainly, I don't like it. Whatever it is spell it here.

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

                  My problem with JS is having too many "solutions" available to pick from, in the form of libraries/frameworks. Too many choices can be a curse. I've been coding as a profession for well over 20 years now (C/C++/C#, front-end, back-end, MFC, WinForms, etc), and while I've managed to put together what pretty much amounts to basic static HTML-based sites in decades past, I've just recently started to try to learn how to go about web development "the right way". Far as I can tell, there's still no "right way" even after all this time, because nobody seems to agree. I'd *love* to find some resource that has a clear learning path. Right now, one week, I'm all over Angular, then the next week I get stuck somewhere and I realize I need to take a step back and understand some fundamentals of ExpressJS, which is built on top of Node.JS...and it's still not clear to me where one ends and the other begins...then that's all server-side. On the client side, it's quickly becoming obvious it's not enough to just know JavaScript fundamentals, because a lot of the more useful libraries are built on top of jQuery. It's a huge mess, and I find a lot of tutorials have limited value because they commit you to one particular technology vs another.

                  K 1 Reply Last reply
                  0
                  • M Marc Clifton

                    I JUST ABSOLUTELY LOVE IT!!! THE BEST LANGUAGE I'VE EVER WORKED IN! My favorites: It's a duck-typed and scripted language, so of course the code just works. After all, there's no compilation step to tell you how you screwed up. I love languages like this because you can't screw up! I love I how I can tell my customers "YOU MUST USE CHROME!!!" because any other browser, and in particular, IE / Edge, is so behind the standards. And they're quite happy little lemmings to allow me to use the latest and greatest Javascript language features. The use of this and bind is also one of the most intuitive, common sense, easiest things in the world to understand! And it is SO COOL to be able to determine variable scope by keywords like var and let. Thank god we have moved away from variables scoped by braces! I could go on, but I'm just so besides myself with fervor that I must now go and write some Javascript, I love the language soooo much!!!!!

                    Latest Article - Building a Prototype Web-Based Diagramming Tool with SVG and Javascript 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

                    M Offline
                    M Offline
                    Mycroft Holmes
                    wrote on last edited by
                    #13

                    I had to have 2 goes at reading that I fell off the chair laughing after the 2nd paragraph.

                    Never underestimate the power of human stupidity RAH

                    1 Reply Last reply
                    0
                    • M Marc Clifton

                      I JUST ABSOLUTELY LOVE IT!!! THE BEST LANGUAGE I'VE EVER WORKED IN! My favorites: It's a duck-typed and scripted language, so of course the code just works. After all, there's no compilation step to tell you how you screwed up. I love languages like this because you can't screw up! I love I how I can tell my customers "YOU MUST USE CHROME!!!" because any other browser, and in particular, IE / Edge, is so behind the standards. And they're quite happy little lemmings to allow me to use the latest and greatest Javascript language features. The use of this and bind is also one of the most intuitive, common sense, easiest things in the world to understand! And it is SO COOL to be able to determine variable scope by keywords like var and let. Thank god we have moved away from variables scoped by braces! I could go on, but I'm just so besides myself with fervor that I must now go and write some Javascript, I love the language soooo much!!!!!

                      Latest Article - Building a Prototype Web-Based Diagramming Tool with SVG and Javascript 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

                      S Offline
                      S Offline
                      Sanjay K Gupta
                      wrote on last edited by
                      #14

                      What about typescript? I like Javascript but hate typescript.:)

                      ___ ___ ___
                      |__ |_| |\ | | |_| \ /
                      __| | | | \| |__| | | /

                      L 1 Reply Last reply
                      0
                      • D dandy72

                        My problem with JS is having too many "solutions" available to pick from, in the form of libraries/frameworks. Too many choices can be a curse. I've been coding as a profession for well over 20 years now (C/C++/C#, front-end, back-end, MFC, WinForms, etc), and while I've managed to put together what pretty much amounts to basic static HTML-based sites in decades past, I've just recently started to try to learn how to go about web development "the right way". Far as I can tell, there's still no "right way" even after all this time, because nobody seems to agree. I'd *love* to find some resource that has a clear learning path. Right now, one week, I'm all over Angular, then the next week I get stuck somewhere and I realize I need to take a step back and understand some fundamentals of ExpressJS, which is built on top of Node.JS...and it's still not clear to me where one ends and the other begins...then that's all server-side. On the client side, it's quickly becoming obvious it's not enough to just know JavaScript fundamentals, because a lot of the more useful libraries are built on top of jQuery. It's a huge mess, and I find a lot of tutorials have limited value because they commit you to one particular technology vs another.

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

                        dandy72 wrote:

                        jQuery. It's a huge mess,

                        Amen! One of my current web projects now requires exporting a table to a csv. No problem, a quick web search finds a jQuery extension for the job, only the documentation is very lean, and it doesn't work 'out of the box' for IE, and the libs seem out of date anyway...so it's back to pure javascript that I can actually debug...sometimes! :laugh:

                        "Go forth into the source" - Neal Morse

                        D 1 Reply Last reply
                        0
                        • S Sanjay K Gupta

                          What about typescript? I like Javascript but hate typescript.:)

                          ___ ___ ___
                          |__ |_| |\ | | |_| \ /
                          __| | | | \| |__| | | /

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

                          I don't care about Typescript either. Though some of the JavaScript code it generates are pretty cool.

                          1 Reply Last reply
                          0
                          • S Shuqian Ying

                            Yeah, one must think differently before appreciate the positive aspects of it. It's not an OO language, it is async (event driven) where process level or micro-service load balancing is one's friend. But when one try to bend it to a monolithic, OO and threading view, one find difficulties. It sucks indeed ... Of couse the heavy lifting (computational intensive) part of a system has to done natively, javascript can be a easy to use glue between these native components... I am glad that I could make good use of it, despite the less desirable aspects of it. Strangly enough, I found Visual Studio Code (javascript based) to be much more response than Visual Studio (Native) on my machine for programming javascripts, it is a suprise to me as well. It is possible that Visual Studio has much more background job to handle the intelligence of the editor, or because it created to much threads? I'd like to find out why until now ... The freedom it gives to a programmer can be a curse or a bless, it really depends on how it is used ... E.g., some of our libs are generated by programs written in strong typed languages ... I am not here to defend javascript in any sense. It is intended to provide a balanced view because there are so many 'haters' so far ...

                            Find more in 1-NET: connects your resources anywhere[^].

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

                            I hear ya, JS is a double edge sword. Learn it well and it serves its purpose well. It can be very lousy nightmare by beginners.

                            1 Reply Last reply
                            0
                            • K kmoorevs

                              dandy72 wrote:

                              jQuery. It's a huge mess,

                              Amen! One of my current web projects now requires exporting a table to a csv. No problem, a quick web search finds a jQuery extension for the job, only the documentation is very lean, and it doesn't work 'out of the box' for IE, and the libs seem out of date anyway...so it's back to pure javascript that I can actually debug...sometimes! :laugh:

                              "Go forth into the source" - Neal Morse

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

                              kmoorevs wrote:

                              so it's back to pure javascript that I can actually debug...sometimes! :laugh:

                              I often find that's exactly the dilemma I'm facing with web development: Do I commit to using [abc], or do go pure [xyz], at the risk of re-inventing the wheel...

                              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