Elektrine lite

← Feed

@matt@toot.cafe

2026-09-15 18:07 UTC

@ekuber@hachyderm.io @cliffle@hachyderm.io I wonder about teaching Rust as a first programming language. Would it be too much all at once, or would they have the advantage of not having to unlearn things from other languages?

Replies (3)

  • @goedelchen@mastodontech.de 2026-09-15 19:52

    @matt@toot.cafe @ekuber@hachyderm.io @cliffle@hachyderm.io Andreea Costea was talking about this at RustWeek https://www.youtube.com/watch?v=8iy37I0WE_s Another interesting talk is Karin Lammers' with her experience as a learner of Rust as first programming language. https://www.youtube.com/watch?v=eVv8lCtw5-s

    Open ##4716780

  • @drawkcab@hachyderm.io 2026-09-15 19:02

    @matt@toot.cafe @ekuber@hachyderm.io @cliffle@hachyderm.io this is probably an unpopular opinion but I've been writing a game in rust for three years and I am pretty sure I will never understand rust, but the thing is, that's fine. I have developed some basic intuitions about borrowing and ownership by experiment and they work most of the time. When they don't the compiler tells me what to do. I never use lifetimes and I never return borrows. I made a trait once but it wasn't very useful. But enums and matches are amazing.

    Open ##5325119

  • @ekuber@hachyderm.io 2026-09-15 19:05

    @matt@toot.cafe I honestly think that is fine. People who are tabula rasa just accept things as "just the way it is". They are already used to not knowing everything. It is *experts* who are thrown for a loop and have the most trouble, specially if they have forgotten what it is like not to know things.

    Open ##5325121