News for hackers. Stuff that matters.
Re:You are never taught how to build quality software by hardwaregeek on Friday December 08, 2023 @04:49PM (#38574989)
There's a massive gap between taught at CMU and taught at most universities. And even if it is taught, it's usually outdated or focused on very literal stuff like how to write web applications. I'd have killed for a class that actually focuses on implementation, on teamwork, on building complicated systems.
Re:You are never taught how to build quality software by sasaf5 on Friday December 08, 2023 @05:23PM (#38575459)
+1 for teamwork... I wished there was an established field of study for teamwork in software. If you are impressed with 10x devs, imagine 10x teams!
Re:You are never taught how to build quality software by habnds on Friday December 08, 2023 @08:18PM (#38577276)
I don't believe this personally, but I bet that many people with MBA's would tell you that this was what their MBA was about.
Re:You are never taught how to build quality software by cqqxo4zV46cp on Friday December 08, 2023 @08:42PM (#38577461)
Yeah. A fair bit of this is just “people working in teams” stuff, that people that buy into ‘developer exceptionalism’ will tell you is sacred software developer knowledge. It isn’t.

Software engineering isn’t just about teamwork, and not all software development-related teamwork skill is generalisable to other industries, but it’s far from uncommon for there to be some trendy blog post laying out the sorts of things that, yes, an MBA program will teach someone. Which is fine, if not for the fact that these same people will scoff at “clueless MBAs”.

Re:You are never taught how to build quality software by eastbound on Saturday December 09, 2023 @07:31AM (#38581428)
In software engineering schools in France, both in my personal experience and other Bac+5 people I’ve hired, the entire Bac+4 year was dedicated to group projects. When you have 8 group projects in parallel at any time, it does teach team work, management, quality control, all the good stuff.

After the first failed project, everyone agrees that they need a boss without assigned duties. Then in 5th year, we’d have one or two class-wide projects (20-30 people).

This, along with joining event-organizing charities on the campus, where you’d work 3-5hrs a week to build a hundred-thousand-to-a-million dollars event (NGOs on campus, or concerts, or a sports meeting, to each their preferences, but it was the culture). And it wasn’t always a good time together, it’s not flowers all the way down.

I’m only surprised some school might consider engineering without group effort. On the other hand, I deeply deeply regret spending this much time in charities and not enough dating, as I have never been recognized for charity service, and family was important to me.

Re:You are never taught how to build quality software by ricw on Friday December 08, 2023 @06:40PM (#38576397)
That was a dedicated software engineering course I took at university. Teams of 5. Had to put the soft eng theory into practice. And if’s not CMU.
Re:You are never taught how to build quality software by calvinmorrison on Friday December 08, 2023 @07:31PM (#38576884)
Do they funnel soon to be grads into stressful zoom calls where product managers handwave an entire legacy stack still somehow running on coldfusion and want a rebrand with 'AI' starting Jan 1??
Re:You are never taught how to build quality software by ekidd on Friday December 08, 2023 @08:53PM (#38577551)
No, but our professor assigned teams at random, gave us a buggy spec, and then changed the spec with one week to go during finals week. (This last part appears to have planned; they did it every year.)

This was a surprisingly effective course, if sadistic.

Re:You are never taught how to build quality software by calvinmorrison on Friday December 08, 2023 @10:46PM (#38578353)
It certainly trains the programmer to not box themselves in with assumptions. What's one more for loop?
Re:You are never taught how to build quality software by ungamedplayer on Saturday December 09, 2023 @02:03AM (#38579383)
Talk about preparing graduates for the real world!
Re:You are never taught how to build quality software by bcrosby95 on Friday December 08, 2023 @08:25PM (#38577328)
I had something like this too - it was required for my CS degree. Our class split up into teams of 5. But the whole class of 30 was working on a single project. It was a semester-long project and each team also had to integrate with eachother to build the final solution.
Re:You are never taught how to build quality software by heelix on Friday December 08, 2023 @07:01PM (#38576628)
I've wished that students would be required to hand their semester long project to the person next to them each week.
Re:You are never taught how to build quality software by fsckboy on Friday December 08, 2023 @08:56PM (#38577579)
that would be a cool semester long project assignment: everybody has to plan/architect their own software project, and then work on implementing them, but you don't work on your own project, that you just manage.
Re:You are never taught how to build quality software by steveBK123 on Friday December 08, 2023 @10:04PM (#38578110)
Almost every CS course I took went the other way and had strict cheating policies that essentially made any group work verboten. There was 1 group project in 1 course I took in 4 years.

My spouse on the other hand took an explicitly IT program and they had group projects, engaging with real world users, building real solutions, etc.

Re:You are never taught how to build quality software by sdiupIGPWEfh on Friday December 08, 2023 @11:31PM (#38578602)
> strict cheating policies that essentially made any group work verboten

If I had to guess, some polytechnic school or another?

With some classes even forbidding discussing work with other students, where each assignment required a signed (digitally or otherwise) affidavit listing everyone you consulted, acknowledging that if you actually listed anyone, you were admitting to violating the academic honesty policies and if you didn't list anyone yet had spoken with others you were of course also violating the academic honesty policies.

Where only consulting the professors or TAs was allowed, the TAs were never around, and the professors refused to help because if they gave you any hints, it would apparently give away the answer, which would be unfair to the other students.

Re:You are never taught how to build quality software by virgilp on Saturday December 09, 2023 @01:52AM (#38579338)
I taught a course "in a previous life" and while I wasn't anything close to as strict as you say here, I can tell you the flip side: students would copy, modify superficially (some, less superficially) and then claim "it's my work, we just talked, that's why the similarities!" (with some even having the nerve to say, "it's not copied, look, plagiarism detection software says similarity is less than x%!) Perhaps I was wrong but I really wanted the students who took the course to put in the work themselves. Just choose a different course/course set, you _knew_ this one was going to be hard!

So yeah, the guideline was that we'll be eventual judges of what was "too similar" and if you're concerned, just don't discuss implementation details with anyone. I realize it prevents honest colaboration, and that's bad too... but sometimes it's a "damned if you do, damned if you don't" kind of situation.

Re:You are never taught how to build quality software by toolslive on Saturday December 09, 2023 @03:48AM (#38579990)
What we did when correcting the homework is compare the signature of the assembly output (not manually of course). You can move functions around, rename them, change the names of variables, .... but the signature of the instructions remains the same.

We caught 2 guys, of course we didn't know who copied from whom, but we quickly found out by challenging each of them with a fizz-buzz kind of question.

Re:You are never taught how to build quality software by steveBK123 on Saturday December 09, 2023 @10:07AM (#38582482)
Sure, but given how we all work in the real world.. there should be courses that are explicitly "group project" based.
Re:You are never taught how to build quality software by denton-scratch on Saturday December 09, 2023 @05:04AM (#38580413)
I had students that copied one-another's work; in fact I had few students that didn't copy. It made it impossible to mark their projects correctly, so I asked my more-experienced colleagues.

The best advice I got was to explain the difference between collaboration (strongly encouraged) and plagiarism (re-take the course if you're lucky). Forbidding collaboration is a disastrous policy, so an instructor shouldn't have a problem with giving the same mark to each member of a group of collaborators. You just have to test that each individual can explain what they've submitted.

Re:You are never taught how to build quality software by steveBK123 on Saturday December 09, 2023 @10:06AM (#38582473)
My school auto-graded everything (file drop your code to a server by midnight & get a score back). I don't recall a single instance of TA/professor written or verbal feedback on code.
Re:You are never taught how to build quality software by denton-scratch on Saturday December 09, 2023 @01:26PM (#38584298)
Yuh. I guess that's "modern times". I taught in the late eighties, and auto-grading wasn't a thing.

FWIW, I was a "temporary visiting lecturer", i.e. contract fill-in help. I had to write the syllabus (literally), the course plan, and the hand-outs. I also had to write all the tests and the exams; and I had to mark the exams, and then sit on the exam board through the summer holidays. The pretty girls would flutter their eyelashes at me, and ask for leniency. I suspect they took their cue from my louche colleague, who was evidently happy to take sexual advantage of his students in exchange for better marks.

[Edit] I liked this colleague; but I would not have introduced him to my wife or my daughter.

Re:You are never taught how to build quality software by steveBK123 on Saturday December 09, 2023 @02:32PM (#38585073)
Yikes.

Actually not so modern, my college was auto-grading 20 years ago.

Re:You are never taught how to build quality software by denton-scratch on Saturday December 09, 2023 @06:44PM (#38587421)
This was in the 1980's. We're talking 5 1/4" floppies, no internet, 64MB RAM. I had to review my students' work as dead-tree submissions or completed circuits or whatever.

(I certainly wasn't going to take digital submissions from them; that would mean floppy disks, and I regarded any disk that had been touched by any student as if it were infected with plague, because it almost certainly was. All the school systems were always infected).

Re:You are never taught how to build quality software by LargoLasskhyfv on Monday December 11, 2023 @07:30AM (#38600025)
I think you intended to write 64KB?
Re:You are never taught how to build quality software by skeeter2020 on Saturday December 09, 2023 @10:42AM (#38582792)
I've taken course work at 6+ different universities, and in my experience different groups of international students have very different perspectives on what is cheating vs. collaboration. I think it's likely attributed to the western ideal of the individual vs. the collective.
Re:You are never taught how to build quality software by sdiupIGPWEfh on Saturday December 09, 2023 @11:05AM (#38583002)
Also, for whatever my purely anecdotal experience is worth, I'd say the general quality of a professor's teaching was negatively correlated with how hard-ass they were about anti-collaboration policies. That also held true for a couple classes I'd dropped and retaken with a different prof.

One might think I'm just rating easier professors higher, but no, there were definitely enough sub-par teachers with lax policies and forgiving grading who failed to impart what their course was supposed to cover. There were also tough professors I learned a lot from. It's just that I can't recall a single decent instructor among those obsessed with anti-collaboration policies.

Re:You are never taught how to build quality software by WWLink on Saturday December 09, 2023 @01:38AM (#38579261)
That's crazy! My uni had senior design projects, and labs. Shoot, my community college had those, too. Most of our classes had lab projects, and sometimes the lab projects were group projects. We were encouraged to help each other out. I can't imagine a class where collaboration was totally against the rules.

And I mean, that went with everything. In my EE classes we did lots of collaboration. We had study groups, homework groups, etc. It was a lot of fun. I'm sad to hear there are places where they straight up make that against the rules.

My uni also had engineering ethics classes - in my major it was mandatory to take 2 of them. I think it makes sense and should be more common for software engineers. A lot of software is used to operate planes, cars, medical equipment, and nowadays also help make decisions that can have life-threatening consequences.

Re:You are never taught how to build quality software by accurrent on Saturday December 09, 2023 @12:29AM (#38578910)
The university I went to had this. We had to maintain an application that was built by our seniors and then hand that off to the next batch.
Re:You are never taught how to build quality software by akoboldfrying on Saturday December 09, 2023 @06:02AM (#38580794)
I'm impressed by the closeness to reality, but curious how they could assess performance consistently?
Re:You are never taught how to build quality software by tasuki on Sunday December 10, 2023 @02:04PM (#38593908)
"the students are getting worse every year"
Re:You are never taught how to build quality software by skeeter2020 on Saturday December 09, 2023 @10:44AM (#38582804)
This is a really good idea, but I would hate to have to do it... unless I was the senior who got to do the original greenfield development!
Re:You are never taught how to build quality software by robinson7d on Saturday December 09, 2023 @11:29AM (#38583224)
Worst of all: the first seniors get to refactor the professor’s code.
Re:You are never taught how to build quality software by ReactiveJelly on Saturday December 09, 2023 @02:21AM (#38579490)
Me too. All throughout my education, group projects and speeches were both these scary, uncommon things that you could afford to fuck up, and I skated by on individual talent.

Now I'm an adult, several years into my career, wishing that the schools had done a bigger quantity of low-stakes group projects instead. It's a muscle that was never exercised

Re:You are never taught how to build quality software by usrusr on Saturday December 09, 2023 @08:07AM (#38581648)
Not each week, but at my university, they had enough focus on the science part that most semester long solo projects were semester long and solo only in name. Students were assigned some component or incremental stage of some larger project spanning years and multiple PhDs, not some assignment for assignment's sake. That certainly did not make them perfect learning environments because students were left to their own in how they solve cooperation (postgrads running those macro projects might be considered PO, but not technical leads, and just as clueless as the rest) but the "pass on to the next each week" approach would have exactly the same gaps.
Re:You are never taught how to build quality software by spiffytech on Sunday December 10, 2023 @08:41AM (#38591457)
My university did this - each semester's class inherited the code base the last semester had worked on.

As a learning tool it was a disaster. The code had never been touched by a skilled engineer, just years of undergrads pulling all-nighters.

That meant it didn't teach what good maintenance looked like. Students just piled their hacks on top of someone else's hacks so they could hit the deadline.

It wasn't a good way to learn to write quality software (even if reality sometimes looks this way).

It was also the only software engineering course in our CS curriculum.

Re:You are never taught how to build quality software by idlephysicist on Sunday December 10, 2023 @09:11PM (#38596905)
> ... just piled their hacks on top of someone else's hacks so they could hit the deadline.

This sounds oddly familiar... hmm.

Re:You are never taught how to build quality software by jeffreygoesto on Saturday December 09, 2023 @02:03AM (#38579385)
And then there was "Twenty dirty tricks to train software engineers" which I found even more suitable as preparation for working in the industry.
Re:You are never taught how to build quality software by skeeter2020 on Saturday December 09, 2023 @10:35AM (#38582713)
This just isn't realistic in an general CS undergrad though. Students don't have the time or foundations to build a realistic complicated system, and the institutions don't have skills or currency to teach them how. You complain about content being out of date, but the foundations of quality software are not by and large technical nor go out of style. The implementations sure do.

What you're asking for is where vocational (2 year) programs really shine, and one of the few places where I've seen bootcamp graduates have an advantage. Unfortunately both then lack some really valuable underpinnings, example: relational algebra. It seems that once again there is no silver bullet for replacing time and experience.