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
learningjavascriptpythoncomfunctional
50 Posts 32 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.
  • M Marc Clifton

    Vincent Maverick Durano wrote:

    Thanks to TypeScript for making my life less stressed!

    Why do I not believe you? :~ Marc

    Imperative to Functional Programming Succinctly Contributors Wanted for Higher Order Programming Project! 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

    V Offline
    V Offline
    Vincent Maverick Durano
    wrote on last edited by
    #18

    Marc Clifton wrote:

    Why do I not believe you? :~

    Because you hate JavaScript. ;P

    1 Reply Last reply
    0
    • A Aless Alessio

      :-D come ooooooooooooon With the relatively new "ECMA6", writing in Javascript is pretty much like writing in C# ECMAScript 6: New Features: Overview and Comparison[^]

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

      Burn the heretic...! Off with his head and a stick to his heart! What a despicable creature. :wtf:

      Anything that could possibly go wrong in some moment, will definitely go wrong in the worst possible moment...
      In the worst way that could be possible!

      –Finagle's corollary to Murphy's Law (paraphrased).

      1 Reply Last reply
      0
      • M Marc Clifton

        Took me 10 minutes to find the error: onProceed: funtion() { And of course, the only error I get is Uncaught SyntaxError: Unexpected token { So of course I wonder, where did I have a mismatched curly brace??? Wrong wonderment. X| Marc

        Imperative to Functional Programming Succinctly Contributors Wanted for Higher Order Programming Project! 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

        R Offline
        R Offline
        raddevus
        wrote on last edited by
        #20

        10 minutes is fast to find that. I'm serious. I've had a single missing comma cost me over an hour. Painful.

        My book, Launch Your Android App, is available at Amazon.com.

        M U 2 Replies Last reply
        0
        • A Aless Alessio

          :^) oh man ... am i the only weirdo who likes coding in Javascript ?!?

          J Offline
          J Offline
          Jeremy Falcon
          wrote on last edited by
          #21

          Nope. It's not so bad as people make it out to be... different yes. Bad... nope.

          Jeremy Falcon

          1 Reply Last reply
          0
          • P Pete OHanlon

            Aless Alessio wrote:

            With the relatively new "ECMA6", writing in Javascript is pretty much like writing in C#

            I admire your optimism.

            This space for rent

            H Offline
            H Offline
            H Brydon
            wrote on last edited by
            #22

            I'd call it something else...

            I'm retired. There's a nap for that... - Harvey

            C 1 Reply Last reply
            0
            • M Marc Clifton

              Vincent Maverick Durano wrote:

              Thanks to TypeScript for making my life less stressed!

              Why do I not believe you? :~ Marc

              Imperative to Functional Programming Succinctly Contributors Wanted for Higher Order Programming Project! 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

              J Offline
              J Offline
              Jeremy Falcon
              wrote on last edited by
              #23

              :laugh:

              Jeremy Falcon

              1 Reply Last reply
              0
              • M Marc Clifton

                Took me 10 minutes to find the error: onProceed: funtion() { And of course, the only error I get is Uncaught SyntaxError: Unexpected token { So of course I wonder, where did I have a mismatched curly brace??? Wrong wonderment. X| Marc

                Imperative to Functional Programming Succinctly Contributors Wanted for Higher Order Programming Project! 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

                J Offline
                J Offline
                Jeremy Falcon
                wrote on last edited by
                #24

                Marc man, what are you using for an IDE? function is a keyword and should be highlighted. You're making this hard on yourself man.

                Jeremy Falcon

                M 1 Reply Last reply
                0
                • C Clifford Nelson

                  Of course that is not really Javascript's problem. I see plenty of stupid errors in Visual Studio. Sometimes when you have a mistake that means that a project does not compile there are a ton of others. Then there was the time that I had a WPF UserControl and the code behind did not see the names in the XAML. I would love to blame Javascript for this problem since I am not fond of the language for a number or reasons, but in this case I cannot.

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

                  Clifford Nelson wrote:

                  I see plenty of stupid errors in Visual Studio.

                  True - the ones that are worst are Linq errors - those errors messages usually have nothing to do with the actual error. Marc

                  Imperative to Functional Programming Succinctly Contributors Wanted for Higher Order Programming Project! 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

                  1 Reply Last reply
                  0
                  • J Jeremy Falcon

                    Marc man, what are you using for an IDE? function is a keyword and should be highlighted. You're making this hard on yourself man.

                    Jeremy Falcon

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

                    Jeremy Falcon wrote:

                    Marc man, what are you using for an IDE?

                    I'm using Sublime. I suppose I could try VS Code, but then I have to figure out how to set it up to FTP saves over to the Ubuntu VM running the app. (Editing in Ubuntu sucks, one of many reasons being that the numeric keypad cursor keys don't work, and using the "T" is not something I ever got used to and cramps my fingers.) Marc

                    Imperative to Functional Programming Succinctly Contributors Wanted for Higher Order Programming Project! 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

                    J 1 Reply Last reply
                    0
                    • R raddevus

                      10 minutes is fast to find that. I'm serious. I've had a single missing comma cost me over an hour. Painful.

                      My book, Launch Your Android App, is available at Amazon.com.

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

                      raddevus wrote:

                      I've had a single missing comma cost me over an hour.

                      Same here. It took forever to actually realize it even wanted a comma. That was in my n00b days working with Backbone. Sort of trial by fire, was asked to implement a bunch of pages on existing project, never used Backbone before. Marc

                      Imperative to Functional Programming Succinctly Contributors Wanted for Higher Order Programming Project! 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

                      R 1 Reply Last reply
                      0
                      • M Marc Clifton

                        Jeremy Falcon wrote:

                        Marc man, what are you using for an IDE?

                        I'm using Sublime. I suppose I could try VS Code, but then I have to figure out how to set it up to FTP saves over to the Ubuntu VM running the app. (Editing in Ubuntu sucks, one of many reasons being that the numeric keypad cursor keys don't work, and using the "T" is not something I ever got used to and cramps my fingers.) Marc

                        Imperative to Functional Programming Succinctly Contributors Wanted for Higher Order Programming Project! 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

                        J Offline
                        J Offline
                        Jeremy Falcon
                        wrote on last edited by
                        #28

                        I use Sublime also. It supports syntax highlighting. You having a rough day? :laugh: You need a hug? I can code one up for ya in JavaScript.

                        Jeremy Falcon

                        1 Reply Last reply
                        0
                        • A Aless Alessio

                          :^) oh man ... am i the only weirdo who likes coding in Javascript ?!?

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

                          I am one that don't dislike javascript anymore, although I used to. In fact we just finished a quite complex system in which javascript plays a major role in both the server side and client side (see my signature) and it works quite well. As a matter of fact, I am feeling that the javascript codes we produced are more readable than the C# counter part (some of the equivalent logic were were realized in C# before) due to its functional style of representation

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

                          1 Reply Last reply
                          0
                          • M Marc Clifton

                            raddevus wrote:

                            I've had a single missing comma cost me over an hour.

                            Same here. It took forever to actually realize it even wanted a comma. That was in my n00b days working with Backbone. Sort of trial by fire, was asked to implement a bunch of pages on existing project, never used Backbone before. Marc

                            Imperative to Functional Programming Succinctly Contributors Wanted for Higher Order Programming Project! 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

                            R Offline
                            R Offline
                            raddevus
                            wrote on last edited by
                            #30

                            Marc Clifton wrote:

                            It took forever to actually realize it even wanted a comma. That was in my n00b days working with...

                            AngularJS (1.x) Exact same experience, just a different JS library. :) Hilarious!! and/or Terrible!! All for the lack of a decent compiler and good warnings.

                            My book, Launch Your Android App, is available at Amazon.com.

                            1 Reply Last reply
                            0
                            • M Marc Clifton

                              Took me 10 minutes to find the error: onProceed: funtion() { And of course, the only error I get is Uncaught SyntaxError: Unexpected token { So of course I wonder, where did I have a mismatched curly brace??? Wrong wonderment. X| Marc

                              Imperative to Functional Programming Succinctly Contributors Wanted for Higher Order Programming Project! 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

                              P Offline
                              P Offline
                              Plamen Dragiyski
                              wrote on last edited by
                              #31

                              If that didn't make your half program red, you use the wrong IDE. In fact a simple editor that highlight keywords would detect that (Why is the "funtion" not highlighted?). When people used notepad (not notepad++) for programming they had all these problems with typos and semicolons. Those were difficult ancient times...

                              1 Reply Last reply
                              0
                              • M Marc Clifton

                                Took me 10 minutes to find the error: onProceed: funtion() { And of course, the only error I get is Uncaught SyntaxError: Unexpected token { So of course I wonder, where did I have a mismatched curly brace??? Wrong wonderment. X| Marc

                                Imperative to Functional Programming Succinctly Contributors Wanted for Higher Order Programming Project! 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

                                J Offline
                                J Offline
                                Jan Hansen
                                wrote on last edited by
                                #32

                                Be mindful of the dark side...

                                1 Reply Last reply
                                0
                                • A Aless Alessio

                                  let's make an agreement, mate: you'll deal with my XAML and i ll take your javascript duties

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

                                  How about you do my CSS and I'll fix whatever problems you have (car, marriage, kids, anything is more fixable than CSS) X|

                                  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
                                  • M Marc Clifton

                                    Took me 10 minutes to find the error: onProceed: funtion() { And of course, the only error I get is Uncaught SyntaxError: Unexpected token { So of course I wonder, where did I have a mismatched curly brace??? Wrong wonderment. X| Marc

                                    Imperative to Functional Programming Succinctly Contributors Wanted for Higher Order Programming Project! 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

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

                                    I once spend 15 minutes trying to write a simple Hello World in JavaScript. I had pretty much the same problem. Boy, do you feel stupid when you have years of experience and fail at Hello World :laugh: Luckily I now know the problem is JavaScript, not me :D I find JavaScript doable nowadays, but only when I don't have to deal with other people's code.

                                    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
                                    • M Marc Clifton

                                      Took me 10 minutes to find the error: onProceed: funtion() { And of course, the only error I get is Uncaught SyntaxError: Unexpected token { So of course I wonder, where did I have a mismatched curly brace??? Wrong wonderment. X| Marc

                                      Imperative to Functional Programming Succinctly Contributors Wanted for Higher Order Programming Project! 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

                                      K Offline
                                      K Offline
                                      Kiriander
                                      wrote on last edited by
                                      #35

                                      Be glad that you hate it. A couple of my coworkers are full on Stockholm syndrome.

                                      K 1 Reply Last reply
                                      0
                                      • K Kiriander

                                        Be glad that you hate it. A couple of my coworkers are full on Stockholm syndrome.

                                        K Offline
                                        K Offline
                                        kalberts
                                        wrote on last edited by
                                        #36

                                        That is curable ... Geek and Poke[^]

                                        1 Reply Last reply
                                        0
                                        • M Marc Clifton

                                          Took me 10 minutes to find the error: onProceed: funtion() { And of course, the only error I get is Uncaught SyntaxError: Unexpected token { So of course I wonder, where did I have a mismatched curly brace??? Wrong wonderment. X| Marc

                                          Imperative to Functional Programming Succinctly Contributors Wanted for Higher Order Programming Project! 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

                                          D Offline
                                          D Offline
                                          Dar Brett 0
                                          wrote on last edited by
                                          #37

                                          If you think that's bad - you should try missing a semicolon after a class definition in C++

                                          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