Earlier quoted context omitted.
It's definitely situation dependent. When writing a lot of frontend code (vue, typescript, css, tailwind, html) I know what I'm typing several mental steps before I actually type it, so speed gains there are most pronounced. Sitting somewhere in the middle are dynamic languages where there might be certain implementations (say... some random api integration) where it's simply a lot of code I've typed thousands of tim…
> I never understood the argument "I spend more time thinking than coding". You are still going to write the same amount of code whether you're thinking or not. The argument is that time spent typing is insignificant compared to time spent thinking, so optimizing for WPM seems like a less relevant endeavor. So if you spend (say) 1 day thinking about the problem and 1 hour typing, it matters little if you can speed up…
Show HN: I automated half of my typing
221–230 of 331 posts
Re: Show HN: I automated half of my typing
#222Chinese language has this feature "built-in".
It is officially called 双拼 (Shuangpin)where you type two (English) characters of each word to type out the entire word:
https://zh.wikipedia.org/zh-sg/%E5%8F%8C%E6%8B%BC
Even if you don't use Shuangpin officially, most Chinese input methods supports a similar feature (简拼) for popular phrases, where you type first English character of each word to type out a phrase of several words.
For example, to type "thank you" in Chinese (xiexie), you just type "xx" and it should automatically give you "xiexie" (Chinese characters) in most popular Chinese input methods.
Re: Show HN: I automated half of my typing
#223Earlier quoted context omitted.
It's definitely situation dependent. When writing a lot of frontend code (vue, typescript, css, tailwind, html) I know what I'm typing several mental steps before I actually type it, so speed gains there are most pronounced. Sitting somewhere in the middle are dynamic languages where there might be certain implementations (say... some random api integration) where it's simply a lot of code I've typed thousands of tim…
for me philosophically code is a liability. Every line of code I write is a liability for me and future generations. So I try as hard as I can to not write code at all so it takes me quite a long time to decide to write code. I see it like that in the places I work too, I get paid to decide when it makes sense to write code eg introduce liability to the business
Code not written is code not using up resources of your colleagues… and future you. It might be an asset if you sell code, otherwise it’s strictly a liability if you sell a service which the code provides.
Re: Show HN: I automated half of my typing
#224Here's something you probably didn't know if you are not native Chinese speaker: Chinese language has this feature "built-in". It is officially called 双拼 (Shuangpin)where you type two (English) characters of each word to type out the entire word: https://zh.wikipedia.org/zh-sg/%E5%8F%8C%E6%8B%BC Even if you don't use Shuangpin officially, most Chinese input methods supports a similar feature (简拼) for popular phrases,…
Like "what do you want to eat" 「你想吃什麼」 Is typed with n x c s m
Re: Show HN: I automated half of my typing
#225Re: Show HN: I automated half of my typing
#226This is a very clever idea. However, I realize that I would never want to use something like this that would change over time. E.g. if I ran it every 6 months and last year "db" produced "debug", while this year it produces "database". Because talk about messing up my muscle memory and habits. And the language I write changes very much over time. So I'd actually be much more interested in a "universal" version of thi…
> a "universal" version of this -- if you ran it across books and e-mails and text messages from thousands of authors covering diverse backgrounds and contexts, then what would most reliably help everyone Isn't this approaching llm territory?
Re: Show HN: I automated half of my typing
#227Having studied some shorthand, I'm not surprised in the least! There, the most frequent words tend to get single-symbol abbreviations. Common wisdom even says that much of the benefit from shorthand writing comes from these few one-symbol abbreviations.
Re: Show HN: I automated half of my typing
#228Here's something you probably didn't know if you are not native Chinese speaker: Chinese language has this feature "built-in". It is officially called 双拼 (Shuangpin)where you type two (English) characters of each word to type out the entire word: https://zh.wikipedia.org/zh-sg/%E5%8F%8C%E6%8B%BC Even if you don't use Shuangpin officially, most Chinese input methods supports a similar feature (简拼) for popular phrases,…
Re: Show HN: I automated half of my typing
#229In iOS I maintain a small list of abbreviations (@@ expands to my e-mail address, lk expands to my name etc.) but if it was hundred(s) I'd probably lose more time thinking about "what was the abbreviation of 'online meeting' again" or correcting accidental abbreviations that are part of normal words, than I'd save time typing...but maybe that's just me.
Re: Show HN: I automated half of my typing
#230I use similar abbreviations in code editor, for example: r0 -> return false rn -> return null t -> this puf -> public function You can easily find the opportunities for saving typing by analyzing existing code and most used words there.
What editor are you using to do this? I assume it's vim or emacs.