Live data from Hacker News

Viewing profile — blueberry87

blueberry87

HN member
Joined
Wed, May 24, 2023, 12:09 AM UTC
HN karma
84
Public activity
17 items

About blueberry87

No profile information was provided.

Recent public activity

  1. story
  2. story
  3. story
  4. story
  5. story
  6. comment
    Comment #41453229

    i mean, then we get into defining multi-paradigm :P does it have objects that could, theoretically, be used in a java-like object oriented system? yes! does anybody do that? not re…

  7. comment
    Comment #41451550

    this is wrong! ocaml is a functional programming language with side effects.

  8. comment
    Comment #40217377

    annoyingly go can't have proper sum types, as the requirement for a default value for everything doesn't make any sense for sum types

  9. comment
    Comment #38512612

    that's not how compile time works buddy

  10. comment
    Comment #38124321

    You lose a very large amount of expressive power if you don't. Any formalisation of the reals requires at least 3 levels, if I remember correctly.

  11. comment
    Comment #38105905

    What are your other options? A type-based proof system implies dependent types, implies universe levels if you want it to be consistent.

  12. comment
    Comment #37952023

    Trying to compare a switch statement to proper pattern matching is like comparing a rock to a rocket.

  13. comment
    Comment #37849997

    Also agda: https://plfa.github.io/

  14. comment
    Comment #37255831

    What's your workflow for adding a new feature to something? In OCaml, with it's "high-tech language features like algebraic data types and ultra-strict typing", my entire workflow …

  15. comment
    Comment #37231903

    Yeah, in any modern language with pattern matching stuff like this is absolutely the compiler's job, and can be done pretty well[1] - of course, there are plenty of legacy language…

  16. comment
    Comment #36872543

    +1 for "Brady_story".

  17. comment
    Comment #36220247

    The point of this website isn't to mock software that has bugs - it's to show pitfalls that have been fallen into before, and could be fallen into again. If popular languages have …