this post was submitted on 27 Oct 2024
110 points (100.0% liked)
Programming
423 readers
5 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 find working with AI to help me understand way better.
Using Linux as an example. If I search for "give me the size of each subdirectory in the current directory" the stack overflow answer will be "just type du -h --max-depth=1" so you copy and paste it and, voila!, it's exactly what you want. Except I have no idea what any of it means.
However, I ask chatgpt, and it will explain that du means disk usage, -h gives a human readable form, and --max-depth=1 will only go down 1 level, without showing all of the subdirectories.
So now I've learned something.
Additionally, with coding, it's a lot like rubber duck debugging for me. Just formulating my question will often lead to an answer, or trying to explain what went wrong with the AI solution helps me get to the proper answer.
AI does give more reasoning than a forum might, that's true.