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 just don't get it ..

I just don't get it ..

Scheduled Pinned Locked Moved The Lounge
javascriptquestion
25 Posts 11 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.
  • M Marco Bertschi

    Sander Rossel wrote:

    JavaScript gives you a false sense of safety. It's like riding a bike with those little side wheels and then riding head first into a ravine.

    I like that quote. Captured for sig.

    JavaScript gives you a false sense of safety. It's like riding a bike with those little side wheels and then riding head first into a ravine. Sander Rossel

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

    Whoohoo! I've never been in a sig before (I think) :D

    Read my (free) ebook Object-Oriented Programming in C# Succinctly. Visit my blog at Sander's bits - Writing the code you need. Or read my articles here on CodeProject.

    Simplicity is prerequisite for reliability. — Edsger W. Dijkstra

    Regards, Sander

    M 1 Reply Last reply
    0
    • S Shuqian Ying

      Well, that's a bit unfair. The examples you listed should demonstrate that JavaScript is not able clean garbage produced by some programmers, not JavaScript in itself is garbage :) OK, yes, in somesense, it is, as any untyped language is ...

      Find more in 1-NET: connects your resources anywhere[^]. Email searcher Email Aggregation Manager[^].

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

      You can output garbage in any language, JavaScript just makes it that much more easy than other languages :)

      Read my (free) ebook Object-Oriented Programming in C# Succinctly. Visit my blog at Sander's bits - Writing the code you need. Or read my articles here on CodeProject.

      Simplicity is prerequisite for reliability. — Edsger W. Dijkstra

      Regards, Sander

      1 Reply Last reply
      0
      • Kornfeld Eliyahu PeterK Kornfeld Eliyahu Peter

        Sander Rossel wrote:

        JavaScript gives you a false sense of safety.

        Only on the surface... If you are seriously dive in you got shivers...

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

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

        One thing that gave me multiple wtf's is the arguments object. It's array-like, but not an array (actual bug) and it's shared on the page so passing it to a function does you no good (although I haven't checked if arguments[0] === arguments, but knowing JavaScript that's probaby NaN or some such :D).

        Read my (free) ebook Object-Oriented Programming in C# Succinctly. Visit my blog at Sander's bits - Writing the code you need. Or read my articles here on CodeProject.

        Simplicity is prerequisite for reliability. — Edsger W. Dijkstra

        Regards, Sander

        1 Reply Last reply
        0
        • A Aless Alessio

          Oh come on ... what the hell has Bieber to do with JavaScript now? .. come on, let's be constructive

          N Offline
          N Offline
          Nagy Vilmos
          wrote on last edited by
          #16

          Actually Griffs analogy is bloody good. There's a whole raft of people who think a McDonalds is good food when it most clearly isn't. Just because something has a large user base, qv Smoking, it does not follow that it is any good. Popularity is not the same as Quality. JavaScript is to quality code what McD's is to fine dining. Argument. Closed.

          veni bibi saltavi

          1 Reply Last reply
          0
          • OriginalGriffO OriginalGriff

            A whole lot of people listen to Justin Bieber and think he is wonderful. Are they correct as well? Popular != good

            Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...

            W Offline
            W Offline
            W Balboos GHB
            wrote on last edited by
            #17

            Bieber? Take it to the Soapbox where it belongs.

            Ravings en masse^

            "The difference between genius and stupidity is that genius has its limits." - Albert Einstein

            "If you are searching for perfection in others, then you seek disappointment. If you are seek perfection in yourself, then you will find failure." - Balboos HaGadol Mar 2010

            OriginalGriffO 1 Reply Last reply
            0
            • W W Balboos GHB

              Bieber? Take it to the Soapbox where it belongs.

              Ravings en masse^

              "The difference between genius and stupidity is that genius has its limits." - Albert Einstein

              "If you are searching for perfection in others, then you seek disappointment. If you are seek perfection in yourself, then you will find failure." - Balboos HaGadol Mar 2010

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

              W∴ Balboos wrote:

              Bieber? Take it him to the Soapbox wood chipper where it he belongs.

              FTFY!

              Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...

              "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

              W 1 Reply Last reply
              0
              • Sander RosselS Sander Rossel

                Whoohoo! I've never been in a sig before (I think) :D

                Read my (free) ebook Object-Oriented Programming in C# Succinctly. Visit my blog at Sander's bits - Writing the code you need. Or read my articles here on CodeProject.

                Simplicity is prerequisite for reliability. — Edsger W. Dijkstra

                Regards, Sander

                M Offline
                M Offline
                Marco Bertschi
                wrote on last edited by
                #19

                You've been in one before. Well it is your own, but it is something.

                JavaScript gives you a false sense of safety. It's like riding a bike with those little side wheels and then riding head first into a ravine. Sander Rossel

                1 Reply Last reply
                0
                • OriginalGriffO OriginalGriff

                  W∴ Balboos wrote:

                  Bieber? Take it him to the Soapbox wood chipper where it he belongs.

                  FTFY!

                  Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...

                  W Offline
                  W Offline
                  W Balboos GHB
                  wrote on last edited by
                  #20

                  There's not mulch I can say. You compost what you like in the lounge - but sticking to puns befits you.

                  Ravings en masse^

                  "The difference between genius and stupidity is that genius has its limits." - Albert Einstein

                  "If you are searching for perfection in others, then you seek disappointment. If you are seek perfection in yourself, then you will find failure." - Balboos HaGadol Mar 2010

                  OriginalGriffO 1 Reply Last reply
                  0
                  • W W Balboos GHB

                    There's not mulch I can say. You compost what you like in the lounge - but sticking to puns befits you.

                    Ravings en masse^

                    "The difference between genius and stupidity is that genius has its limits." - Albert Einstein

                    "If you are searching for perfection in others, then you seek disappointment. If you are seek perfection in yourself, then you will find failure." - Balboos HaGadol Mar 2010

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

                    Compost - because a rind is a terrible thing to waste.

                    Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...

                    "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

                    W 1 Reply Last reply
                    0
                    • OriginalGriffO OriginalGriff

                      Compost - because a rind is a terrible thing to waste.

                      Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...

                      W Offline
                      W Offline
                      W Balboos GHB
                      wrote on last edited by
                      #22

                      Rot are you talking about?

                      Ravings en masse^

                      "The difference between genius and stupidity is that genius has its limits." - Albert Einstein

                      "If you are searching for perfection in others, then you seek disappointment. If you are seek perfection in yourself, then you will find failure." - Balboos HaGadol Mar 2010

                      OriginalGriffO 1 Reply Last reply
                      0
                      • W W Balboos GHB

                        Rot are you talking about?

                        Ravings en masse^

                        "The difference between genius and stupidity is that genius has its limits." - Albert Einstein

                        "If you are searching for perfection in others, then you seek disappointment. If you are seek perfection in yourself, then you will find failure." - Balboos HaGadol Mar 2010

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

                        I'm just trying to be a fungi!

                        Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...

                        "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
                        • A Aless Alessio

                          Why using Typescript, if there's already ECMA6 [^] available in almost all browsers? :confused::confused::confused:

                          V Offline
                          V Offline
                          Vark111
                          wrote on last edited by
                          #24

                          Aless Alessio wrote:

                          Why using Typescript, if there's already ECMA6 available in almost all browsers?

                          Bolded the important bit. Almost isn't good enough in many places. And this[^] table still has an awful lot of red in it.

                          A 1 Reply Last reply
                          0
                          • V Vark111

                            Aless Alessio wrote:

                            Why using Typescript, if there's already ECMA6 available in almost all browsers?

                            Bolded the important bit. Almost isn't good enough in many places. And this[^] table still has an awful lot of red in it.

                            A Offline
                            A Offline
                            Aless Alessio
                            wrote on last edited by
                            #25

                            Finally a constructive answer. So far, desktop browsers are pretty much covered. Then i guess that android browser is the biggest missing piece

                            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