TypeScript: Vote for Experimental Support of Optional Chaining
1–10 of 14 posts
Re: TypeScript: Vote for Experimental Support of Optional Chaining
#2No real benefit in voting on it now, other than to express your added desire for a thing the TS team already knows people want.
Re: TypeScript: Vote for Experimental Support of Optional Chaining
#3I definitely hate chains of guards to get at a nested property.
Re: TypeScript: Vote for Experimental Support of Optional Chaining
#4Re: TypeScript: Vote for Experimental Support of Optional Chaining
#5Language design should not be determined by "votes".
Languages are used by people. So it depends, a lot, on the goals of the stewards of a language. Votes can be a useful signal for whether or not people are going to care about your language enough to adopt it.
... but it's absolutely true that voters can vote for the moon and then skip off blissfully, never having to worry about how you implement the Apollo project.
Re: TypeScript: Vote for Experimental Support of Optional Chaining
#6Interesting. I think I saw this in Swift? Or c#? I guess in Python this is where EAFP comes in. I definitely hate chains of guards to get at a nested property.
Re: TypeScript: Vote for Experimental Support of Optional Chaining
#7Interesting. I think I saw this in Swift? Or c#? I guess in Python this is where EAFP comes in. I definitely hate chains of guards to get at a nested property.
Re: TypeScript: Vote for Experimental Support of Optional Chaining
#8Interesting. I think I saw this in Swift? Or c#? I guess in Python this is where EAFP comes in. I definitely hate chains of guards to get at a nested property.
Re: TypeScript: Vote for Experimental Support of Optional Chaining
#9Interesting. I think I saw this in Swift? Or c#? I guess in Python this is where EAFP comes in. I definitely hate chains of guards to get at a nested property.
C# has it.
[1]: https://docs.microsoft.com/en-us/dotnet/csharp/language-refe...
Re: TypeScript: Vote for Experimental Support of Optional Chaining
#10Language design should not be determined by "votes".
Wellllllll.... Languages are used by people. So it depends, a lot, on the goals of the stewards of a language. Votes can be a useful signal for whether or not people are going to care about your language enough to adopt it. ... but it's absolutely true that voters can vote for the moon and then skip off blissfully, never having to worry about how you implement the Apollo project.