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. It can't be helped.

It can't be helped.

Scheduled Pinned Locked Moved The Lounge
javascriptquestion
31 Posts 18 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

    Hello Everyone, I have some idea of javascript and jQuery as in I can get the work done. But I feel like there is no way past it. I have to know it better if it is going to be this relevant. So here I am, open to suggestions about the best place to start. I did some research online and found that quite a lot of people endorse Javascript: The good parts and You don't know JS to be the best. I trust CP the most because I know people here have been through this dilemma. So how did you do it? Where did you start?

    I am not the one who knocks. I never knock. In fact, I hate knocking.

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

    Well, to preface this... I've been using JavaScript since the 90s, then a few years back I learned way more than I ever thought I knew about it from a super smart coworker at the time. So only doing really hardcore stuff for only a few years now. But, I'll say this. The web is sporadic. People don't really take the time to write well thought out content like a book does. Back in the 90s the best book I ever read on the subject was called the JavaScript Bible. It's still around actually if you get a newer edition, since it's has had 7 revisions. Things have changed now, so I'm sure there are a number of good books on the subject. My advice, get a good book on plain vanilla JavaScript and start a personal project to work on with it. Reading stuff online alone won't really teach you much. You have to work on a project. Also, as much as I love jQuery... I still use it a lot but it is dying as some of issues it addressed are being handled by native JavaScript these days. So, if I had to learn it all again, personally I'd start with vanilla JavaScript. Spend some time with it. Understand the semantics of the language (they're different because JavaScript is more functional then OOP) and only after a solid foundation would I consider building on top of that with libraries like jQuery. Not really sure what interests you, but a suitable project to learn with would of course be a client-heavy one, such as a game. If you're looking for ideas, see if you can make a Tetris clone in pure JavaScript for instance. Those are always fun. And remember, to get most things done in JavaScript you use callbacks and function chains like crack cocaine due to its functional nature, much like you would with LINQ chaining in C#. And by default, every last remote call is async. If you need to update the DOM based on a remote API call for instance it helps to remember that.

    Jeremy Falcon

    G 1 Reply Last reply
    0
    • G GKP1992

      Hello Everyone, I have some idea of javascript and jQuery as in I can get the work done. But I feel like there is no way past it. I have to know it better if it is going to be this relevant. So here I am, open to suggestions about the best place to start. I did some research online and found that quite a lot of people endorse Javascript: The good parts and You don't know JS to be the best. I trust CP the most because I know people here have been through this dilemma. So how did you do it? Where did you start?

      I am not the one who knocks. I never knock. In fact, I hate knocking.

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

      IMHO, the most important thing is to NOT to learn JS via one of those popular libraries... Learn plain JS first... Here some resources for that: JavaScript | MDN[^] JavaScript The Good Parts[^] JavaScript Course: The Good Parts | Pluralsight (based on the book above[^] Build A JavaScript Framework[^] It is very important to UNDERSTAND how the inner-works of JS way before you try any application - that will save you a lot of swearing...

      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

      G S 2 Replies Last reply
      0
      • G GKP1992

        Hello Everyone, I have some idea of javascript and jQuery as in I can get the work done. But I feel like there is no way past it. I have to know it better if it is going to be this relevant. So here I am, open to suggestions about the best place to start. I did some research online and found that quite a lot of people endorse Javascript: The good parts and You don't know JS to be the best. I trust CP the most because I know people here have been through this dilemma. So how did you do it? Where did you start?

        I am not the one who knocks. I never knock. In fact, I hate knocking.

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

        Oh, and hard core JavaScript has a high learning curve akin to F#. It's different. Don't worry about the naysayers saying they hate it. It's the defacto language for the client web. The language is pretty nifty but radically different than say C#. In reality, it's the development environments for it that need some work (they're much better this day and age), so get used to using your developer tools in Chrome, etc. as these will literally be a life saver.

        Jeremy Falcon

        G 1 Reply Last reply
        0
        • G GKP1992

          Hello Everyone, I have some idea of javascript and jQuery as in I can get the work done. But I feel like there is no way past it. I have to know it better if it is going to be this relevant. So here I am, open to suggestions about the best place to start. I did some research online and found that quite a lot of people endorse Javascript: The good parts and You don't know JS to be the best. I trust CP the most because I know people here have been through this dilemma. So how did you do it? Where did you start?

          I am not the one who knocks. I never knock. In fact, I hate knocking.

          P Offline
          P Offline
          Pete OHanlon
          wrote on last edited by
          #9

          *cough* Typescript. Just sayin'.

          This space for rent

          S Kornfeld Eliyahu PeterK 2 Replies Last reply
          0
          • P Pete OHanlon

            *cough* Typescript. Just sayin'.

            This space for rent

            S Offline
            S Offline
            Slacker007
            wrote on last edited by
            #10

            :thumbsup:

            1 Reply Last reply
            0
            • P Pete OHanlon

              *cough* Typescript. Just sayin'.

              This space for rent

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

              It can be a good tool - especially if you are used to typed languages... But, at the end of the day it translated to JS and that what runs on the clients machine, so using TS does not relieve you from learning JS...

              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

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

                It can be a good tool - especially if you are used to typed languages... But, at the end of the day it translated to JS and that what runs on the clients machine, so using TS does not relieve you from learning JS...

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

                P Offline
                P Offline
                Pete OHanlon
                wrote on last edited by
                #12

                Kornfeld Eliyahu Peter wrote:

                using TS does not relieve you from learning JS...

                Indeed it doesn't (nor was I suggesting that it does). What you do get from this, is well written examples of the language when the code has been transpiled so it becomes easier for you to grok how certain things should be structured.

                This space for rent

                1 Reply Last reply
                0
                • M Mycroft Holmes

                  Caveat - I have not been through this dilemma, I am currently resisting anything to do with the web stack since they trashed Silverlight. However I think there are very few here who endorse JavaScript, there are many who would like to stab it through the heart or burn it at the stake.

                  Never underestimate the power of human stupidity RAH

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

                  Mycroft Holmes wrote:

                  Caveat - I have not been through this dilemma, I am currently resisting anything to do with the web stack since they trashed Silverlight.

                  well it was a microsoft product, what did you expect?

                  1 Reply Last reply
                  0
                  • OriginalGriffO OriginalGriff

                    Mycroft Holmes wrote:

                    many who would like to stab it through the heart or burn it at the stake.

                    I doubt it. Far too quick an end for it. How about a very slow steam roller running it over, starting with it's "toes"?

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

                    S Offline
                    S Offline
                    Sascha Lefevre
                    wrote on last edited by
                    #14

                    Like this?[^]

                    If the brain were so simple we could understand it, we would be so simple we couldn't. — Lyall Watson

                    OriginalGriffO 1 Reply Last reply
                    0
                    • J Jeremy Falcon

                      Oh, and hard core JavaScript has a high learning curve akin to F#. It's different. Don't worry about the naysayers saying they hate it. It's the defacto language for the client web. The language is pretty nifty but radically different than say C#. In reality, it's the development environments for it that need some work (they're much better this day and age), so get used to using your developer tools in Chrome, etc. as these will literally be a life saver.

                      Jeremy Falcon

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

                      Thank you, Jeremy. This is what I actually wanted. As I said, I can get the work done, the problem is that it takes a few tries to make things work and sometimes it's really counter-intuitive (which really means I know zilch). Learning vanilla JS is what I want to do. I know that a lot of people hate JS (as do I), but I also understand that there's no way around it, now that clients want to build their application in the latest new and shining JS framework coz they heard it's "better". (sigh) nosedive it is then.

                      I am not the one who knocks. I never knock. In fact, I hate knocking.

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

                        IMHO, the most important thing is to NOT to learn JS via one of those popular libraries... Learn plain JS first... Here some resources for that: JavaScript | MDN[^] JavaScript The Good Parts[^] JavaScript Course: The Good Parts | Pluralsight (based on the book above[^] Build A JavaScript Framework[^] It is very important to UNDERSTAND how the inner-works of JS way before you try any application - that will save you a lot of swearing...

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

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

                        Thanks, learning vanilla JS is really the way to go.

                        I am not the one who knocks. I never knock. In fact, I hate knocking.

                        1 Reply Last reply
                        0
                        • S Sascha Lefevre

                          Like this?[^]

                          If the brain were so simple we could understand it, we would be so simple we couldn't. — Lyall Watson

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

                          Nah, the roller was moving far, far too fast.

                          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
                          • J Jeremy Falcon

                            Well, to preface this... I've been using JavaScript since the 90s, then a few years back I learned way more than I ever thought I knew about it from a super smart coworker at the time. So only doing really hardcore stuff for only a few years now. But, I'll say this. The web is sporadic. People don't really take the time to write well thought out content like a book does. Back in the 90s the best book I ever read on the subject was called the JavaScript Bible. It's still around actually if you get a newer edition, since it's has had 7 revisions. Things have changed now, so I'm sure there are a number of good books on the subject. My advice, get a good book on plain vanilla JavaScript and start a personal project to work on with it. Reading stuff online alone won't really teach you much. You have to work on a project. Also, as much as I love jQuery... I still use it a lot but it is dying as some of issues it addressed are being handled by native JavaScript these days. So, if I had to learn it all again, personally I'd start with vanilla JavaScript. Spend some time with it. Understand the semantics of the language (they're different because JavaScript is more functional then OOP) and only after a solid foundation would I consider building on top of that with libraries like jQuery. Not really sure what interests you, but a suitable project to learn with would of course be a client-heavy one, such as a game. If you're looking for ideas, see if you can make a Tetris clone in pure JavaScript for instance. Those are always fun. And remember, to get most things done in JavaScript you use callbacks and function chains like crack cocaine due to its functional nature, much like you would with LINQ chaining in C#. And by default, every last remote call is async. If you need to update the DOM based on a remote API call for instance it helps to remember that.

                            Jeremy Falcon

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

                            I have been reviewing some code from google music lab's experimental music projects. It's really interesting.

                            I am not the one who knocks. I never knock. In fact, I hate knocking.

                            J 1 Reply Last reply
                            0
                            • G GKP1992

                              Thank you, Jeremy. This is what I actually wanted. As I said, I can get the work done, the problem is that it takes a few tries to make things work and sometimes it's really counter-intuitive (which really means I know zilch). Learning vanilla JS is what I want to do. I know that a lot of people hate JS (as do I), but I also understand that there's no way around it, now that clients want to build their application in the latest new and shining JS framework coz they heard it's "better". (sigh) nosedive it is then.

                              I am not the one who knocks. I never knock. In fact, I hate knocking.

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

                              You're welcome. And, I think you'll learn to like it once you get past the WTFs with the learning curve that is. :laugh: Since it's always fun to see demos, try doing this without JavaScript. It would be impossible... Tearable Cloth v2[^] Even if you use WebGL, canvas, et al they are controlled by JavaScript. So learning it is essential for client interactivity.

                              Jeremy Falcon

                              G 1 Reply Last reply
                              0
                              • G GKP1992

                                I have been reviewing some code from google music lab's experimental music projects. It's really interesting.

                                I am not the one who knocks. I never knock. In fact, I hate knocking.

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

                                Yeah, people don't realize how much Google has helped the web. They have a ton of awesome APIs they expose to the public. If it turns out being a fun project, I'd be interested to see what comes of it.

                                Jeremy Falcon

                                1 Reply Last reply
                                0
                                • J Jeremy Falcon

                                  You're welcome. And, I think you'll learn to like it once you get past the WTFs with the learning curve that is. :laugh: Since it's always fun to see demos, try doing this without JavaScript. It would be impossible... Tearable Cloth v2[^] Even if you use WebGL, canvas, et al they are controlled by JavaScript. So learning it is essential for client interactivity.

                                  Jeremy Falcon

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

                                  That's so cool. :-D

                                  I am not the one who knocks. I never knock. In fact, I hate knocking.

                                  1 Reply Last reply
                                  0
                                  • G GKP1992

                                    Hello Everyone, I have some idea of javascript and jQuery as in I can get the work done. But I feel like there is no way past it. I have to know it better if it is going to be this relevant. So here I am, open to suggestions about the best place to start. I did some research online and found that quite a lot of people endorse Javascript: The good parts and You don't know JS to be the best. I trust CP the most because I know people here have been through this dilemma. So how did you do it? Where did you start?

                                    I am not the one who knocks. I never knock. In fact, I hate knocking.

                                    K Offline
                                    K Offline
                                    KarstenK
                                    wrote on last edited by
                                    #22

                                    I am not a fan of javascript, but it has become a serious and mighty programming language over the years. It is depending on the developer and it skill to use it in strict mode.

                                    Press F1 for help or google it. Greetings from Germany

                                    1 Reply Last reply
                                    0
                                    • G GKP1992

                                      Hello Everyone, I have some idea of javascript and jQuery as in I can get the work done. But I feel like there is no way past it. I have to know it better if it is going to be this relevant. So here I am, open to suggestions about the best place to start. I did some research online and found that quite a lot of people endorse Javascript: The good parts and You don't know JS to be the best. I trust CP the most because I know people here have been through this dilemma. So how did you do it? Where did you start?

                                      I am not the one who knocks. I never knock. In fact, I hate knocking.

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

                                      When it comes to Javascript, I started by crying. That turned into screaming. Now I just quietly whimper.

                                      Latest Article - Class-less Coding - Minimalist C# and Why F# and Function Programming Has Some Advantages 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

                                      1 Reply Last reply
                                      0
                                      • G GKP1992

                                        Hello Everyone, I have some idea of javascript and jQuery as in I can get the work done. But I feel like there is no way past it. I have to know it better if it is going to be this relevant. So here I am, open to suggestions about the best place to start. I did some research online and found that quite a lot of people endorse Javascript: The good parts and You don't know JS to be the best. I trust CP the most because I know people here have been through this dilemma. So how did you do it? Where did you start?

                                        I am not the one who knocks. I never knock. In fact, I hate knocking.

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

                                        I do not understand why so many people hate and whine about JavaScript. I've been using it for years and once you understand how web programming works, JS is easy. Then I found jQuery which was really confusing at first until I got the hang of it and now it is awesome. It is not that hard nor that bad. w3schools has some good information. I'd suggest doing a project and then just google how to do what it is you need to do. Learn by doing, that's what works best for me.

                                        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
                                        • OriginalGriffO OriginalGriff

                                          Mycroft Holmes wrote:

                                          many who would like to stab it through the heart or burn it at the stake.

                                          I doubt it. Far too quick an end for it. How about a very slow steam roller running it over, starting with it's "toes"?

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

                                          C Offline
                                          C Offline
                                          CodeWraith
                                          wrote on last edited by
                                          #25

                                          Is there no Sarlacc pit nearby?

                                          Quote:

                                          "In its belly, you will find a new definition of pain and suffering as you are slowly digested over a…thousand years." ―C-3PO translating for Jabba the Hutt

                                          I have lived with several Zen masters - all of them were cats.

                                          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