this post was submitted on 21 Dec 2023
103 points (94.0% liked)
Programming
17362 readers
158 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 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
I'm starting to believe I am. Been at this for a year and I still don't understand how to use methods like .filter() or .map() despite reading and practicing, it's all just smashing the keyboard until it works. I know some other devs will come in and joke they do the same thing but no, I feel truly lost when trying to figure this out.
I have over a dozen years of experience as a software engineer and I started learning Scala and monads recently for a new job. I've come to the conclusion that monads are terrible and make things more difficult despite the on-paper description. Don't worry about it, you're much more competent than you think.
I'd like to believe that, I really would but I can't when it takes the better part of 2-3 hours of frustration just trying to figure out how to reverse a string before just doing a for loop and going over each individual character, only to find out all I had to do was something stupid simple like str.split().reverse().join()
But now you know for next time! Everything is a mystery, until you figure it out.