shy_mia

joined 3 months ago
[–] [email protected] 11 points 6 days ago

I really wanna know where you get your language info and examples from because nearly every single one you wrote in your comments is just wrong.

Program state in Rust isn't immutable. datastruct.nextState() is not only possible, but perfectly reasonable, it's exactly how iterators are implemented.

[–] [email protected] 2 points 1 week ago

At least it has something to complain about, unlike Karens.

[–] [email protected] 16 points 1 week ago* (last edited 1 week ago)

The fact that it can be used as a scripting language doesn't mean it's a scripting language. You could use C++ as a scripting language as well, but it would suck.
C# even supports native compilation nowadays, not just JIT, so it's definitely not a lowly scripting language.

Anyways you've got options. Go may also be one of them if you want GC, I forgot to mention it.

[–] [email protected] 23 points 1 week ago* (last edited 6 days ago) (2 children)

I've found working with Rust and Bevy to be quite pleasant. If you're used to working with ECS, I suggest you at least give it a go.
Rust is as functional as C++ 20 with ranges and views is, which is to say it isn't. Not sure where you got that impression from, but while it does borrow some ideas from functional languages, it's still very much a procedural one.

Zig doesn't have headers, nor inheritance. Again, not sure where you got that from, but Zig is basically a modern C, so there's no OOP anywhere, let alone multiple inheritance.

As for what to use, I think they're both viable alternatives. I lean more towards Rust, but that's just due to familiarity. Odin also looks like a viable option, if you don't mind a smaller ecosystem.
If you want a garbage collected language, then I'd go for C#. Despite its historic reputation as a Windows only language, it's been cross platform and open source for roughly a decade at this point. I find it great to work with.

[–] [email protected] 6 points 2 weeks ago* (last edited 2 weeks ago)

Those are not mutually exclusive. I'm so tired of this nihilistic view.
Community and activism can only go so far, and since human decency is not something you can rely on, if you want things to get better you need actual laws that will protect you. The only way to have those is to actually elect people who at least have a chance to do something about it. That holds true both at the state level and federal level.

So yeah, strengthen your community, but for crying out loud vote for the right people as well.

[–] [email protected] 18 points 2 weeks ago (1 children)

Yes, though in this case it's more like "go back in the closet so we don't get deported." I don't like it, but I'll forgive it if it's necessary. Maybe it isn't, but with so little wiggle room it's better not to take chances...

[–] [email protected] 47 points 2 weeks ago (5 children)

I'm not happy about it, but it makes sense.
They're trying to avoid polarizing issues so as to not alienate undecided voters. Either way a democratic presidency would be better for LGBTQ people than a MAGA presidency, so I'm not too upset about our issues being put on hold for a few days to achieve that. I imagine they'll become a little more vocal about them once they're actually in the White House, and if not we'll still be better off regardless.

Transgender people are a minority amongst minorities, catering to them while potentially alienating so many more voters is not a wise strategy. Reasonable trans voters will already vote for Harris because they know what's at stake.

I don't like it, but if it means keeping fascists out of the office, I can live with it.

[–] [email protected] 4 points 3 weeks ago* (last edited 3 weeks ago)

I get the mistake. Wouldn't even call it one tbh, just an oversight. But when someone points it out normally one doesn't reply with "don't force your political views onto me" as if non male devs was some weird "woke" concept. A simple "whoops, missed that" would have been perfectly fine and everyone would've moved on. With that said, having followed the whole debacle I can say it could have been handled better by both sides.

[–] [email protected] 3 points 3 weeks ago* (last edited 3 weeks ago) (2 children)

The problem was more the fact that the devs viewed using anything other than 'he' as political, not the presence of gendered language itself. The devs themselves made a big deal about changing it. The way I see it, it's not even about trans people. How about just women? Is including women in software developent considered political? One would hope not, but here we are...

[–] [email protected] 2 points 3 weeks ago

Especially considering what the context already was

[–] [email protected] 3 points 1 month ago* (last edited 4 weeks ago)

It wasn't just to accomodate trans people but just... anyone who isn't male? Apparently women being software developers is a controversial concept for Andreas.

[–] [email protected] 5 points 1 month ago

I find this to be true for every new language I try out. Since every language has a different way of doing things and gives me a new perspective, in the long run they all end up improving my programming style as a whole. I always end up integrating the best parts of each into my next project when possible.

Experience will always be more valuable than any set of rules these kind of books tout as "the way things are meant to be done".

103
He hungry (lemmy.blahaj.zone)
 
77
Father and son (lemmy.blahaj.zone)
 
95
eep stretch (lemmy.blahaj.zone)
submitted 2 months ago* (last edited 2 months ago) by [email protected] to c/[email protected]
 
view more: next ›