Skip to content

Instantly share code, notes, and snippets.

@ifiokjr
Last active November 27, 2021 08:01
Show Gist options
  • Save ifiokjr/f3810d16d76d763817cb06a2744a6131 to your computer and use it in GitHub Desktop.
Save ifiokjr/f3810d16d76d763817cb06a2744a6131 to your computer and use it in GitHub Desktop.
learning rust

Learning rust is so painful

I've taken it upon myself to learn rust this week and I'm building a library for extracting atomic css classes from TypeScript files.

I read bits of the book, and watched some tutorials, but making it actually make sense is so so painful.

It's a whole different world from TypeScript and Dartlang.

I've even done some limited coding in Swift and Kotlin, and none of them felt as painful as this experience.

Every new line of code I read, or fail at implementing makes me feel like I'm miles away from ever understanding anything.

I'm not saying it's a bad language , and I'm sure I'll eventually appreciate the language choices. Right now though, I want to remind my future self that this has been one of the most painful learning experiences I've felt.

I think the main thing I'm struggling with is that macros are so prevalent, I'm constantly having to remind myself, that I won't understand this fully yet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment