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?

C# or JavaScript. Which choose for Unity?

Scheduled Pinned Locked Moved Solved The Lounge
13 Posts 8 Posters 2.5k Views
  • 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.
  • E Offline
    E Offline
    Engelard
    wrote on 5 Mar 2019, 14:46 last edited by
    #1

    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 O J 3 Replies Last reply 6 Mar 2019, 09:50
    0
    • S Offline
      S Offline
      sierdzio
      Moderators
      wrote on 5 Mar 2019, 19:24 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(:^

      E 1 Reply Last reply 6 Mar 2019, 10:33
      2
      • E Engelard
        5 Mar 2019, 14:46

        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 Offline
        J Offline
        JonB
        wrote on 6 Mar 2019, 09:50 last edited by JonB 3 Jun 2019, 09:51
        #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
        • E Engelard
          5 Mar 2019, 14:46

          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.

          O Offline
          O Offline
          ODБOï
          wrote on 6 Mar 2019, 10:13 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
          • E Engelard
            5 Mar 2019, 14:46

            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 Offline
            J Offline
            J.Hilk
            Moderators
            wrote on 6 Mar 2019, 10:24 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
            • S sierdzio
              5 Mar 2019, 19:24

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

              E Offline
              E Offline
              Engelard
              wrote on 6 Mar 2019, 10:33 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!

              O S V 3 Replies Last reply 6 Mar 2019, 10:44
              0
              • E Engelard
                6 Mar 2019, 10:33

                @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!

                O Offline
                O Offline
                ODБOï
                wrote on 6 Mar 2019, 10:44 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
                • E Engelard
                  6 Mar 2019, 10:33

                  @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!

                  S Offline
                  S Offline
                  sierdzio
                  Moderators
                  wrote on 6 Mar 2019, 11:10 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(:^

                  O kshegunovK 2 Replies Last reply 7 Mar 2019, 15:39
                  4
                  • S sierdzio
                    6 Mar 2019, 11:10

                    @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 ).

                    O Offline
                    O Offline
                    ODБOï
                    wrote on 7 Mar 2019, 15:39 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
                    • E Engelard
                      6 Mar 2019, 10:33

                      @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!

                      V Offline
                      V Offline
                      VRonin
                      wrote on 7 Mar 2019, 16:09 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
                      • S sierdzio
                        6 Mar 2019, 11:10

                        @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 7 Mar 2019, 19:33 last edited by kshegunov 3 Jul 2019, 19:34
                        #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

                        S 1 Reply Last reply 8 Mar 2019, 07:10
                        0
                        • kshegunovK kshegunov
                          7 Mar 2019, 19:33

                          @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++) ... :)

                          S Offline
                          S Offline
                          sierdzio
                          Moderators
                          wrote on 8 Mar 2019, 07:10 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 11 Jun 2019, 10:33 last edited by jia28
                            #13
                            This post is deleted!
                            1 Reply Last reply
                            0
                            • E Engelard has marked this topic as solved on 8 Feb 2024, 17:45

                            • Login

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