Solemarc

joined 2 years ago
[–] Solemarc 4 points 9 months ago (1 children)

I really don't get it, I suppose the setting to auto fill common patterns on a form could be useful. But why do I care about an autocompleting textbox? Do you think I've never used a search engine in my life?

[–] Solemarc 2 points 9 months ago* (last edited 9 months ago)

I remember watching a video of someone writing C code and making the same thing in unsafe rust. While the C code worked just fine the rust code had UB in it and was compiled to a different set of instructions.

Unsafe rust expects you to uphold the same guarantees that normal rust does and so the compiler will make all the same optimisations it would if the code wasn't unsafe and this caused UB in the example rust code when optimised for performance. It worked just fine on the debug build, but that's UB for you.

[–] Solemarc 2 points 9 months ago (1 children)

As far as I was aware Go didn't have enums and this

const()

Pattern is just a weird thing people do because it behaves like an enum?

[–] Solemarc 19 points 9 months ago (6 children)

I don't know where "software engineer" started but in Australia engineers have to study for years and then do a minimum amount of study every year to keep their license. Which we don't have to do. I've always been weirded out by Software Engineer even though it seems to be becoming more common.

[–] Solemarc 3 points 9 months ago (1 children)

Sure, so you just get a fine for obstructing your license plate then.

[–] Solemarc 5 points 9 months ago (4 children)

As far as I'm aware cybercrime is generally: "anything done maliciously involving a computer" intentionally sticking a drop table command over your plates because you're expecting something to read your plate and input it into a db might count.

[–] Solemarc 2 points 9 months ago* (last edited 9 months ago)

Id guess maybe, if I generated a string using AI and intentionally crashed their stuff, it might be crime.

[–] Solemarc 1 points 9 months ago

And I said, if op doesn't want to learn a new language, here are some python mobile frameworks. And was explicitly asked which of kotlin/swift I would recommend for a python dev.

[–] Solemarc 6 points 9 months ago (20 children)

I'd be more worried that this could count as some form of cybercrime.

[–] Solemarc 2 points 9 months ago (2 children)

Sure, but how else should I compare a language I've never used to python?

[–] Solemarc 1 points 9 months ago* (last edited 9 months ago) (4 children)

I've never used swift myself, but as far as I'm aware swift doesn't need to have a main function so I'd say it's closer

view more: ‹ prev next ›