• 2 Posts
  • 64 Comments
Joined 2 years ago
cake
Cake day: July 13th, 2023

help-circle
  • For a long time we’ve said it’s important to separate semantics and presentation (eg html vs css).

    I’ve always wondered why we never followed our own advice when creating new programming languages. Let the IDE present whatever TF you want, and in the background it’s simply building an Abstract Syntax Tree and serializing that to a file in whatever serialization format it prefers.

    I’ve dreamed of making my own data-flow language that follows that principle, but I have neither the knowledge of compilers nor the free time to try.







  • I think you’ve fundamentally misunderstood the idiom. In what scenario would someone be telling this idiom directly to you in regards to your appearance?

    This idiom is typically applied generally about the subjectivity or art, and occasionally in the defense of a particular piece of art on the grounds of subjectivity.

    It isn’t used to cast judgement on the appearance of a person, except maybe ironically/sarcastically.




  • I know the image post was hyperbole, but the way y’all are gushing over it is borderline religious, in an unsettling way.

    Immediately, you call boilerplate a Big Deal and identify yourself as a zealot. Even in Java, a notoriously verbose and boilerplate laden language, it’s a Small Deal unless you’re doing something insane. Let me guess, your coding in VI or something.

    Rust looks great. It’s a bunch of small improvements over most languages. But True Believers of any lang need to chill the fuck out.



  • I said it was better, just not much better.

    The maintenance costs of equals is nearly zero. Scrolling over boilerplate seems like a real stretch, like saying a novel with a picture every chapter is harder to read.

    I like that you can’t accidentally forget to update it, which is kinda nice but is rarely a concern.
    And it’s a bit more readable, which is nice.
    It’s better, but folks are talking like it’s Super Jesus and I think it’s more like finding a dollar in the parking lot.



  • Why did you even bring up AI? IDEs have been able to generate equality functions for decades without AI.

    It’s kinda neat to have this defined directly in the language so that compilers can implement it, but creating equality function is so low effort that this doesn’t really seem like a big deal.

    Like, you define the members in a class, then you tell your IDE to generate getters, constructor, equals, hashcode, etc all in like 5 seconds.
    I like it, it’s nice when the language itself defines reasonable defaults for things, but realistically you’re saving yourself a few seconds of effort.