News for hackers. Stuff that matters.
Re:Dear Programming Job Applicants (2010) by emidln on Saturday May 18, 2019 @05:25AM (#19946501)
This is a great reason to learn vi for basic editing tasks. It's everywhere. Even if you typically use a different editor/ide, vi is a common ground.

Disclosure: I'm an emacs user

Re:Dear Programming Job Applicants (2010) by SOLAR_FIELDS on Saturday May 18, 2019 @05:31AM (#19946521)
It’s kind of weird to NOT know basic vi/vim if you get to a certain point in your career. If you can’t at least open the software, go into insert mode, and save/quit, have you ever had to ssh into a remote server and edit a config file before? Only excuse I could think of is if you literally did everything in windows for your entire career.
Re:Dear Programming Job Applicants (2010) by leadingthenet on Saturday May 18, 2019 @05:40AM (#19946548)
Yeap. Even the hard-core Emacs fanboys at my work know a few basic vi/vim commands. I mean, you're almost certainly going to use it at some point in your career, might as well learn "i -> type something -> :wq" at the very least.
Re:Dear Programming Job Applicants (2010) by frutiger on Saturday May 18, 2019 @07:06AM (#19946776)
Don’t forget the <ESC> or ^] to get back into normal mode.
Re:Dear Programming Job Applicants (2010) by rzzzt on Saturday May 18, 2019 @07:26AM (#19946832)
I have mastered, in addition to the above, the skill of "dd" to delete an entire line and "q!" if you want to abandon any changes and quit.
Re:Dear Programming Job Applicants (2010) by izacus on Saturday May 18, 2019 @08:08AM (#19946958)
Is it? There's plenty of amazing engineers and systems architects who develop (gasp!) on Windows and don't even use command line. And many many of those have designed highly reliable systems driving your basic infrastructure, power plants, industrial systems and myriad of other systems. Why on earth is knowing an old editor connected to anything useful you need from a person in a job?
Re:Dear Programming Job Applicants (2010) by AdrianB1 on Saturday May 18, 2019 @08:41AM (#19947083)
Honestly I don't know a single good Windows guy that don't even use command line, there are basic things like ping, tracert, curl and openssl that you run in a command prompt. This is assuming you can get around using powershell.
Re:Dear Programming Job Applicants (2010) by scarface74 on Saturday May 18, 2019 @09:11AM (#19947206)
Ping and tracert sure. But curl? I’ll use Postman for quick sanity checking and I’ve never had a reason to use OpenSSL
Re:Dear Programming Job Applicants (2010) by npstr on Saturday May 18, 2019 @05:39AM (#19946540)
What's wrong with using nano for that?
Re:Dear Programming Job Applicants (2010) by MayeulC on Saturday May 18, 2019 @05:47AM (#19946562)
> It's everywhere.

It almost litterally is. Even busybox contains a vi clone. While I have encountered more systems without nano nor Emacs than I can remember. Plus, there is no excuse for learning the basic set of commands: i,ESC,x,u, and maybe navigating with the letters (which I'm not proficient at).

Re:Dear Programming Job Applicants (2010) by GordonS on Saturday May 18, 2019 @05:59AM (#19946597)
I only have to edit a file on Linux once every couple of months of so - I tired of forgetting how to exit vi (or enter/exit edit mode, save the file... just about anything really), so started installing nano as the first thing I do on any system. Nano is so much more obvious than vi.
Re:Dear Programming Job Applicants (2010) by nemetroid on Saturday May 18, 2019 @06:19AM (#19946651)
Most people can't install arbitrary software on every system they access.
Re:Dear Programming Job Applicants (2010) by MayeulC on Sunday May 19, 2019 @09:09AM (#19953112)
This exactly. I am pretty sure that if you gain [adb] shell access inside of an android recovery partition (as a random example), you have read-only access to the system, with only busybox at your disposal. Thus vi, but no nano.
Re:Dear Programming Job Applicants (2010) by GordonS on Saturday May 18, 2019 @06:00AM (#19946604)
Also, there's a reason why there are so many "can't quit vi" memes.
Re:Dear Programming Job Applicants (2010) by loopbit on Saturday May 18, 2019 @08:27AM (#19947035)
Reading the comments about vi... Am I the only one that knows/uses ZZ to save and quit?
Re:Dear Programming Job Applicants (2010) by MayeulC on Sunday May 19, 2019 @09:12AM (#19953124)
As I tend not quit vi that often compared to the time I spend inside, I prefer to use the more explicit version. I have made some mistakes in the past typing `^X-O` in nano instead of `^X-N` because of muscle memory, thereby overwriting a file I didn't want, and I am afraid of repeating this if `ZZ` became part of my muscle memory.
Re:Dear Programming Job Applicants (2010) by saagarjha on Saturday May 18, 2019 @06:39AM (#19946694)
vi is enshrined in POSIX; nano isn't.
Re:Dear Programming Job Applicants (2010) by noir_lord on Saturday May 18, 2019 @06:31AM (#19946676)
Been using Linux since the 90's and opening, editing and saving is exactly what I know in vi.

All that does is remind me that I haven't set nano as the default editor on that box and then I move on.

Re:Dear Programming Job Applicants (2010) by yoz-y on Saturday May 18, 2019 @05:39AM (#19946545)
Knowing vi basics is useful, I agree. However, for interviews I really don't think that putting a candidate who is not familiar with it is a nice thing to do.

Any modeless editor should not cause trouble but vi (especially) is quite pernicious and the candidate would be just losing time.

Re:Dear Programming Job Applicants (2010) by panpanna on Saturday May 18, 2019 @05:58AM (#19946591)
It's a very easy way to find the 0.5x engineer.

But I agree, it should not be a show stopper.

(Emacs and vscode user here)

Re:Dear Programming Job Applicants (2010) by yoz-y on Saturday May 18, 2019 @06:33AM (#19946684)
I believe todays programming field is vast enough that you can actually have a really good engineer that never needed to touch a command line editor. An iOS or android developer with 8 years of experience for example. Other front-end positions too.

I love vi and set it as editing mode everywhere, nevertheless I accept that it might not be something people actively seek. If I was looking for a unix server admin then I would definitely assume they know vi.

Re:Dear Programming Job Applicants (2010) by walshemj on Saturday May 18, 2019 @04:23PM (#19949543)
Says a lot about googles recruiting standards you do know until recently "front end developers" were designers.
Re:Dear Programming Job Applicants (2010) by walshemj on Saturday May 18, 2019 @06:46AM (#19946712)
not for realy good Engineer in my book.
Re:Dear Programming Job Applicants (2010) by detaro on Saturday May 18, 2019 @06:51AM (#19946733)
Why is "unix server administration in an environment that doesn't have other options" such a critical skill for all engineers? Or why else is vim experience required? Sure, many are going to have it, but it doesn't mean anything in itself.
Re:Dear Programming Job Applicants (2010) by prepend on Saturday May 18, 2019 @10:26AM (#19947555)
I don’t consider vi to be a system admin tool only.

While I don’t think vi is a showstopper, it would certainly be curious how a mid to senior engineer wouldn’t know how to use insert and quit in vi. This would make me think that a Windows only background never even meant connecting to a shell and having to view a file.

I’ve experienced lots of app developers who only use an IDE and don’t know how code is deployed or runs so they’ve never debugged a deployment, ever. They are in a big enough environment where that’s someone else’s job and they never have to talk with them.

That’s perfectly cool and folks will make a living and retiring in that world. But I don’t typically hire too many of those because I work in cross functional teams where the windows devs have to at least be able to understand and communicate with the Linux devs, and vice versa. That means having basic user level skills like two commands in vi, because it is almost always available on Unix systems. And frequently the only one allowed.

I think folks confuse this as meaning that people who don’t know vi are dumb, they aren’t. They could be geniuses who just don’t need to know vi. But for many types of interviews, it’s a super easy screening question that makes me follow up with more questions if they answer “I have to google.” It would be similar if a developer didn’t know cd or had never seen notepad or something.

Re:Dear Programming Job Applicants (2010) by detaro on Saturday May 18, 2019 @11:37AM (#19947988)
The comment I replied to said that a "really good" engineer has to know vi, that's what I was responding to, not "nearly all good engineers in my specific area will know vi", which is a lot more reasonable.

For a Linux desktop user, including devs, I wouldn't consider not knowing vi to be that odd, given that other editors commonly ship or are a single install command away. For someone not working on Linux, it's even less expected.

Re:Dear Programming Job Applicants (2010) by prepend on Monday May 20, 2019 @08:14AM (#19959590)
Right, I think a vast majority of “really good” engineers will know minimal vi skills.

My point is that you can be a perfectly nice programmer with a full career without being really good.

Re:Dear Programming Job Applicants (2010) by walshemj on Saturday May 18, 2019 @04:21PM (#19949533)
I said really good for a reason and vi is used for other things than pure sysad work
Re:Dear Programming Job Applicants (2010) by panpanna on Saturday May 18, 2019 @06:59AM (#19946761)
The point is, a good engineer is always curious and as such has gathered a lot of knowledge about other fields. Maybe he is a unix server admin that writes iOS app on his own time just for fun? Maybe he is a data scientist that also enjoys UI design?

A bad engineer is happy that he has learned framework X and doesn't feel he needs to learn anything else.

Putting the Linux admin candidate in front of an xcode window is a quick and to find out where he stands. If he looks totally lost, he is definitely a 10x guy.

Re:Dear Programming Job Applicants (2010) by yoz-y on Saturday May 18, 2019 @10:41AM (#19947639)
I agree, but my point is that today there are so many fields to be curious about that knowledge or not of vi is just one of them. There is no time to know about everything.

> Putting the Linux admin candidate in front of an xcode window is a quick and to find out where he stands. If he looks totally lost, he is definitely a 10x guy.

They are or they are not? Judging by the previous paragraph this sentence seems odd.

Re:Dear Programming Job Applicants (2010) by panpanna on Saturday May 18, 2019 @11:28AM (#19947931)
Sorry, I meant "is definitely not"
Re:Dear Programming Job Applicants (2010) by sys_64738 on Saturday May 18, 2019 @10:28AM (#19947563)
I think vi is the de-facto install of an editor on any non-Windows machine. You can't assume any other as vi in its simplest form is extremely lightweight and prevalent.
Re:Dear Programming Job Applicants (2010) by walshemj on Saturday May 18, 2019 @06:45AM (#19946707)
Pity I cant upvote you more than once, everyone who works on a unix system should know the basics of vi.

And I would argue that you could apply that to all programmers

Re:Dear Programming Job Applicants (2010) by verbify on Saturday May 18, 2019 @09:15AM (#19947234)
It's everywhere if you're on unix systems. Windows devs have little exposure to it.