Should I take AP Physics I as a sophomore?

I'm currently in my freshman year, and I'm in the middle of the course selection process. One of the courses I requested was AP Physics I; however, I've had a few people express that they're either against the idea, or that they're not sure if I should take such a demanding course as a sophomore. Do you recommend taking this course as a sophomore, and if you took this course in your sophomore year, what was your experience with the course?

For additional context, I want to pursue computer science after high school. I'm currently taking Algebra II Advanced/Honors, and last semester I made a 96. I personally love science, especially chemistry and physics. I hope this helps.