Original post

Not very good at and started learning . Can someone look at what I came up with and give some feedback?

Things I want to ask about:

  • Is the way I am reading the file okay? Or is there a better practice to do it?
  • Same thing with parsing the text into a slice? Is a slice a good way to do it? I don’t understand slices vs. arrays fully and going to have to read up more on that.
  • Same thing with copying the original slice into a new one? Is this a good way to do it?

Questions are a bit vague so I am sorry about that. Thanks for taking the time to read this. 🙂

submitted by /u/YouNeverWalkAlone
[link] [comments]