I start writing the implementation and get the “variable not defined” error and then let the ide add the declaration. It’s less keys to press and misspell.
- 0 Posts
- 15 Comments
labsin@sh.itjust.worksto Programmer Humor@programming.dev•As someone not in tech, I have no idea how to refer to my tech friends' jobs1·1 year agoAbout D, you could also be programming robots, PLC’s or thermostats 🤷♂️
labsin@sh.itjust.worksto Programmer Humor@lemmy.ml•*Angry programmers noise getting louder and louder*1·1 year agoNo, the html file itself. It just contains elements like a paragraph, image, list, table,… just like a word document.
labsin@sh.itjust.worksto Programmer Humor@lemmy.ml•*Angry programmers noise getting louder and louder*2·1 year agoA word document can also contain a script, as can html pages. It’s why I thought these two were the closest match. Nobody is going to call those programming languages.
labsin@sh.itjust.worksto Programmer Humor@lemmy.ml•*Angry programmers noise getting louder and louder*72·1 year agoA PowerPoint, word document or even a text file or picture. There is only a description in the file of what it holds and it’s up to the program that reads it, how it will visualize or interpret it.
A word document or PDF would be the closest.
labsin@sh.itjust.worksto Mildly Infuriating@lemmy.world•The amount of plastic from a Kinder Bueno 4 packEnglish1·1 year agoI think it’s fair to say those brands will source from the cheapest, scummiest places and it doesn’t matter what “certificate” sticker is on the box.
But it is so hard to avoid them where I live :/ Even the fairtrade, vegan and
responsiblegreen washed products are from those 3…
labsin@sh.itjust.worksto Mildly Infuriating@lemmy.world•The amount of plastic from a Kinder Bueno 4 packEnglish10·1 year agoEven WWF doesn’t think avoiding palm oil is a good solution. Not short term and definitely not long term
https://wwf.panda.org/discover/our_focus/food_practice/sustainable_production/palm_oil/
Palm is the most efficient crop for producing a wide range of fats. Replacing it with some other source of fat will require more land and water, and disrupt nature in another part of the world.
IMO they should just remove the equality operator on floats.
labsin@sh.itjust.worksto Programming@programming.dev•When "Everything" Becomes Too Much: The npm Package Chaos of 202461·1 year agoOther package managers, like nuget, throw errors if all dependencies on a package cannot be met by a single version.
This is probably the result of it copying all libraries in the same output directory and that .net cannot load 2 different versions of the same library so more an application restriction.
The downside of this is that packages often can’t use newer features if they want to not block the users of that library and that utility libraries have to have his backwards compatibility so applications can use the latest version while dependent libraries target an older version. Often applications keep using older versions with known security issues.
They also couldn’t call it “.Net Core 4” so they called it “.Net 5”
Will they keep skipping numbers or start thinking about not naming everything the same.
I use it to open the spell checker options while I’m typing. It’s annoying to have to switch from keyboard to mouse. My current laptop doesn’t have the key and I even added another short key.
The super key, again, is useful so you don’t have to switch between keyboard and mouse when searching for an app. It is also the modifier for all GUI shortcuts.
labsin@sh.itjust.worksto Mildly Infuriating@lemmy.world•I'm locked out of my 6 year old Chipotle account because they now say my email address is invalid when I login. Here is me asking for their help:English41·1 year agoIt’s that capitalization is language dependent, which email addresses shouldn’t be as I hope the rules for France shouldn’t be different than for Dutch. For instance é in Dutch is capitalized as E, but in French it is É. The eszett didn’t even have an official capital before 2017
In most programming languages, case-insensitive string compare without specifying the culture became deprecated. It should imo only be used for fuzzy searching doubles, which you probably will do with ToUpper for performance reasons, or maybe some UI validation.
labsin@sh.itjust.worksto Programmer Humor@programming.dev•0 vs null vs undefined - explained with toilet paperEnglish2·2 years agoI like the pattern a lot more. It makes you just initialize the value and only keep it ‘nullable’ for where it’s needed and then you need to check. Even .net implemented it (but a bit more awkward)
labsin@sh.itjust.worksto Programmer Humor@programming.dev•0 vs null vs undefined - explained with toilet paperEnglish5·2 years agoIt has std:option
So every object that can be None or Some, needs to be checked when used. And only options can be set to None
I’d say the index is actually an offset is a reasoning for explaining why it should start at 1. If index was an index, I’d just start at 1.
I don’t think any one is better than the other, but history chose 0.
That you can choose it in VB is probably the worst option :D