4 ms·
My struggle is typing. I use an onscreen keyboard (https://www.blakewatson.com/journal/writing-and-coding-with-the-accessibility-keyboard/ https://www.blakewats
by blakewatson 8y ago
My struggle is typing. I use an onscreen keyboard (https://www.blakewatson.com/journal/writing-and-coding-with-the-accessibility-keyboard/ https://www.blakewatson.com/journal/writing-and-coding-with-...), which I have heavily customized for web development.
I would appreciate terseness. For example, I love how in JS, I can do this:
```
var cat = whichCat();
var catPosts = posts.filter(post => post.cat === cat);
```
Whereas in PHP, I have to do this:
```
$cat = whichCat();
$catPosts = array_filter($posts, function($post) use ($cat) {
return $post->cat === $cat;
});
```
So much extra typing.
DISCLAIMER: didn’t test this code so chance of typo is 99%.
- blakewatson 8y agoIt didn’t capture my line breaks but hopefully you get it.
- amhokies 8y agoOut of curiosity, how long did it take you to type this comment?
- melling 8y agoHave you had any luck with programming by voice? https://github.com/melling/ErgonomicNotes/blob/master/programming_by_voice.org https://github.com/melling/ErgonomicNotes/blob/master/progra...