Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
@hitchhiker42 I definitely feel I'm in the minority with how I use braces and white space but it is how I was taught so it has stuck with me.
I haven't heard of nano before. Why choose that over vim/emacs? -
So you're only choosing that the bracket gets its own line because visual studio standard does that?..
-
You don't have to chose.
Pick the dark side. Spacemacs is the best of both worlds. The only con is that it's not completely as lightweight as vim or Emacs on their own -
@dontPanic I'll have to give Spacemacs a shot tonight when I get home. Looks interesting!
Thank you for your suggestion and the welcome! -
I support you on brackets and whitespaces here and there. I prefer my code to be more readable at glance than having less lines
-
devios157707yI've always gravitated towards vi(m) because it feels simpler and lighter weight and I found emacs bloated and confusing.
Not that vi is particularly intuitive, but once you learn the commands you need I find it quite quick to use.
But the real reason is I chose vi way back and just never bothered to learn emacs. ;) -
devios157707yIn addendum, this quote is rather fitting:
"I've been using vim for about 2 years now, mostly because I can't figure out how to exit it." -
VIM is more intuitive and simple to me, but try a few different editors and pick what fits you best. Vi will be available on pretty much any stock system, but that's becoming less of a factor.
A working knowledge of a few different ones is invaluable though, even if you don't use them on the regular. -
stryter6247yDon't get too attached to your choice of formatting. Many places you end up working for have their own coding standards. For instance, where I work we don't allow braces on their own line.
Just a friendly heads-up 😁 -
Using spacemacs. It is if emacs and vim had baby and this baby has all good parts from both. :) try it your self.
-
@ctmalloy I disagree, having bracing in one column to define a block makes code way more readable, you don't have to rely solely on indentation.
-
@stryter I appreciate the heads up! Honestly, it's not a big deal to me where the top brace goes. Especially if I'm getting paid for my work :)
-
Vim. Only because I love it.
I'm not saying it's better or that you should use it, but you asked so I'm answering, Vim. -
quine657yRanked by hardcore-ness
cat/echo is tied for first - using grep for search and sed for replace. This is truly as baller as it gets.
ed - the most user-hostile editor ever created
nano - because no-one used it anymore so no one can help you and there aren't any nice plugins as far as I'm aware
Emacs - it has nyancat-mode and elisp. You could really not want for anything else. This is the people's editor, where people is defined as people willing to learn what M-x means. It will also give you RSI if you don't rebind Meta and Super. Trust me, I know from experience.
Vi(m) - is always available when ssh:ing into another computer. Everyone should know at least a little vim even though you can open an emacs window inside a terminal.
Atom/sublime/... You are a renaissance person, begone ye old ideas of yore. Give me something ergonomic, that is pretty out of the box, and that other non-peogrammers can use :)
---
But seriously, Emacs with vim-keybindings is probably the best YMMV -
devs30817yNo preference since I pretty much always use en IDE, however learning at least basic navigation, search and how to replace text using vi(m) is essential in my opinion. The reason being the fact that vi(m) and preinstalled on pretty much any unix-based OS (so it's nice for managing Linux servers). Emacs is almost never preinstalled and is a bit bloated for just editing scripts on a server.
-
loopback5737yGood move on the braces ;) . As others have said though you don't always get a choice...
Personally I'm a vim-er I find it more intuitive and you don't need to be an octopus to access even the most basic commands. IDEs are a god send too but be aware that some places may force IDE choice. -
konfou317yYou should know Vi(m) because it is always available on every Unix-like system. As to what you should be using, it depends on your workflow. Check both and see which suits you.
Related Rants
So I'm a new CS student diving head first into programming. I've already made my choice in terms of what language to learn and indent style (bracket gets its own line 😁), but I'm having trouble choosing between vim and emacs...
Without this devolving into a flame war, could we have a discussion on the pros and cons of each editor? I'm curious to see what other developers use and their experiences with each of these editors.
undefined
text editors
emacs
vim