All human languages have at least some irregularities, and the way in which speakers deal with those irregularities is an interesting series of phenomena in itself, but most conlangs aim to be fully regular. A similar situation holds for phonology in which most languages have a developed system of allophony and sandhi, but conlangs typically don't aim to represent those phenomena at all.
What other fields of study are like computer science in that they shouldn't be about real-world needs? For a given discipline, how do you tell which of the two categories it falls into?
https://ufal.mff.cuni.cz/~hana/teaching/2015wi-ling/01-Intro...
Can you give me an example of such a university curriculum?
Also, do you generally teach advanced concepts in an introductory CS class?
This is also what I struggled to understand with other comments. An introductory CS class's purpose to introduce, warmup and invite students (most often w/ no background) to the world of CS. This means low barrier of entry. (which Python is well suited for).
Yes, there are other languages that offer more features and more explicitly but the point of intro CS classes is to spark the curiosity with a great feedback loop, while eliminating obstacles to learn.
Because we're not teaching language science in that case, we're teaching proficiency in an actual language.
An industry language is fine for a software engineering degree, or a technician degree of some sort.