• 1 Post
  • 53 Comments
Joined 1 year ago
cake
Cake day: June 29th, 2023

help-circle

  • Wow that sounds like a headache, even though I’ve avoided python for other reasons that sounds like an additional reason to do so. Also the reason I avoid npm isn’t for a technical reason like you’ve outlined here. It’s because even installing npm requires me to install an entire other Linux distros worth of packages. Why do I need to install like 100+ new packages just to use a freaking package manager???





  • You’re talking about Java(Jakarta) EE, my comment is primarily targeted at Java SE. I find that the Java standard library on its own and core language is pretty nice if you use modern versions like Java 21. If I had to complain it’d be about checked exceptions, they annoy me but otherwise the language is fine. I’ve never worked with the full enterprise web stack, I use servelts for web and do a large amount of Java SE desktop development, not with swing, fuck swing. Primarily LWJGL and JavaFX. I love that language, more than most. At work I use a lot of C# and I hate it, I miss Java when I have to write C#. I just don’t love it, mostly due to all the little annoyances and missing things(no labeled breaks, no diamond operator for generics, etc). I try to use Java for projects where I can but it’s not always an option.








  • Scoopta@programming.devtoProgrammer Humor@programming.devTrue Story
    link
    fedilink
    arrow-up
    4
    arrow-down
    1
    ·
    edit-2
    6 months ago

    It’s actually not. Objective-C is a superset of C. C++ is not. It’s MOSTLY compatible…but it’s not a superset. See the restrict keyword, or the need for casting to and from void*, or the inability to name variables new or delete, or class, or this. I can’t count how many C projects I have which use this as a variable name that WILL NOT compile as C++…or the need for extern C to call C ABI code…in no way is it a superset

    EDIT: lol, you can downvote me if you want but I think you need to lookup what a superset is


  • There was actually a really interesting idea I heard to have no time zones. And I actually think it could be a good idea. It’ll never happen because people would need to re-learn time but if it was always the same time everywhere it would make scheduling and business so much easier. No one would need to convert between different zones or be late because of an incorrect conversion. The downside is that times which are conventionally morning or evening etc, would no longer would be so people would have to get used to time just being a construct for scheduling and not a representation of the natural day/night cycle…but it actually doesn’t sound like a half bad idea.






  • Yeah, I was ignoring apple platforms because Objective-C doesn’t even have its own header extension as an option. Also not all C headers do extern stuff…and it doesn’t fix 100% of compatibility problems when you do that anyway. Also I’m not really talking about it from a compiler perspective, I’m talking about it from an organization and human perspective. I know compilers generally don’t care…which is exactly how we ended up in this predicament.