Walnut356
@Walnut356@programming.dev
- Comment on An entire state's population just had its data stolen in a ransomware attack 1 year ago:
For sure, but as long as clickbait works they’ll keep doing it.
- Comment on An entire state's population just had its data stolen in a ransomware attack 1 year ago:
To be fair, “an entire x” does have markedly different meaning than “x”. The emphasis is that it’s, well, the entirety of x. It’s the difference between “i ate the cereal” and “i ate all the cereal”.
- Comment on What got you into coding ? (aside from money) 1 year ago:
Honestly, it’s because a bunch of programs i used disappointed me (performance, functionality, [being a web app at all], etc.) and i figured it couldnt be that hard to do it better. In some cases i was right, in most i was wrong. As it turns out though, I really like programming so i guess i’m stuck here
- Comment on Xbox's new policy — say goodbye to unofficial accessories from November thanks to error '0x82d60002' 1 year ago:
I mean to be fair, those errors arent really meant for you (the end user) in the first place.
- Comment on The temptation is always there 1 year ago:
I feel like it’s like pointers.
“Variable” refers to the label, i.e. a box that can contain anything (like *ptr is a pointer to [something we dont know anything about])
Immutable describes the contents, i.e. the stuff in the box cant change. (like int* ptr is a pointer to an int)
Rust makes it very obvious that there’s a difference between constants and immutable variables, mainly because constants must be compile time constants.
What do you call it when a variable cant change after its definition, but isnt guaranteed to be the same on each function call? It’s not a constant, the contents of that label are “changing”, but the label’s contents cant be modified inside the scope of that function. So it’s a variable, but immutable.
- Comment on The Absolute Minimum Every Software Developer Must Know About Unicode in 2023 (Still No Excuses!) 1 year ago:
That depends on your definition of correct lmao. Rust explicitly counts unicode scalar values, because that’s the length of the raw bytes contained in the string. There are many times where that value is more useful than the grapheme count.
- Comment on Which software do you mostly use for programming, and why? 1 year ago:
I think it was this issue. Looks like maybe it got fixed some time this year? Iunno, i’ll look into it at some point
- Comment on Which software do you mostly use for programming, and why? 1 year ago:
Is pycharm’s semantic highlighting still kinda ass? That’s the biggest thing that stopped me from using it over vsc. As of like may this year i remember there still being active issue tracking for it.