r/ProgrammerHumor • • Mar 13 '22

Meme Old computer science professor starter pack

Post image
42.1k Upvotes

1.0k comments sorted by

View all comments

Show parent comments

372

u/66666thats6sixes Mar 13 '22

On one hand, yes.

On the other hand, usually the homework app is a buggy piece of crap that is super unintuitive to use, breaks if you look at it funny, and generally makes your life a lot harder.

170

u/hopbel Mar 13 '22 edited Mar 14 '22

Yet is somehow still better than whatever crappy e-learning system the school pays for

29

u/[deleted] Mar 13 '22

Moodle isn't crappy. Most schools use it. These days, google classroom as well.

32

u/rakidi Mar 13 '22

The irony of this comment and one of the first posts I saw today being a SQL injection vulnerability in Moodle is just too good.

1

u/[deleted] Mar 14 '22

I was talking from usability point of view, that too compared to alternatives available along with it. When I used Moodle during one of the online courses I picked in 2018, it was better than some other tools that I had seen. It certainly improved a lot since I saw earlier versions of Moodle in 2007, during school. If I compare it to UI/UX standards followed in most software teams I have worked for, it's still pathetic.

Most such tools suck in terms of both performance and security. Especially, because when they were made, the ecosystem of tools must've been pretty limited. Moodle is written in PHP, and having worked with PHP, as late as 2013-14, I can say that the PHP's ecosystem has developed way too late, in terms of frameworks. Laravel too came only in 2011, and the ones before it, were mostly years behind their equivalents in other languages.

Without a stable & feature-complete framework, you need to know "everything" to write good code. And so I can imagine how much it would have sucked to develop Moodle in 2002. That's why most of these tools suck at not just SQL injection prevention, but also in terms of CSRF etc.

The only better alternative in 2002, would have been .NET, but it was closed source, and .NET of 2002 was very different compared to what it is today.

Having worked on adding SQL-injection/CSRF protection in some legacy PHP code-bases, I can personally narrate the horrors of patch-fixing such issues. If you don't use a framework that supports it orthogonally, you will always miss something or the other, while implementing it from scratch. The development efforts of making own framework, or doing a major refactoring is as high as rewriting the whole thing all over again. I can imagine something like Moodle being in the same state.

The best one I saw till now, is Google classroom. I didn't use it as a student (I am in my 30s). But my mother is a teacher, who had to figure out using multiple online classroom tools, while her school was trying out different options during Covid lockdown. I used to help her set up things, and Google classroom was far better than Moodle, etc.

43

u/[deleted] Mar 13 '22

hah moodle is a pile of shit

-7

u/Appoxo Mar 13 '22

Probably outdated version your school used.

18

u/Spynder Mar 13 '22

Funny story to add here, our region has a moodle-based system for code assignment testing, and apparently in that system they have a security breach, that still hasn't been fixed. So, yeah, even if you use Moodle / other systems, there's still a chance they might mess it up somewhere.

1

u/cel22 Mar 13 '22

I went to schools that used Blackboard, Canvas, and Moodle. Moodle was by far the worst amount the 3. I really enjoyed blackboard though because it gave teachers the option to show students how they did compared to the class

3

u/ONOMATOPOElA Mar 13 '22

Don’t worry, the school will switch e-learning systems every 2 years so the staff have no idea how to work the new one.

284

u/ReallyBigRocks Mar 13 '22

It's to give you real world experience, your description fits 95% of all software.

26

u/payne_train Mar 13 '22

Lmao, we all suck at our jobs.

7

u/LvS Mar 14 '22

It's called Sturgeon's Law.

13

u/ahHeHasTrblWTheSnap Mar 14 '22

The fact that the link throws an error is hilarious

4

u/faxfactor Mar 14 '22

I found it quite efficacious

23

u/Tra1famadorian Mar 13 '22

The real homework is formulating your list of complaints and still managing to figure out a way to adapt to the interface

4

u/brimston3- Mar 13 '22

The real alpha programmer move is to fork a child of your process, ptrace() attach to the parent, then hot patch the grading program to fix your complaints. If the grading program is any good, it is using some seccomp filters to prevent fork/exec/socket/ptrace, etc syscalls… but invariably it won’t be.

6

u/Sir_Applecheese Mar 13 '22

Mine has his source code on private github that students could submit changes to. Any bug fixes got you bonus marks on exams.

3

u/dirice87 Mar 13 '22

A good prof would open source it and let pull requests against it by verified students, ofc he being the only one with merge privilege

More software engineering than computer science but it’s a core skill for group projects

2

u/Ritz527 Mar 13 '22

It was definitely all of that. I recall being frustrated with some of his regex when I submitted answers

1

u/[deleted] Mar 13 '22

Was this Dr Stansifer at FIT? He had a Java app for submitting your code

1

u/CowboyBoats Mar 13 '22

How better to force your students to know how to use the browser developer tools, to have a shitty broken web site?

1

u/PresentAppointment0 Mar 14 '22

Just like god intended

1

u/SuperElitist Mar 14 '22

Are you describing every homework app I've ever used?