Live data from Hacker News

Batteries included with Emacs (2020)

karthinks.com

111–120 of 228 posts

Re: Batteries included with Emacs (2020)

#111
post #2

I’m wondering if a vscode in the terminal could ever exist.

That's like wondering if elephants could ever roam the depths of the oceans. If they did, they would no longer be elephants. What specific features of vscode would you like to see in a terminal editor?

Elephants can walk underwater using their trunks as snorkels. Maybe they would be too buoyant for it in sea water. It seems a fair thing to wonder though.

Re: Batteries included with Emacs (2020)

#112

Earlier quoted context omitted.

That sort of blows my mind. How can you not learn to touch type? It will take you a month at most and it greatly improves life at a keyboard.

Because not everyone has time to dedicate to a skill with diminishing returns after a certain point, and on top of that many people do not at all care about the life of their keyboard. I touch-type, but still occasionally struggle with some things eg. using the right shift key instead of always preferring the left. I don't see much benefit in addressing this, since my typing speed is never the blocker with regard to…

I'm eternally grateful for Mrs. Walker's 2nd grade class, where they shoved us in a room full of Apple 2e's and made us play a typing game (and if you finished, you got to play Oregon Trail). I'm a bit surprised/disappointed that touch typing isn't universally taught in school.

Re: Batteries included with Emacs (2020)

#113

Sometimes I wish I initially spent my time learning emacs. Vim has been great to me. I don't value programming workflows as much as I used to so I'm not going through that steep learning curve again

As far as I know, pure vanilla emacs from GNU comes with multiple vi emulations. I’ve been using viper for 20 years. It’s the only reason I use emacs at all. I had a co-worker many years ago who swore by emacs, but I found the key bindings completely counterintuitive having learned vi while getting my degree. Having made that discovery I was off to the races with emacs, and have never looked back.

Re: Batteries included with Emacs (2020)

#114

Earlier quoted context omitted.

That sort of blows my mind. How can you not learn to touch type? It will take you a month at most and it greatly improves life at a keyboard.

Because not everyone has time to dedicate to a skill with diminishing returns after a certain point, and on top of that many people do not at all care about the life of their keyboard. I touch-type, but still occasionally struggle with some things eg. using the right shift key instead of always preferring the left. I don't see much benefit in addressing this, since my typing speed is never the blocker with regard to…

Isn’t it distracting to have to look and visually think about the keyboard in the midst of working? Genuinely asking. I literally can’t imagine having to look at the keyboard. And how much of a commitment is it really?

Re: Batteries included with Emacs (2020)

#115
post #44

Honestly, I never really had that much love for Emacs until relatively recently. I've always dabbled due to it generally having good support for most languages (including esoteric ones) but recently I got into it a lot more due to the fact that many of the new-ish OSS editors but Emacs has always been there and likely will always be there. A few years back I got into Atom quite a bit since it checked all the boxes: e…

I'm also a recent Emacs enthusiast. Many many years ago, I never felt productive with the navigation and keys.

Then, recently, I _really_ wanted to try org and thought "I'll force myself to use it". I started with Evil mode and Doom. I was blown away tbh. What I thought to be an "old" tool that would slow me down, is actually a massive booster (and fun!). My personal experience, of course.

Re: Batteries included with Emacs (2020)

#116
post #45

For people who ask, "why use text-only editors like vim or Emacs, when I can use a full GUI IDE?": One of the reasons I haven't seen mentioned much is: I'm a touch typist, and I hate having to switch between mouse and keyboard! I have to take my attention off the screen. Slows me down. Disturbs my concentration. With Emacs, I can work for hours without ever having to hunt for the mouse, or without even having a mouse…

To add to this: yes, full blown IDEs have shortcuts but they are hard to explore, counter-intuitive and hard to extend.

Re: Batteries included with Emacs (2020)

#117
post #44

Honestly, I never really had that much love for Emacs until relatively recently. I've always dabbled due to it generally having good support for most languages (including esoteric ones) but recently I got into it a lot more due to the fact that many of the new-ish OSS editors but Emacs has always been there and likely will always be there. A few years back I got into Atom quite a bit since it checked all the boxes: e…

And thanks to recent developments in cross-editor infrastructure projects like tree-sitter and LSP, editors like VSCode, Emacs, Sublime Tex, and even public nuisances like vim can all advance at the same time and benefit from each other's development work in areas where the editors aren't differentiated. We're very close to a world in which we don't have N implementations of finding the start of a C function or figur…

Somehow, Microsoft managed to invent LSP for VSCode and then abandon some parts of it just a couple of years later -- e.g. python language server is dead, pylance is there instead, closed source, VSCode-specific and with prohibitive license. Most language plugins in VSCode don't use LSP anymore IIRC.

Re: Batteries included with Emacs (2020)

#118
post #61

Earlier quoted context omitted.

Most people get by with pseudo-touch typing. They have most of the speed down, and look down at the keyboard occasionally, but they do not have the accuracy that is displayed in true touch-typing.

That sort of blows my mind. How can you not learn to touch type? It will take you a month at most and it greatly improves life at a keyboard.

To be honest, in programming, the speed of writing on keyboard itself isn't the most limiting factor during development. I've forced myself to learn to touch type (not fully, I don't press spacebar with a thumb of opposing hand as last letter written, I also almost exclusively use left shift), but that doesn't make me a fastest programmer around. Development looks more like "I type two words, I look at the screen for 10 seconds, I type one symbol, I look at the screens for 5 seconds, I type one word". Touch typing helps with that, but IMHO isn't really that important.

Re: Batteries included with Emacs (2020)

#119
post #61

Earlier quoted context omitted.

Most people get by with pseudo-touch typing. They have most of the speed down, and look down at the keyboard occasionally, but they do not have the accuracy that is displayed in true touch-typing.

That sort of blows my mind. How can you not learn to touch type? It will take you a month at most and it greatly improves life at a keyboard.

Depends on what you mean by "touch-type". I can type without looking in three keyboard layouts, but that comes through a lot of keyboard time (and a lot of Police Quest I), so that I'm unable to use split keyboards because my right hand is overreaching to the left half of the keyboard. I also ignore home-row dancing, specific finger positions etc. I can type fast and blind, but I don't think I would qualify as a classical touch-typist.

Re: Batteries included with Emacs (2020)

#120
post #49
post #45

For people who ask, "why use text-only editors like vim or Emacs, when I can use a full GUI IDE?": One of the reasons I haven't seen mentioned much is: I'm a touch typist, and I hate having to switch between mouse and keyboard! I have to take my attention off the screen. Slows me down. Disturbs my concentration. With Emacs, I can work for hours without ever having to hunt for the mouse, or without even having a mouse…

I find it amazing how common it is for programmers to not be touch typists (I mean typing without looking at the keys). Like, isn't that something you pick up by the sheer amount of keyboard time?

Touch typing isn't about writing without looking at the keys, that's something that pretty much every dev I know does. It's about writing in an efficient way that minimizes finger travel, and zeroes palm and writ movement.

There's a reason F and J have bumps on them, or why we have two shifts, etc.

For anyone interested into relearning how to type efficiently I want to recommend this free website full of tutorials and exercises: https://www.typingclub.com/

Post reply on HN