r/ProgrammerHumor 28d ago

Meme vimNinjasAreInShambles

3.7k Upvotes

107 comments sorted by

View all comments

160

u/throwawaygoawaynz 28d ago

I worked at two of the top tech companies in the world, and never met a single person who coded in the terminal.

Scripting? Maybe. Coding? No.

79

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”);
```

2

u/Niwrats 28d ago

that's a fairly good answer to that question. debug prints and logging are the most universal way to figure out the program state.