this post was submitted on 24 Mar 2026
45 points (88.1% liked)

Programming

26316 readers
934 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
[โ€“] raicon@lemmy.world 1 points 1 week ago* (last edited 1 week ago) (13 children)

I would say C first. You need to learn the fundamentals:

  • pointers
  • allocation
  • reference vs value
  • recursion
  • stack
  • panics, errors, error propagation
  • data structures

Many devs don't know it and they are honestly just clueless about anything they are doing. They just want to make it work.

JavaScript is just too high level, and makes you think you are immune to these low level concepts, but you are not.

And not only that, but also good practices, like:

  • git
  • linting
  • types of tests and how to implement them
  • working with third party dependencies
[โ€“] mimavox@piefed.social 3 points 1 week ago

I wouldn't say that pointers and memory allocation is a good thing to start with. I teach programming to students with no prior experience, and sometimes it's hard to even get them to grasp basic programming in Python. At least in the beginning. You have to start slow.

load more comments (12 replies)