this post was submitted on 24 Mar 2026
35 points (90.7% liked)

Programming

26206 readers
478 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities !webdev@programming.dev



founded 2 years ago
MODERATORS
 

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
[–] Cryxtalix@programming.dev 11 points 1 day ago* (last edited 1 day ago) (1 children)

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.

[–] resipsaloquitur@lemmy.world 10 points 1 day ago (2 children)

printf(“hello world!”);

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

[–] IndustryStandard@lemmy.world -1 points 20 hours ago (1 children)

That is not a valid C program.

print('hello world')

Is a valid python program.

[–] resipsaloquitur@lemmy.world 2 points 18 hours ago (1 children)

Oh no, you're right, strings are famously difficult to print in C.