3 ms·
What kind of code are you writing where you have to type @ multiple times per line?
by mikeash 13y ago
What kind of code are you writing where you have to type @ multiple times per line?
- pjmlp 13y agoid map = @{ @"my key": @123};
- mikeash 13y agoSurely you're not doing that anywhere close to every line.
- rsynnott 13y agoOf course, in Java, this would look like (at best, using a third party thing): ImmutableMap.builder().put("my key", 123).build(); Which hardly seems neater (especially in a more realistic case where you have more than one entry).
- pjmlp 13y agoThe point was the pain to type @ in keyboards other than US.