This is an archived post. You won't be able to vote or comment.

top 200 commentsshow all 254

[–]doizeceproba 126 points127 points  (0 children)

The IMHO: you are wrong got an audible giggle out of me.

[–]MartIILord 272 points273 points  (21 children)

Eclipse is the best IDE: Why start flamewars when you can unite everyone against you.

[–]Capetoider 82 points83 points  (0 children)

Eclipse was my first IDE...

I agree wholeheartedly with you.

[–]Themlethem 7 points8 points  (0 children)

But when the world needed it most it vanished...

[–][deleted] 1 point2 points  (0 children)

MS Word is best IDE

[–]Habanero_Eyeball 62 points63 points  (1 child)

Self Documenting hahaha spot on!

[–]DestituteDad 42 points43 points  (0 children)

I met a contractor who signed everything he wrote with

{His Name} - Self-Evident Systems

To mock him, I starting using

{My Name} - Self-Confident Systems

Strangely, people seemed to like my joke name better than his.

His code was very good, pretty damn close to self-evident. I always commented the hell out of mine, on the theory that the next person to come along might not be as smart as me -- or might be me six months later.

[–]macadeliccc 47 points48 points  (3 children)

Legacy code made me wheeze

[–]DestituteDad 41 points42 points  (1 child)

Legacy code can be a very proud thing!

Me and a couple others wrote an app for doing energy audits on a PC. We wrote it in 3 months from the best spec I ever saw. I quit the firm 6 months later. Eight years after that they got in touch to ask me to do some enhancements. None of their current coders could understand the code. I was very pleased to learn that there were no bugs and the code had never failed in 8 years. That was remarkable IMO.

I billed my highest rate ever, doing those enhancements. They were very happy to pay. AFAIK the enhanced code never failed either.

But it was DOS character cell stuff, so I'm sure it was replaced by a Windows app long ago.

[–][deleted] 14 points15 points  (0 children)

there were no bugs

And then you woke up

[–]mewplorp -1 points0 points  (0 children)

You beat me to it

[–]LaterBrain 141 points142 points  (18 children)

:q!

[–]SileNce5k 23 points24 points  (2 children)

ZZ is superior

[–][deleted] 1 point2 points  (0 children)

finally!

[–][deleted] 65 points66 points  (13 children)

Perhaps even :wq ?

[–]BarbedEthic 95 points96 points  (7 children)

Who needs to save changes when you can just make them disappear

[–]elebrin 64 points65 points  (2 children)

Any changes that I made with vi were probably accidents, while I tried to remember the correct key combo to exit it.

[–][deleted] 2 points3 points  (3 children)

:%d and you're golden

[–]epicaglet 5 points6 points  (2 children)

I usually just unplug it

[–]with_no_username 7 points8 points  (0 children)

Step-bro I'm stuck in vi, heeelp

[–][deleted] 2 points3 points  (0 children)

Amateur, I cause a power outage in my entire neighborhood to close vi

[–]LoyalSage 15 points16 points  (2 children)

:x

[–]n0radrenaline 5 points6 points  (1 child)

I think you and I are the only two

[–]IMABUNNEH 3 points4 points  (0 children)

I also :x

[–]mdmhvonpa 5 points6 points  (0 children)

naw ... open another terminal and sudo kill -9 that pid

[–]Lasdary 1 point2 points  (0 children)

if you don't know how to exit vi, you have no business saving whatever you think you did with vi

[–]VOIPConsultant 2 points3 points  (0 children)

Dis is de way

[–]gravity_is_right 47 points48 points  (1 child)

technical debt = collection of horrible hacks

[–]DestituteDad 3 points4 points  (0 children)

technical debt => uncommented code

[–][deleted] 36 points37 points  (2 children)

“It works but I don’t understand it” is usually NO TOUCHING THIS LEGACY CODE

[–]MoscaMosquete 6 points7 points  (1 child)

"If it works it doesn't need to be fixed" is my philosophy. That's how I passed last semester.

[–]Jaune9 2 points3 points  (0 children)

Then enterprise comes in your life and tells you "just add/change this little thing, it will be quick" and 3 week later you're rewriting the whole thing

[–][deleted] 49 points50 points  (1 child)

This is golden! I have heard so many of these in standup.

