Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. General talk
  3. The Lounge
  4. C# or JavaScript. Which choose for Unity?
Forum Updated to NodeBB v4.3 + New Features

C# or JavaScript. Which choose for Unity?

Scheduled Pinned Locked Moved Solved The Lounge
13 Posts 8 Posters 3.0k Views 2 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.
  • sierdzioS Offline
    sierdzioS Offline
    sierdzio
    Moderators
    wrote on last edited by
    #2

    Pick either one, both are good languages, both are popular (JavaScript is more popular and uglier), both have base syntax quite similar to C++.

    (Z(:^

    EngelardE 1 Reply Last reply
    2
    • EngelardE Engelard

      Hello guys. I downloaded Unity engine recently for sake AI practicing, and faced that the only code it accepts is C# or JavaScript. I read common stuff about both this languages, and still don't know which to select, so it would be(selected language) appliable in the future when i will be looking for the job.

      I know only C++ now btw.

      JonBJ Online
      JonBJ Online
      JonB
      wrote on last edited by JonB
      #3

      @Engelard
      IMHO, having programmed in both for many years, JavaScript is just horrible/offensive but is very, very useful for future potential jobs, C# is lovely and far preferable for a good experience but may be (a lot) more limited for job prospects. And btw, although both have similar-ish syntax to C++, C# is a still a decently typed language and limits you to doing sensible things like you are used to, while JS lets you do anything you like and blow everything up....

      1 Reply Last reply
      4
      • EngelardE Engelard

        Hello guys. I downloaded Unity engine recently for sake AI practicing, and faced that the only code it accepts is C# or JavaScript. I read common stuff about both this languages, and still don't know which to select, so it would be(selected language) appliable in the future when i will be looking for the job.

        I know only C++ now btw.

        ODБOïO Offline
        ODБOïO Offline
        ODБOï
        wrote on last edited by
        #4

        @Engelard https://answers.unity.com/questions/7528/how-should-i-decide-if-i-should-use-c-javascript-u.html

        1 Reply Last reply
        2
        • EngelardE Engelard

          Hello guys. I downloaded Unity engine recently for sake AI practicing, and faced that the only code it accepts is C# or JavaScript. I read common stuff about both this languages, and still don't know which to select, so it would be(selected language) appliable in the future when i will be looking for the job.

          I know only C++ now btw.

          J.HilkJ Offline
          J.HilkJ Offline
          J.Hilk
          Moderators
          wrote on last edited by
          #5

          @Engelard
          I would say go with JS,

          If you learn that, at the very least it would come in handy when you decide to do something with QML ;-)


          Be aware of the Qt Code of Conduct, when posting : https://forum.qt.io/topic/113070/qt-code-of-conduct


          Q: What's that?
          A: It's blue light.
          Q: What does it do?
          A: It turns blue.

          1 Reply Last reply
          0
          • sierdzioS sierdzio

            Pick either one, both are good languages, both are popular (JavaScript is more popular and uglier), both have base syntax quite similar to C++.

            EngelardE Offline
            EngelardE Offline
            Engelard
            wrote on last edited by
            #6

            @sierdzio said in C# or JavaScript. Which choose for Unity?:

            (JavaScript is more popular and uglier)

            In what way it is uglier?) There is only two ugly things i see in C# is that it only may be applied on Windows, and second - it was made by Microsoft.

            @LeLev said in C# or JavaScript. Which choose for Unity?:

            @Engelard https://answers.unity.com/questions/7528/how-should-i-decide-if-i-should-use-c-javascript-u.html

            That one is from 2009, but tnx anyway)

            I Probably should explore and learn both, assuming that i already know one language, it should'nt be hard.

            Thank you all for answers!

            ODБOïO sierdzioS VRoninV 3 Replies Last reply
            0
            • EngelardE Engelard

              @sierdzio said in C# or JavaScript. Which choose for Unity?:

              (JavaScript is more popular and uglier)

              In what way it is uglier?) There is only two ugly things i see in C# is that it only may be applied on Windows, and second - it was made by Microsoft.

              @LeLev said in C# or JavaScript. Which choose for Unity?:

              @Engelard https://answers.unity.com/questions/7528/how-should-i-decide-if-i-should-use-c-javascript-u.html

              That one is from 2009, but tnx anyway)

              I Probably should explore and learn both, assuming that i already know one language, it should'nt be hard.

              Thank you all for answers!

              ODБOïO Offline
              ODБOïO Offline
              ODБOï
              wrote on last edited by
              #7

              @Engelard said in C# or JavaScript. Which choose for Unity?:

              2009

              and ? this is general topic, not a precise documentation, so the main ideas are still true, last activity on that topic was in 2016.

              Note here is Qt forum not Unity3d

              1 Reply Last reply
              1
              • EngelardE Engelard

                @sierdzio said in C# or JavaScript. Which choose for Unity?:

                (JavaScript is more popular and uglier)

                In what way it is uglier?) There is only two ugly things i see in C# is that it only may be applied on Windows, and second - it was made by Microsoft.

                @LeLev said in C# or JavaScript. Which choose for Unity?:

                @Engelard https://answers.unity.com/questions/7528/how-should-i-decide-if-i-should-use-c-javascript-u.html

                That one is from 2009, but tnx anyway)

                I Probably should explore and learn both, assuming that i already know one language, it should'nt be hard.

                Thank you all for answers!

                sierdzioS Offline
                sierdzioS Offline
                sierdzio
                Moderators
                wrote on last edited by
                #8

                @Engelard said in C# or JavaScript. Which choose for Unity?:

                In what way it is uglier?) There is only two ugly things i see in C# is that it only may be applied on Windows, and second - it was made by Microsoft.

                You're asking for opinion, so obviously I'm using my bias here. I very much agree with @JonB - JS is powerful, you can do really magical things with it, but it's very easy to make a mess out of it. No strong typing, horrible "class" syntax (with it's prototypes and whatnot) that is hard to understand. I prefer languages which offer a bit more organized structure (no wonder I'm a C++ guy :D ).

                (Z(:^

                ODБOïO kshegunovK 2 Replies Last reply
                4
                • sierdzioS sierdzio

                  @Engelard said in C# or JavaScript. Which choose for Unity?:

                  In what way it is uglier?) There is only two ugly things i see in C# is that it only may be applied on Windows, and second - it was made by Microsoft.

                  You're asking for opinion, so obviously I'm using my bias here. I very much agree with @JonB - JS is powerful, you can do really magical things with it, but it's very easy to make a mess out of it. No strong typing, horrible "class" syntax (with it's prototypes and whatnot) that is hard to understand. I prefer languages which offer a bit more organized structure (no wonder I'm a C++ guy :D ).

                  ODБOïO Offline
                  ODБOïO Offline
                  ODБOï
                  wrote on last edited by
                  #9

                  @Engelard said in C# or JavaScript. Which choose for Unity?:

                  In what way it is uglier

                  http://callbackhell.com/

                  1 Reply Last reply
                  4
                  • EngelardE Engelard

                    @sierdzio said in C# or JavaScript. Which choose for Unity?:

                    (JavaScript is more popular and uglier)

                    In what way it is uglier?) There is only two ugly things i see in C# is that it only may be applied on Windows, and second - it was made by Microsoft.

                    @LeLev said in C# or JavaScript. Which choose for Unity?:

                    @Engelard https://answers.unity.com/questions/7528/how-should-i-decide-if-i-should-use-c-javascript-u.html

                    That one is from 2009, but tnx anyway)

                    I Probably should explore and learn both, assuming that i already know one language, it should'nt be hard.

                    Thank you all for answers!

                    VRoninV Offline
                    VRoninV Offline
                    VRonin
                    wrote on last edited by
                    #10

                    @Engelard said in C# or JavaScript. Which choose for Unity?:

                    In what way it is uglier?

                    https://www.destroyallsoftware.com/talks/wat

                    "La mort n'est rien, mais vivre vaincu et sans gloire, c'est mourir tous les jours"
                    ~Napoleon Bonaparte

                    On a crusade to banish setIndexWidget() from the holy land of Qt

                    1 Reply Last reply
                    5
                    • sierdzioS sierdzio

                      @Engelard said in C# or JavaScript. Which choose for Unity?:

                      In what way it is uglier?) There is only two ugly things i see in C# is that it only may be applied on Windows, and second - it was made by Microsoft.

                      You're asking for opinion, so obviously I'm using my bias here. I very much agree with @JonB - JS is powerful, you can do really magical things with it, but it's very easy to make a mess out of it. No strong typing, horrible "class" syntax (with it's prototypes and whatnot) that is hard to understand. I prefer languages which offer a bit more organized structure (no wonder I'm a C++ guy :D ).

                      kshegunovK Offline
                      kshegunovK Offline
                      kshegunov
                      Moderators
                      wrote on last edited by kshegunov
                      #11

                      @sierdzio said in C# or JavaScript. Which choose for Unity?:

                      I prefer languages which offer a bit more organized structure (no wonder I'm a C++ guy :D ).

                      Just take a look at the latest and the upcoming C++ standard and you may change your opinion ;)

                      @VRonin said in C# or JavaScript. Which choose for Unity?:

                      https://www.destroyallsoftware.com/talks/wat

                      This one just says it all there is about JS (and future c++) ... :)

                      Read and abide by the Qt Code of Conduct

                      sierdzioS 1 Reply Last reply
                      0
                      • kshegunovK kshegunov

                        @sierdzio said in C# or JavaScript. Which choose for Unity?:

                        I prefer languages which offer a bit more organized structure (no wonder I'm a C++ guy :D ).

                        Just take a look at the latest and the upcoming C++ standard and you may change your opinion ;)

                        @VRonin said in C# or JavaScript. Which choose for Unity?:

                        https://www.destroyallsoftware.com/talks/wat

                        This one just says it all there is about JS (and future c++) ... :)

                        sierdzioS Offline
                        sierdzioS Offline
                        sierdzio
                        Moderators
                        wrote on last edited by
                        #12

                        @kshegunov said in C# or JavaScript. Which choose for Unity?:

                        Just take a look at the latest and the upcoming C++ standard and you may change your opinion ;)

                        :| yeah...

                        (Z(:^

                        1 Reply Last reply
                        0
                        • J Offline
                          J Offline
                          jia28
                          Banned
                          wrote on last edited by jia28
                          #13
                          This post is deleted!
                          1 Reply Last reply
                          0
                          • EngelardE Engelard has marked this topic as solved on

                          • Login

                          • Login or register to search.
                          • First post
                            Last post
                          0
                          • Categories
                          • Recent
                          • Tags
                          • Popular
                          • Users
                          • Groups
                          • Search
                          • Get Qt Extensions
                          • Unsolved