Not really, and it's not really an engineering major either unless your CS is also part of the engineering school like MIT's is. Compared to mathematics curricula, you are doing a lot less complex stuff, there are few proofs and the classes are much easier than math ones.
But I was early on in computers. I took a FORTRAN course for another engineering major and otherwise never used computers undergrad.
Although my datapoint is 15 years old now. I’ve heard they’ve dumbed down CS at the behest of tech companies looking for base level talent factories.
CSE at UW was unique too in being the only program that had a degree in both the college of engineering and the college of arts and sciences, which meant they literally had different deans and budgets, but the same program advisors and such.
Unless something has changed, I believe the original idea was to merge the computer engineering degrees from both departments, not sure how that panned out. I left before it was even ECE!
If you can’t prove things and don’t cheat, you can’t get a UWaterloo CS degree. Can’t get past first year.
This isn’t a flex tho, cuz there’s so much optional advanced math that isn’t required. Everything in the combinatorics and optimization department at UWaterloo basically. Most of us UW CS grads are normies who didn’t do any of the hardest stuff including me :-)
We covered data structures & algorithms, concurrency, schedulers and virtual memory but it wasn't very math heavy. We have one full semester on software dev cycle and one for UI and mobile app development. Our final project was a group project to assess applying software dev cycle in a team. As far as I'm aware the CS department has a sizable HCI group.
I remember in first year with Python they taught the students to parse integers with `eval`.
That's not a problem with the CS degree. I mean it's the same for every industry and degree then.
You study years of law only to spend most of it helping people exchange real estate contracts etc.
The average <any role> often degenerates into a boring repetitive task. The average doctor at a local clinic likely repeats the same diagnosis every day.
Could you maybe expand on which programs you're talking about, specifically? I'm always comparing other programs to ours. I haven't seen one I'd call "math-adjacent" in a while, as most programs have gone the way that ours has in emphasizing hands-on experience.
We took intro to cs (boolean algebra), algorithms (definitely math-adjacent), databases (relational algebra), computer architecture (math but with 1s and 0s), theory of computation (finite state machines, context-free grammars, set theory, more algo).
That on top of the math requirements (linear algebra, Calculus, probability & statistics)
Does your program not have those things?
When I look at CS majors, they are heavy on practice, and these days lighter and lighter in theory with every passing hour.
We have all those things you listed, but they are not emphasized as much. We don’t go into theory as much as we used to because there’s so much more to cover that people want to learn these days.
But as for a list of topics, of course you can fit a lot of CS topics into a “math-adjacent” category. But what I said was about the major not the class topics. There’s more to a major than a union of classes.
In fact I have many math majors in my CS class. There are many CS majors who take math classes. But come graduation time, the CS major will be prepared to go directly into a software engineering role and be a productive member of a team. They will have worked with technologies like git and visual studio extensively. They’ll know half a dozen languages. They’ll have worked with a team on a real software project for 1.5 years.
The math major will not have any of these experiences.
Let me put it this way, as someone with a physics and a cs degree, I would call the physics degree math-adjacent, and the ca degree engineering-adjacent.
Source: I spent the first 10 years of my career without a degree in the valley then got top honors at a top school as a return student, and am a distinguished engineer level engineer at top tech and tech aligned companies.
It was common question why we didn’t offer software engineering instead of computer science. The simple answer was an “engineering “ degree required non-applicable physical sciences, like heat transfer and an statics. Interesting, but not applicable to shipping software products.
Before Bologna, all Portuguese engineering degrees with 5 years, with masters and Phd, coming on top with additional 2 and 3 years respectively.
There were exceptions like polytechnics being 4 years, but they were a small subset.
With Bologna agreement reducing the standard set of years down to 3 years, that was felt like a downgrade, and so "integrated masters" degree was born to match the original 5 year degree, and everything remains as it was.
Was it similar in UK?
This was roughly half the courses, the other half were the usual stuff like computer logic, algorithms, operative systems, databases, computer architectures , etc.
Universities probably prefer that, given all things considered, it's better to teach NP than heat transfer, because it's more related to computers? Also big tech like to ask about CS stuff in the interviews.
A lot of computer scientists actually struggle with this and don't fully get it. As a result, software engineering education isn't all that great in a typical computer science curriculum. One reason is that most computer scientists actually lack the experience of having worked in large software companies and don't actually know a lot about how that works. It's something I realized while doing my Ph. D. in this area and I fixed it by leaving academia. I learned a lot since then.
One thing I learned is that a lot of good software engineers exist that never studied computer science. I know people with physics, geology, micro biology, philosophy degrees that ended up working as software engineers and that are very good at what they do. Most scientific work involves some level of programming these days. So, it's quite common to meet people with some python or even machine learning experience that never studied computer science. Things like formal methods, linear algebra, etc. are useful to know of course for some things. But you don't need to have a any of that to learn python, javascript, or any of the other popular languages. In the same way, knowing a lot about type systems is nice if you build compilers or design your own languages. But you don't need to know much about that to use a language.
Well said.
On the other hand, without the formal underpinning there is an enormous risk you assume your intuitions are correct about stuff where it turns out there's just unyielding mathematics (or occasionally physics) that disagrees. The formal instruction would either outright tell you about that or at least give you the right lenses to see for yourself.
For example it's not at all rare to see programmers who think about floating point as just the Real Numbers, because they superficially resemble real numbers you've seen - but it's not, it's the modulo integers again but wearing a trench coat. Formally it's obvious we're not getting the Real Numbers, Almost All of which aren't even computable. But without that formal underpinning people have nasty surprises.
People's intuitions about concurrency and parallelism are all wrong too. Amdahl's law matches reality but doesn't match how people intuitively expect this to work out. The insight that makes Rust and several modern languages work (that you can't incur a data race if you don't have multiple references and mutation) is not at all intuitive.
Another thing is that languages and tools that require a lot of formal background are a hard sell in industry because it means having to hire more scarce and expensive people. It's a reason that functional programming was a hard sell for a long time until languages got good enough that normal people could figure it out. Scala was an early example that did not quite get that right maybe. Too difficult for people without a CS degree and a good understanding of type systems. Indeed the whole language became a bit of a playground for type system nerds. It got a bad reputation for being hard and a bit over engineered.
Javascript and python, both of which now have some level of functional programming support, are much easier to pick up by other people. Which is why those languages are so popular. Any high school kid can work with this. I currently have a couple of summer interns in my team. These two languages are what they know.
This was me exactly. I started a Ph. D. simultaneously with two other students and our supervisor had us working on separate aspects of a common overall problem, each of which required a lot of software development, in C, because we were chasing performance. The supervisor had an academic background and all of us had only just graduated. Needless to say this was a total disaster and we never even managed to complete our separate parts let alone integrate a usable system. I bailed out and got an M.Phil for my efforts, but on the basis of the experience managed to get the job that I wanted, so it wasn't a complete write-off.
As soon as I encountered some actual software engineers in a well structured research department, I realised how bad our approach in Uni had been. My job involved a similar problem area, and using better tools (Common Lisp on a Lisp machine) I managed to build in about six months what I had failed to do in three+ years in academia.
My thoughts on the feudal nature of the Ph.D system at my Uni are a whole separate post!
They already do, it's called a "systems emphasis". Features cool stuff like data races, scheduling, IPC, consistency guarantees, cache coherence
And wrt this:
> However, it's often totally irrelevant to the real work in the software engineering industry.
I can't imagine someone working in backend and not understanding something basic like how to avoid data races
There are lots and lots if programmers in the world. Some are focused on UI (even on the backend), some on low-level things like graphics, so on hardware some on libraries, and yes, some on data.
I say this not to pick on you, but to point out that there are lots of universities, with lots of curricula, all called "computer science". The focus of each is widely diverse, and its likely that my CS degree and your CS degree are very dissimilar.
Depends on what your school considers to be CS. I did two compulsory mathematics papers for my degree and I've heard that in the years since that they've been axed. My resume still says I have a CS degree despite for all intents and purposes studying software engineering.
Which seems perfectly reasonable? I reckon most astrophysicists could work in the “telescope industry” just fine, and their background in astrophysics would prove pretty useful. And likewise, CS graduates are perfectly suited to difficult engineering jobs. I’d rather hire a smart CS grad with no knowledge of FactoryFactoryFactory than the reverse.
A better rejoiner would've have pointed out the optics-like bending and focusing of all wavelengths about gravitational wells, eg:
https://news.stanford.edu/press-releases/2022/05/02/gravity-...
works for more than just the visible wavelengths.
Reflective and refractive optical telescopes are still important (and still being built.)
Of course each of those areas is filled with decades of progress that requires in-depth expertise, but if there's a discipline that can go deep enough into each of them, it's probably EE.
https://www.ga.gov.au/scientific-topics/disciplines/geophysi...
It isn't even close.
Why do you think a CS major is like a mathematics major? Just because proofs and logic may be used in some curriculums doesn't make it a mathematics major.
I'd say the bulk of my CS degree was discrete maths adjacent to computation theory.
Honestly too much maths made me not like doing the degree (nothing against maths, I like it but I hate the way it's taught)
Many people have a different opinion of what CS is. Seems like you enjoy theory, so you went to a program that is heavy on theory. Smart move for you, not the same move others would make for equally smart reasons.
Personally I think all of the theory is fine, but computer science is about doing science. You can do theory science, but there is a wide world of science that needs to be done beyond that. For instance, an HCI researcher may not work much with algorithms, but that doesn’t make them any less of computer scientist, although some jerks might like to think so.
As for programs, most only have a core of 5-7 core required courses, along with a dozen or more other elective and general liberal arts courses. If more than a couple of the required courses are devoted to theory, then it’s probably tailored toward people who know they want that kind of thing. That’s neither good nor bad, but it doesn’t mean that other programs that don’t require more theory are necessarily bad. It may be that they just want to give students a broad overview of the field, and allow them to dive deep into theory with electives.
Regarding your example, that's exactly why I mentioned that, where I'm from, we have a software engineering degree that is more common than computer science exactly because people want more practical courses rather than jerking about theory for three years.
We even have a distinction between "Informatique" (computer science but more practical), "Mathématiques et Informatique" (more of a classical computer science course with tons of math theory). I think this is the best way to actually provide a diverse education path for different types of people. Otherwise you get a CS degree that basically sucks imo
I can definitely see AI / intelligent systems becoming its own thing. The dean gave us a directive to create new programs, and said that 50% of our CS majors should be graduating with degrees that don’t yet exist in 10 years. So you may actually start seeing more degree types in the area of CS.
- Algebra and discrete mathematics
- Two papers in data structures and algorithms (including theorems/proofs, using CLRS as the textbook)
- Secure systems (cryptography)
- Programming languages (parser/compiler theory etc)
- Theory of Computation
- Logic
Then I studied machine learning, which is a subfield of AI, which is a subfield of CS. That is a deeply mathematical subject, requiring knowledge of linear algebra and probability.
Software engineering is as much engineering as it is, say, mechanical and civil engineering: some applications explicitly require it, but others don't.
Computer science has a solid math foundation. Lambda calculus, graph theory, category theory, process calculus, computational complexity,etc etc etc.
This doesn't even take onto account stuff like numerical analysis and applied linear algebra, which is the core of high performance computing.
It all comes down to what exactly you believe math is, and what it really is.
But what is under debate is the comment that "CS is really a mathematics major". An undergraduate computer science degree program is no more a mathematics program than an electrical engineering, physics, or statistics or data science one.
But yes, there's no question that mathematics is highly applicable.
Take a look at medicine for example, by far the most practical of the original set of sciences the organisational pattern of universities was designed for: we know almost infinitely more than 100 years ago, but very little of 1920ies medicine would be considered objectively wrong today. The part of software engineering that struggles to fit in with "CS and a bit of coding" from 2003? Much of that knowledge would be considered more harmful than helpful today, even in an org that does mostly legacy maintenance. ("at this point in the waterfall we will have defined the class hierarchy")
That doesn't happen with medicine. You don't become a cardiologist without doing the whole 10 years of studying. It reminds me of the medieval guild system: quality assurance. But corporations will settle for quantity. They need warm bodies to code and they need it pronto.
Software engineering, or informatics engineering, are 5 year degree[0] with a mix of CS theory, actual practical projects, and engineering.
So at least from the point of view this tiny country, it seems like an issue on how US universities structure their offerings.
[0] - Bologna treaty for EU universities changed this a bit, however universities got around it by now offering integrated masters, allowed former students to upgrade their degrees for legal compatibility, so hardly anyone picks the bare bones 3 years as per Bologna.
Speaking as someone who didn't really notice any difference, I'd like to understand what changed for you.
Also, you vote for this kind of thing both in your national elections and in the European Parliament elections. It's representative rather than direct democracy (I do agree that it should be more direct, but not to the point of a referendum on the Bologna process).
What constitutes "software engineering" is a lot more subjective than what constitutes CS, partially due to the relative lack of mathematical foundations. At the university I attended, "software engineering" meant waterfall, enterprise-style Java and lots of UML diagrams, arguably it'd make anyone who attended the software engineering degree a worse engineer if they didn't know any better.
The CS I'm familiar with has aspects of mathematics, engineering, science, and even social sciences. It's a field that studies things related to computers and computing by any means necessary. Most CS programs are narrower in scope, because students only have a few years to study, and studying something in depth is generally better than covering a little bit of everything.
Regarding relevance to jobs, I think CS is, de facto, the major that employers see as more relevant in candidates in the US, though I think this is much less about the content and more about CS being seen as more prestigious and selecting for more ambitious/capable students who may make better employees in the long term. I don’t think the reason for the relative decline in the popularity of CS was that students really wanted to do software engineering (but ended up doing physics/math instead).
> CS is really a mathematics major,
This is true in many departments, and it's wrong imo. The reasons for the math focus are historical and they perpetuated, probably due to the way hiring was done -- the current math-inclined profs hired other math-inclined profs.
But it should change. I would argue that CS degrees should decrease the math focus and should really train for SWE.
Without hesitation, computer science is certainly not a mathematics major.
Having some knowledge of some aspects of a subject, doesn't make you qualified in that subject. At least, not at the university level.
Mathematics is an enormous and ancient subject. The maths that a CS student is exposed to is really a very small sliver of a few topics; applied to certain uses. Many other subjects (almost all numerate ones) have a similar relationship to maths.
Consider economics: aspects of it also make use of (applied) mathematics, but no one could seriously make the claim that an economics major, even one who has extensive capabilities in numerical modelling, is basically a mathematics major.
Theoretical CS could be described as "a form of applied mathematics"; but Theoretical CS is only a component of a CS degree; and, from what I see with young graduates today, a decreasingly smaller part of it (I am not making a value judgement - just an empirical observation).
Where I got my degree, a degree was 120 credit hours and typically 30 credit hours of that would be in your major. For economics, there were those 30 credit hours and also a requirement for calculus (a dummied down calculus class that didn't require trig) and an upper level stats class.
For CS, there were 30 credit hours of CS and an additional 30 credit hours of math. You end up with a major in CS and a minor in math. Looks like it would have taken 3 more upper level math classes to do a double major.
They want programmers, who will write code they can sell as quickly and cheaply as possible. Trying to raise a software engineering discipline to the standard of the real engineers would leave you with an employee too expensive to do what his professional ethics wouldn't allow him to.
Nah. The vast majority of software projects are of the lower echelon variety e.g., the slapdash shopping cart web apps. Considering JavaScript is still the language of choice in that realm, engineering rigors can’t exactly be of any real consideration.
No, it’s not the expense keeping real engineering away, it’s the culture.
My only real criticism of the course I did that it was just maths and CS for four years - which meant there was very little flexibility for people to do other things for the people who wanted to change subject.
Properly taught it definitely is.
The issue here is that an average undergraduate mathematics major in the USA learns a ridiculously low amount of mathematics so I guess a CS one does even less. I did more maths during my two years of prépa in France that the American who majored in mathematics I met during my postgraduate study.
I think you're getting to the crux of the point. A few years in university (for undergrad) is not nearly enough time to cover the entirety of mathematics. The sheer fact of time constraints requires a survey and a selection of a fraction of the field for study.
I would argue that economics degrees are also, essentially, math degrees for the same reason. Neither economics degrees nor computer science degrees will cover the same topics as a "pure" mathematics degree (or else they would simply be known as mathematics degrees), and I will grant to you that they are "applied" math degrees if I must. But the point remains: a "pure" math undergrad degree cannot include all of mathematics, and thus is perhaps best renamed as theoretical mathematics, commensurate with branding economics and consumer science as "applied".
I should have made a clearer distinction between theoretical computer science and a computer science degree.
Theoretical computer science is a topic in applied mathematics but a computer science degree isn't, typically composed only of classes in theoretical computer science. The extent to which it is varies from course to course and from university to university. In much the same way as in a mathematics degree there are pure maths topics (number theory, analysis, graph theory etc.) and applied topics.
I expect that eventually we'll have "applied CS" and "pure CS", as with mathematics. And statistics. And possibly architecture. (In engineering, pure engineering is "engineering science", it seems.)
"Eventually" is doing a bit of work there. It might take a hundred years.
I would say the same is true of most undergraduate math majors.
The Computer Science program was part of the College of Science and Mathematics at my university (not the School of Engineering). The stated goal of the program was to give students enough of a theoretical background in math and computer science to pursue an advanced degree in CS. Most students probably had other ideas, but that was the way the curriculum was structured. And there was enough overlap between Math and CS majors that most CS majors ended up with enough credits for a dual CS/math degree pretty much by accident.
To be clear I am under no illusion that meeting the minimum requirements for a math degree makes me a great mathematician. But neither were the majority of “pure” math majors in our classes. In fact, I would say the CS students tended to be stronger in math, as that was the more competitive major at my university.
Topology a a few others may make the cut, but it’s much easier to share requirements with other programs so a Math degree may include courses that are required or attract students from a Physics, CS, Engineering, Music, Economics, Chemistry, Philosophy, History, etc degrees.
Depending on how you set it up “History of Mathematics” could attract students from several different majors which means you can offer it more often etc.
And what we need is for CS and Software Engineering to split, with Software Engineering being part of the School of Engineering. (Similar to the way Chemistry is split from Chemical Engineering.) And we need Software Engineering to be ten times as large as Computer Science. (Of the people who get CS degrees, 90% of them are going to work as software engineers, not as computer scientists.)
I’m curious what sorts of things would you like to drop from a CS degree, and add to a computer engineering degree?
To me, software engineering is about creating larger-scale software that adequately meets the need, and doing so as efficiently as possible - which is not to say that it's efficient. When there's six steps in the communication path between the need and the programmer, how do you minimize the amount of time the programmer is implementing the wrong thing? This is a far bigger problem than choice of language or algorithm, but I doubt you'll ever find it in a CS curriculum. I might even say it's the fundamental problem of software engineering - or perhaps of software engineering management.
Along those lines, they should teach clarity of writing technical information, and ability to read less-than-stellar technical information.
"That adequately meets the need" - that's not perfection. How do you evaluate and triage bugs? How do you manage the bug list? For that matter, how do you even know what bugs you have? Testing strategy should be part of a software engineering curriculum.
Working with a version control system. They might get that in a CS degree, but probably around the edges and by accident. For a software engineering degree, they should get it in some depth and on purpose.
I don't know what I'd cut to make room for that kind of thing. But I think that kind of thing needs to be there for an actual software engineering degree.
This is already the case with classical engineering degrees. The majority of undergraduate engineering coursework is science, calculus, or some form of applied mathematics specific to the discipline you're majoring in.
However, the definition of a mathematics major is, I think we'd agree, "someone who has majored in mathematics". So, regardless of how much of the corpus we manage to cover, having a degree in mathematics means that you majored in mathematics (if I am understanding US terms correctly).
The original post was, I think, equivocating a degree in computer science with being a mathematics major. Which could be regarded as being incorrect, perhaps pedantically, merely by definition alone.
However, also, I am making a distinction (although I wasn't very clear, I admit) between theoretical computer science (the topic) and a computer science degree. It is generally accepted that theoretical computer science is a topic in applied mathematics, but it doesn't then follow that having a computer science degree means that you are a mathematics major.
Computer science degrees have theoretical computer science (the topic) as a component; the extent to which that component makes up the degree syllabus varies greatly from university to university and, perhaps, has also changed over time.
However, there’s considerably more to it than that. With a few rare exceptions, the overwhelming majority of CS programs in the USA are “telescope science” and not astronomy. One of the more telling, and to my mind obnoxious, evidences of this is how even in the academy the CS types literally appear to believe that “formal” means machine checkable while at the same time balking at learning basic first order predicate calculus to actually specify what is to be computer by a given program. Clearly they are studying the machine and not the mathematical sub-discipline.
I emphasize the USA, because having done many many FAANG technical interviews there is a discernible pattern of graduates from continental European CS programs being considerably more mathematically literate.
Theoretical computer science is generally regarded as a topic in applied mathematics. However, it doesn't follow that, therefore, a computer science major is basically a mathematics major.
Theoretical computer science (the topic) is a component of a degree in computer science. How large of a component it is varies greatly from university to university and, perhaps, has changed over time.
I went to large state school where the CS department was part of and eventually split off from the math department at some point. Their original degree was computer science and applied math. It was very much “math with computers” when I was there 25 years ago.
I imagine things have changed a lot, but schools have a variety of approaches and states of transition that are probably difficult to know about.
Even at the time, however, there were divisions in the faculty about the core curriculum, since we had two graduate CS tracks: software engineering and theory.
– Edsger W. Dijkstra (source: https://www.cs.utexas.edu/~EWD/ewd10xx/EWD1036.PDF)
It turns out in most jobs you do use things like soft skills, version control, SQL, etc. more than number theory, formal verification, Forth or UML.
"if we wish to count lines of code, we should not regard them as "lines produced" but as "lines spent": the current conventional wisdom is so foolish as to book that count on the wrong side of the ledger."
Nowadays they have a software engineering track, data science, and even one focused on entrepreneurship.
My impression of CS is that much of the practical stuff is already implemented in the standard libraries of most programming languages, and most people can go far with a cheat sheet on which to use and when.
My college courses taught me about networking, operating systems, computer architecture, algorithms and data structures, and more. I use knowledge from all these areas on a nearly daily basis in my job as an embedded software engineer.
For the front end developers who studied theory of computing, I agree.
I will say tho, one thing I liked about my university was that paid internships at companies in your field was a requirement for graduation. I think this better prepared me more than anything for the job market. And it's something that you can bolt on to really any degree program without major curriculum changes.
I missed out on some of the CS concepts I think, like I hadn’t heard the term “Bloom Filter” until I was asked about it in a TripleByte interview… but it’s nothing a free, online course can’t solve.
If you just want to build telescopes, then you don't probably need any degree. If you want to engineer telescopes, then astrophysics, optical physics, etc. might matter.
We often use the term "software engineer" when we really just mean "programmer". But actually engineering software is going to rely on CS knowledge a lot more than simply programming a computer.
In some universities, CS is under the Math faculty, like in University of Waterloo (one of the top programs in the world), so there's some official recognition to this idea.
I told my academic advisor I wanted to be a computer programmer, and she put me in CompSci. No one ever told me that that was the wrong discipline. My school didn't even have a Software Engineering program. I had graduated and was trying to find work before I fully realized that my degree had barely taught me anything useful and I was going to have to learn most of it myself.
It's the system that's misguided.
Purdue seems to have been one of the first CS departments (1962) and was part of the Mathematical Sciences division along with Statistics.
Systems courses tend to be more aligned with engineering (and industry practice) while theory courses tend to be more aligned with mathematics.
But given the origins of CS it is disappointing that software practice typically lacks both engineering rigor (vs. circuits with predictable behavior) and mathematical rigor (vs. theory with provable results.) The math and engineering parts of CS seem to apply primarily to tiny components rather than the large, complex software systems that people actually build.
CS is really a mathematics major, if you become a good engineer in the process of getting a CS degree it's purely accidental on the part of the CS department. It's like getting an astrophysics degree in hopes of getting a job in the telescope industry.
Universities should really emphasize software engineering as a major rather than CS. CS is great, don't get me wrong, you'll come out of that program with a galaxy brain for problem solving. In addition, there's definitely overlap between the two areas. However, it's often totally irrelevant to the real work in the software engineering industry.