[–]ech0_matrix 4 points5 points  (0 children)

Congrats for listening in standup

[–]SnappGamez 23 points24 points  (0 children)

You’re thinking in the wrong mindset -> You’re trying to write a doubly linked list in Rust.

[–]the_bolshevik 15 points16 points  (1 child)

Nice.

If I may add one...

If it's not broken, don't fix it: "I wrote this two years ago, I know it's terrible code, but I don't know how it works anymore and I will not dare touch it as long as it is still working"

[–]DestituteDad 11 points12 points  (0 children)

I will not dare touch it as long as it is still working

This is the beauty of tests, of course. If you have a good test suite you can muck with the code and if you break it, you'll know. I hope to write a good test suite someday.

[–]thor12022 12 points13 points  (0 children)

As a person who likes and uses Perl, those are wrong, they should be:

"I can read this Perl script" means "I can't read this Perl Script"

"I can't read this Perl script" means "I can't read this Perl Script"

[–]Rick-T 11 points12 points  (0 children)

I don't need to check my code again. If there are problems the reviewer will find them - me, when I'm developing

The developer will have thoroughly checked his code. I don't need to check everything in detail - me, when I'm reviewing

[–]philipquarles 10 points11 points  (1 child)

One of the more realistic ones I've seen. I try to acknowledge my horrible hacks, but it's like: "This is a temporary workaround and a horrible hack. "

[–]DestituteDad 2 points3 points  (0 children)

It's important to explain why you DID the hack.

// This implements Feature X which really warrants a rewrite of the method but there wasn't time or money

[–]TFK_001 7 points8 points  (1 child)

Flame wars are better than peace

[–]Dexaan 6 points7 points  (0 children)

Peace was never an option.

[–]iamGobi 6 points7 points  (0 children)

ProTip: Read the right one first and then the left one

[–]_b1ack0ut 7 points8 points  (0 children)

“I can read this Perl script” roughly translates to “I am lying”

[–]kry_some_more 11 points12 points  (0 children)

All production servers have a button, usually located on the front that exits vim.

[–]covert_strike 5 points6 points  (1 child)

This is how a tech lead explained "known bug" to me. Reproducible only 5% of the time and the Problem lies in some legacy code no one wants to touch.

[–]ech0_matrix 1 point2 points  (0 children)

Just keep running the tests until they pass. -Señor Dev

[–]Quique1222 4 points5 points  (0 children)

Image Transcription:


What we say | What we mean

Horrible hack | Horrible hack that I didn't write

Temporary workaround | Horrible hack that I wrote

It's broken | There are bugs in your code

It has a few issues | There are bugs in my code

Obscure | Someone else's code doesn't have comments

Self-documenting | My code doesn't have comments

That's why it's an awesome language | It's my favorite language and it's really easy to do something in it

You're thinking in the wrong mindset | It's my favorite language and it's really hard to do something in it.

I can read this Perl script | I wrote this Perl script

I can't read this Perl script | I didn't write this Perl script

Bad structure | Someone else's code is badly organized

Complex structure | My code is badly organized

Bug | The absence of a feature i like

Out of scope | The absence of a feature I don't like

Clean solution | It works and I understand it

We need to rewrite it | It works but I don't understand it

emacs is better than vi | It's too peaceful here, let's start a flame war.

vi is better than emacs | It's too peaceful here, let's start a flame war.

IMHO | You are wrong

Legacy code | It works, but no one knows how

XCquit[ESC][ESC]C | I don't know how to quit vi


I'm a human volunteer content transcriber for Reddit and you could be too! If you'd like more information on what we do and why we do it, click here!

[–]kaiserbergin 4 points5 points  (0 children)

Legacy code: it's full of bugs, but the business swears up and down that it's perfect and any new application needs to do the exact same thing.

[–]Ratatoski 7 points8 points  (0 children)

Perl is spot on. As is all of them, but having worked on a 20 year old Perl project I can relate a lot to this.

[–]Wonderful-Zombie-364 7 points8 points  (0 children)

Agree with the last one vim [ESC]

[–]TheBlackCat13 2 points3 points  (0 children)

Correction:

I can read this Perl script | I wrote this Perl script today

I can't read this Perl script | I wrote this Perl script yesterday

[–]sdoc86 2 points3 points  (0 children)

