• 30 Posts
  • 439 Comments
Joined 2 years ago
cake
Cake day: June 11th, 2023

help-circle
  • The author provided no evidence of it

    They’re contextualizing and sourcing it plenty. It’s their impression from their experience, from their years of being in that field. In the later adding of comments at the end they go into different takes as well, reiterating that it’s what they saw or see in [their] big corp[s] [and those he talks to].

    You’re saying people are rotating too often - which was one of their points. Not sure if you meant support that point or point it out [assuming they didn’t].

















  • So you’re using [] as an alternative function call syntax to (), usable with nullable parameters?

    What’s the alternative? let x = n is null ? null : math.sqrt(n);?

    In principle, I like the idea. I wonder whether something with a question mark would make more sense, because I’m used to alternative null handling with question marks (C#, ??, ?.ToString(), etc). And I would want to see it in practice before coming to an early conclusion on whether to establish as a project principle or not.

    math.sqrt?() may imply the function itself may be null. (? ) for math.sqrt(?n)? 🤔

    I find [] problematic because it’s an index accessor. So it may be ambiguous between prop or field indexed access and method optional param calls. Dunno how that is in Dart specifically.