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?

you are viewing a single comment's thread
view the rest of the comments
[–] 13 points 4 months ago* (last edited 4 months ago) (1 child)

No way it's C. The average student will go home and find that they can't do much of anything they like, with the level of C they know. Even printing a string is famously hard in C, they'll hate it. Nothing drains their interest in programming faster than segfaults.

The average students wants to build games, websites, discord bots etc. Javascript makes it easy, none are easy in C.

  • source
  • hideshow 2 child comments
  • [–] 12 points 4 months ago (2 children)

    printf(“hello world!”);

    If this is famously difficult to you, I don’t think computer science is your bag.

  • source
  • parent
  • hideshow 4 child comments
  • [+] 3 points 4 months ago* (last edited 4 months ago) (1 child)
  • [–] 2 points 4 months ago* (last edited 4 months ago)

    I'm glad someone is saying it. I'm a software engineer and someone elsewhere in this thread is giving me shit for not having much use for the low level stuff.

    I was teaching a junior about character encoding a couple of months ago (I suspect his CS degree came free in a box of cereal) but most of what we do is build tooling on top of other tooling. I'm not working on bare metal here!

  • source
  • parent
  • [–] -1 points 4 months ago (1 child)

    That is not a valid C program.

    print('hello world')

    Is a valid python program.

  • source
  • parent
  • hideshow 2 child comments