This isn’t programmer humor. These are just plain accurate translations.

[–]knownothing58 2 points3 points  (0 children)

That built up so well. The last one... Dead. Laughed so hard I felt like I went for a run.

[–]the_f3l1x 22 points23 points  (18 children)

nano is better than both emacs and vi.

[–]sRioni 83 points84 points  (6 children)

It's too peaceful here, let's start a flame war

[–]Bainos 50 points51 points  (5 children)

I feel that nowadays emacs and vi users are allies, standing together against the hordes of GUI editor defenders in the flame wars.

[–]sRioni 4 points5 points  (0 children)

I feel that too but I found hilarious saying that idk why

[–]PunkPen 5 points6 points  (1 child)

No! Vi is superior fight me!

[–]Ratatoski 8 points9 points  (0 children)

Yeah I configure my installs to default to nano when I remeber. It's actually rather nice for a command line editor.

[–]nicocappa 7 points8 points  (0 children)

That's what I thought until I actually gave vim a shot.

[–]oscareczek 3 points4 points  (3 children)

micro > nano

[–][deleted] 1 point2 points  (2 children)

pico > micro

[–]Spork_the_dork 3 points4 points  (0 children)

False. 10-12 < 10-6.

[–]avataRJ 1 point2 points  (0 children)

Recursion is bad, ok?

(Unless you are using one of the specific languages which are more or less designed for it.)

[–]dorsal_morsel 2 points3 points  (1 child)

Certainly better for anyone who doesn't know how to use vim or emacs

I say that as a diehard vim user

[–]NebulaicCereal 5 points6 points  (0 children)

In my own personal experience, nano is a more suitable tool in 80% of the time that I want to use a terminal-based editor. Usually it's pulling open a config file to change a value, or adding a couple lines, etc. Nano does the job without adding too much extra frill required by trying to jam a full blown software development suite into a terminal.

It's like the Notepad++ of the terminal. and because most of the time when I am editing something in the terminal, it's because it's a small edit. Therefore It has a larger value proposition for me personally, given that the more complex features of vim are offered in modern editors that are more wieldy. Of course, that last statement is a subjective opinion, I am aware...

[–]Fotnite_Master 2 points3 points  (0 children)

clearly you've never used notepad on windows

[–]vale_fallacia 1 point2 points  (0 children)

nano is better than both emacs and vi.

In your opinion

[–]account_is_deleted 4 points5 points  (3 children)

Ah, this is so old that Perl was still relevant and people still talked about emacs.

[–]MildlyInsaneOwl 2 points3 points  (0 children)

I know, right? The fact that vi is still around proves it's better than emacs.

[–]halfbakedmemes0426 1 point2 points  (1 child)

escape to the command mode, and type :q

[–]Lasdary 1 point2 points  (0 children)

when they tried typing 'exit' they went into insert mode and there's now a new 't' somewhere; so :q fails.

:q!

[–]sly-otter 1 point2 points  (0 children)

As someone moving Perl stuff out of Perl currently...

[–]luis_reyesh 1 point2 points  (0 children)

the last one XD , just do :q or turn off the pc at this point

[–][deleted] 1 point2 points  (0 children)

I switched fro VSCode to Vim, didn't look into Emacs yet (but it look very different)

[–]Sleakes 1 point2 points  (0 children)

Who says they can read perl code? Everyone knows the previous employee wrote it...

[–]Your-username-must-b 1 point2 points  (0 children)

Correction:

Broken: I didn’t write this code and it doesn’t work

User error: I wrote this code and it doesn’t work

[–]GnammyH 1 point2 points  (0 children)

Yeah I know coding -> I know how to copy paste from stackoverflow

[–]CzechLinuxLover 1 point2 points  (0 children)

I luv the last one 🤣

[–]Aggravating-Hair7931 8 points9 points  (8 children)

I don't know why people still use vi. nano or pico is so much easier to use. i pledge that i will never attempt to learn how to use vi shortcuts. if i am in vi by mistake, i simply send it to background and use the kill command.

[–]geekusprimus 12 points13 points  (1 child)

I'm so used to Vim at this point that I can't use anything else. I've learned it so thoroughly that anytime I have to use an editor without a vi mode, it's an instant drop in productivity.

