Hello,

I am thinking about teaching my students JavaScript first so that they can start creating websites and make their career, what are your thoughts?

  • ghodawalaaman@programming.devOP
    link
    fedilink
    arrow-up
    5
    ·
    13 hours ago

    The main reason to not including python is that students aren’t particularly in the CS field, they are learning it as their “augmented skill” (I don’t know what it’s called bad English). That’s why I don’t want to force them to learn CS concept which they might not even need.

    I was thinking about C so that their fundamentals gets cleared but I think it will be too much for students who aren’t into CS. What do you think ?

    • calcopiritus@lemmy.world
      link
      fedilink
      arrow-up
      1
      ·
      1 hour ago

      Idk why you are discarding python for the reason that makes python the best option. If there is a programming language that a non-programmer should know, it’s python.

    • MagicShel@lemmy.zip
      link
      fedilink
      English
      arrow-up
      7
      ·
      9 hours ago

      Python allows you to focus on a single concept in isolation (building on what you’ve already learned, of course). JS has a bunch of other stuff mixed in. Like the DOM. Interacting with the DOM is necessary for any browser code. You can hide it with abstractions and boilerplate, but it’s always going to surface in error messages. Debugging JS can be quite a bit harder than other languages.

      Caveat: beginner JS is many years behind me. It may not be as bad as corporate code full of react and angular and all kinds of requirements.

    • BillyClark@piefed.social
      link
      fedilink
      English
      arrow-up
      36
      ·
      13 hours ago

      If they’re not in the CS field, and you don’t want to teach them CS concepts that they don’t need, then you have eliminated C as an option by your own criteria.

      With C, they’ll have to learn about compilers, build systems, memory management, and pointers at the very least.

    • grue@lemmy.world
      link
      fedilink
      arrow-up
      4
      ·
      9 hours ago

      The main reason to not including python is that students aren’t particularly in the CS field, they are learning it as their “augmented skill” (I don’t know what it’s called bad English). That’s why I don’t want to force them to learn CS concept which they might not even need.

      That’s an even better reason to pick Python, then.