Live data from Hacker News

Viewing profile — Metasyntactic

Metasyntactic

HN member
Joined
Sun, Nov 18, 2012, 7:22 AM UTC
HN karma
240
Public activity
65 items

About Metasyntactic

No profile information was provided.

Recent public activity

  1. comment
    Comment #48260792

    Yes. We do. And unions should work well in F#. It's designed to be a very easy pattern for all CLR languages and compilers to understand (including F#).

  2. comment
    Comment #48255698

    Hi there! One of the C# lang designers here. I discuss that here: https://news.ycombinator.com/item?id=48255658 Note that my expectation would be that the non-boxed form would be a…

  3. comment
    Comment #48255684

    Hi there. One of the C# lang designers here. You're correct. The unions we're working on right now are 'type unions'. So the type is inherent in the union distinction, and you woul…

  4. comment
    Comment #48255671

    Hi there, one of the C# lang designers here. I discuss this a bit in https://news.ycombinator.com/item?id=48255658 . Contrary to what a lot of people guess, boxing is actually a re…

  5. comment
    Comment #48255658

    Hi there! C# language designer here, and one of the people working on unions. Boxing is not something inherently to be avoided. It actually can work better in many (most?) use case…

  6. comment
    Comment #47704707

    > Would something like `List = new(capacity: 10)[1, 2, 3]` have been possible? Great question. And our design docs, and discussion with the community cover this. The reason that wa…

  7. comment
    Comment #47704612

    There isn't any such pressure. These features only happen because someone goes out of their normal job space to push for the necessity for them. All of the design team have full ti…

  8. comment
    Comment #47704532

    > Having to opt-in like the current preview shows it looks like a PITA that I'd quickly become tired of. My belief is that we will have a `union struct` just like we have `record` …

  9. comment
    Comment #47699809

    How do you define "objectively illogical" here?

  10. comment
    Comment #47696172

    Sure, as an example: https://github.com/dotnet/csharplang/blob/main/meetings/work... Again, very rough. We go round and round on things. Loving to decompose, debate and determine h…

  11. comment
    Comment #47696114

    > I guess I overdramatized the situation a bit :) It's a passionate topic for me; as somebody who has been using C# at work for 10 years now, I'm just not happy with the direction …

  12. comment
    Comment #47696090

    Hi there. Designer of this feature :D > is non-intuitive and unnecessary. intuitive is definitely in the eye of the beholder. When people saw: `HashSet people = [with(StringCompare…

  13. comment
    Comment #47696016

    Hi there! One of the C# language designers here, working on unions. We're very interesting in this space. And we're referring to it as, unsurprisingly, 'anonymous unions' (since th…

  14. comment
    Comment #47695939

    Hi there! One of the C# language designers here, working on unions. And the author of that feature :D So I'm happy to discuss the thinking here. It's not about saving keystrokes. I…

  15. comment
    Comment #47695877

    Hi there! One of the C# language designers here, working on unions. We're extremely interested in discriminated unions. A real problem is that there so much interest, with many var…

  16. comment
    Comment #47695864

    Hi there! One of the C# language designers here, working on unions. All the different options have tradeoffs. As an example, the non-boxing options tear, which can be problematic. …

  17. comment
    Comment #47695820

    Hi there! One of the C# language designers here, working on unions. We're interesting in both forms! We decided to go with this first as felt there was the most value here, and we …

  18. comment
    Comment #46729720

    I wrote several of typescript's initial compilers. We didn't use red/green for a few reasons: • The js engines of the time were not efficient with that design. This was primarily t…

  19. comment
    Comment #46729658

    > I'm curious how you can make such statements involving absolute time values, without specifying what the minimum hardware requirements are. That's a very fair point. In this case…

  20. comment
    Comment #46725799

    > Hmm, the strong reason could be latency and layout stability. Tree-sitter parses on the main thread (or a close worker) typically in sub-ms timeframes One of the designers/archit…

  21. comment
    Comment #46725630

    C# Language Designer here, and one of the designers/architects of 'Roslyn', the semantic analysis engine that powers the C#/VB compilers, VS IDE experiences, and our LSP server. Th…

  22. comment
    Comment #45289066

    Sure. But that was the case prior to this feature as well. Previously you'd have to store the variable somewhere and null check it. Those could all lead to different outcomes. This…

  23. comment
    Comment #45288130

    Hi there! Lang designer here. > More concise? Yes. Note: being more concise is not really the goal of the `?` features. The goal is actually to be more correct and clear. A core pr…

  24. comment
    Comment #45288095

    Hi there, one of the lang designers here :) Think of it this way. We already supported these semantics in existing syntax through things like invocations (which are freely allowed …

  25. comment
    Comment #45288058

    Hard problems take time :) They also often need a lot of scaffolding to be built along the way. We like breaking hard problems into much smaller, composable, units that we can buil…