What do you think? Is -> better than .# ?https://twitter.com/_gsathya/status/973231075320266752 …
Tilde Co-Founder, OSS enthusiast and world traveler.
You can add location information to your Tweets, such as your city or precise location, from the web and via third-party applications. You always have the option to delete your Tweet location history. Learn more
Add this Tweet to your website by copying the code below. Learn more
Add this video to your website by copying the code below. Learn more
By embedding Twitter content in your website or app, you are agreeing to the Twitter Developer Agreement and Developer Policy.
| Country | Code | For customers of |
|---|---|---|
| United States | 40404 | (any) |
| Canada | 21212 | (any) |
| United Kingdom | 86444 | Vodafone, Orange, 3, O2 |
| Brazil | 40404 | Nextel, TIM |
| Haiti | 40404 | Digicel, Voila |
| Ireland | 51210 | Vodafone, O2 |
| India | 53000 | Bharti Airtel, Videocon, Reliance |
| Indonesia | 89887 | AXIS, 3, Telkomsel, Indosat, XL Axiata |
| Italy | 4880804 | Wind |
| 3424486444 | Vodafone | |
| » See SMS short codes for other countries | ||
This timeline is where you’ll spend most of your time, getting instant updates about what matters to you.
Hover over the profile pic and click the Following button to unfollow any account.
When you see a Tweet you love, tap the heart — it lets the person who wrote it know you shared the love.
The fastest way to share someone else’s Tweet with your followers is with a Retweet. Tap the icon to send it instantly.
Add your thoughts about any Tweet with a Reply. Find a topic you’re passionate about, and jump right in.
Get instant insight into what people are talking about now.
Follow more accounts to get instant updates about topics you care about.
See the latest conversations about any topic instantly.
Catch up instantly on the best stories happening as they unfold.
Daniel Ehrenberg Retweeted Sathya Gunasekaran
What do you think? Is -> better than .# ?https://twitter.com/_gsathya/status/973231075320266752 …
Daniel Ehrenberg added,
“->” is too noisy, I prefer “#”. BTW I would love to have some shorthand for “this”, like Ruby does with “@“.
The reason that the shorthand is no longer part of the proposal is that it seemed like people kept thinking that it was 'lexically scoped' in the sense of already being bound, even in a method. But the proposed semantics were that `#x` is short for `this.#x`--not quite the same.
Forcing you to write `this` is annoying but makes it more obvious what is going on, so debugging and maintenance may be easier. We can revisit this in the future and add the shorthand if we get a good understanding that it's not actually confusing and is really useful.
The reason the shorthand was dropped is that Waldemar pointed out that this:
class {
static #x;
foo() {
return #x;
}
}
Could plausibly be expected to expand to look up the static version, which isn't what the proposed shorthand did.
Yes, that was another reason; thanks for the additional context. In general, I don't like making decisions just from a single "killer" example but rather looking at a bunch factors together. These can both be considerations without one being "the" reason.
Indeed. I didn't mean to imply that this was the one explanation, but rather that this is the one that caused me personally to agree to decouple it :) Of course the other concern is serious too.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.