• 0 Posts
  • 265 Comments
Joined 1 year ago
cake
Cake day: October 18th, 2023

help-circle

  • 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.