I used to teach at a UX grad program where students were required to learn both design and development. But doing both on the same project was almost always a mistake -- the designer has to deeply understand and advocate for the end-user's mental model while the developer has to deeply understand the technical model and constraints. Attempting to do both often end up conflating them or compromising on at least one of them.
Sort of like how many lawyers are skilled enough to handle either prosecution or defense but few do both on the same case.
I think there's a Nielsen/Norman article on this but can't find it at the moment.