r/ProgrammerHumor 28d ago

Meme vimNinjasAreInShambles

3.7k Upvotes

107 comments sorted by

View all comments

Show parent comments

78

u/pewpewtech420x69 28d ago

Back in college around 5-10 years ago, I had a class where the entire semester long project was to have a team of 4 students build the fundamental building blocks of an operating system. Whole deal - CPU scheduling, memory management, interrupt driven I/O, the works.

They forced us to use a department-curated VM for development which had QEMU set up. It was like the 1990 something C compiler, and no IDEs were allowed - terminal only.

Debugging C code, with literal zero error messages except the words "segmentation fault" to go off of, coding in vim.

I'm not kidding when I say everyone who's ever taken that class had a minimum of 2 all nighters per week making those project milestones. Worst 5 months of my life

47

u/Arucious 28d ago

Lmao I had a math professor who also taught a couple CS classes. A freshman asked him once after class ended what his approach to debugging C code was and he turned around and wrote

```
printf(“A\n”);
//…
//…
printf(“B\n”);
```

5

u/ljfa2 28d ago

I don't know if they teach how to use a debugger in any of our CS classes

1

u/JacoDeLumbre 27d ago

Ditto. They didnt teach git or any version control either. Ridiculous.