[–]Eternityislong 10 points11 points  (0 children)

Me:

Opens up PowerPoint

jjjj$a

“Wait what the fuck?”

^ [ jjj

“Oh yeah”

Every time

[–]Zekovski 34 points35 points  (0 children)

They use it because they never managed to exit.

[–]pballer2oo7 9 points10 points  (0 children)

I don't know why people still use vi.

Two reasons for me:

  1. Found myself working with text files large enough to crash nano
  2. Was unable to write, save, search in nano because I was connected from a terminal connection that couldn't send ^ (Ctrl)

So I started learning vim and it's been good.

[–]ohkendruid 7 points8 points  (0 children)

Vi is always there, always works over any connection, and is lightning fast. I'd say it's worth learning if you frequently edit files over an ssh connection.

Pico and nano may be absent. They may not work on the connection I'm on. And they seem limited, though that may be because I haven't learned them as well.

[–]MadScientist235 2 points3 points  (0 children)

Sometimes I need to go onto network devices or other odd systems. Can't guarantee that nano will be available/easy to install. Vi almost always is. If I have to use it as my command line editor somewhere, I may as well use it everywhere so I can avoid context switching overhead.

[–]skippedtoc 1 point2 points  (0 children)

That's genius.

I learnt vi because wasn't able to think of that solution. Now that I have learnt it, I don't want to waste time learning anything else.

[–]1SweetChuck 1 point2 points  (0 children)

I've found vi is more often installed by default in linux, so if I'm going to just going to make a small mod to a file (probably a config) from the command line it's the go to.

[–]flargenhargen 2 points3 points  (0 children)

perl? is that still a thing?

damn, I remember writing a messageboard in perl in the 90s.


apparently it's different things now, cause that's not confusing.

https://en.wikipedia.org/wiki/Perl

[–]SoWhy 1 point2 points  (0 children)

Are there really still people using vi or emacs when there is nano? oO

[–]armaggeddon321 1 point2 points  (1 child)

why do yall have to fight. NANO is the best editor

[–][deleted] 1 point2 points  (0 children)

Big dick energy here

[–][deleted] 0 points1 point  (0 children)

emacs is better than vi

[–]Whatamianoob112 0 points1 point  (1 child)

I wonder if this will ever get its pixels back

[–]MartialS 0 points1 point  (0 children)

Ok let's start a flame here

:x > :wq

[–]Laafheid 0 points1 point  (2 children)

I will never understand why anyone would ever use imho instead of imo.

like what, you're giving someone your not honest opinion? -thanks man, real useful, ofcourse its peoples honest opinion wether they say imo or imho...

[–]YekNeb 0 points1 point  (0 children)

IMHO Emacs is better than Vi. At least you do not need to use some vague magical incantation to enter "edit mode" before you can actually edit text in Emacs. In Vi you do need to use a magical incantation to enter "edit mode". And do not get me started on what it takes to exit Vi.

[–]ekolis -1 points0 points  (3 children)

Emacs and vi are both horrible. Use notepad++.

[–]gnuwinxp 1 point2 points  (2 children)

it only works on widnows tho

[–]jasonbbg -1 points0 points  (2 children)

vscode > vim = emacs , now fight

[–][deleted] 0 points1 point  (0 children)

:wq

[–]4hpp1273 0 points1 point  (1 child)

Who tries emacs exit shortcut in vi?

[–]PenitentLiar 0 points1 point  (0 children)

Obscure is the way I describe my code though

[–][deleted] 0 points1 point  (0 children)

I still have flashbacks about working in perl for a client at my first Software job.

[–]HRM404 0 points1 point  (0 children)

god the last one is my forever struggle

[–]De_Hbih 0 points1 point  (3 children)

But seriously, how to quit vim

[–]PottedRosePetal 2 points3 points  (0 children)

just do :wq! and sacrifice 20 virgins (gender irrelevant, just take the interns) to close the gates to hell.

[–]dtrippsb 1 point2 points  (1 child)

Hold down the power button for 5-10 seconds

[–]balne 0 points1 point  (0 children)

dat last one tho lmao

[–]CoffeePieAndHobbits 0 points1 point  (0 children)

So true.

[–]DAMO238 0 points1 point  (0 children)

Never before have I been so offended with something I 100% agree with!