this post was submitted on 24 Mar 2026
25 points (93.1% liked)

Programming

26196 readers
337 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 18 hours ago* (last edited 18 hours ago) (3 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
[–] Flamekebab@piefed.social 1 points 14 hours ago (1 children)

I've been working as a software engineer for years and not once have those "fundamentals" been relevant to the work I do.

If I question their usefulness then I don't think it'll sit well with no experience at all.

[–] grue@lemmy.world 2 points 13 hours ago (1 children)

If you've been working as a software engineer for years and things like error handling and data structures (let alone git and testing!) are not relevant to you, I fear for your employer's codebase.

[–] Flamekebab@piefed.social 1 points 12 hours ago* (last edited 11 hours ago) (1 children)

Hah! You picked the two of ~~your~~ that list that I actually do care about.

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

I don't know what pointers are. I don't care about memory allocation. Recursion rarely comes up.
That's not the kind of codebase I work with. I guess I'm not a proper big-boy programmer 😢

Anyway, your snide remarks about my abilities aside, that doesn't address my point at all.

[–] grue@lemmy.world 1 points 11 hours ago (1 children)

First of all, it's not my list. Check the usernames of the comments you're replying to.

Second, you didn't make any sort of distinction limiting which ones you were talking about before, which means that you expressed that none of them were relevant. You don't get to move the goalposts and then pretend it doesn't address your point because of that.

Third, that sloppiness and failure to pay attention is only reinforcing my initial impression.

[–] Flamekebab@piefed.social 0 points 11 hours ago* (last edited 11 hours ago) (1 children)

Calling me out on a clarification when you're banging on with ad hominem rubbish?

Respond to the point or bugger off. I'm not here to impress you, you're not my dad.

Third, that sloppiness and failure to pay attention is only reinforcing my initial impression.

A good engineer knows when the details matter and when it's just wasting everyone's time. Would you classify responding to someone being needlessly hostile as something other than a waste of time?

If anything you should be criticising me for choosing to spaff more time on this conversation.

[–] grue@lemmy.world 1 points 11 hours ago (1 children)

You weren't "clarifying;" you were backtracking and lying about it. That's a detail that matters.

[–] Flamekebab@piefed.social 1 points 11 hours ago (1 children)

Respond to the point or bugger off.

[–] grue@lemmy.world 1 points 11 hours ago (1 children)

I did respond to the point, in my initial comment. Your lack of reading comprehension is your own problem, not mine.

[–] Flamekebab@piefed.social 1 points 11 hours ago (1 children)

Your continuing inability to engage in an even remotely constructive way is really tragic.

Instead of seeing my response as "He takes my point and sees that his initial comment was too broad. We could have a conversation" it just ends up as an opportunity for you to make this community more hostile. That's so sad.

Hopefully you're just having a bad day.

[–] grue@lemmy.world 1 points 10 hours ago (1 children)

Yeah, we could have had a nice conversation, if you had ended your initial reply to me a sentence earlier. But you didn't, did you? No, instead, you tried to turn your failure to say what you meant around on me as if it were my fault, in an attempt to save face at my expense. Did you really think you weren't going to get called out on it?

There is only one person "failing to engage in an even remotely constructive way," and that's you, not me.

[–] Flamekebab@piefed.social 1 points 10 hours ago

Uh huh, okay, whatever you say, mate.

[–] mimavox@piefed.social 2 points 17 hours 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.

[–] ghodawalaaman@programming.dev 2 points 17 hours ago

Ah, thanks for reminding me about git. I almost forgot that it's also a thing which new comers struggle with.