I really don’t see why this is downvoted as I also thought it was the most interesting part of the parent comment.
My understanding is that ethics courses for students of subjects like computer science are uncommon. Ethics courses for engineering are more common and for law or journalism very common (though the ethics taught for law and journalism is basically opposite).
Towards the end of my degree, some faculty at the university made some attempts to create an ethics course for mathematics students that talked about some issues they might face in industry (popular careers were finance, tech or going to “work for the civil service”)
to clarify: the case we were studying at the time is now 20 years old
but yes, was one of my favorite courses. It was basically acknowledging that we will continually be a few decades ahead of any legal framework so it gave us other frameworks to consider in our decision making process