Mostly agree. I’m ok with single characters in a one line / single expression lambda, but that’s the only time I’m ok with it.
Mostly agree. I’m ok with single characters in a one line / single expression lambda, but that’s the only time I’m ok with it.
C# is what I primarily write at work, and it’s honestly great to work with. The actual business logic tends to be easy to express, and while I do write a some boilerplate/ceremony, most of it is for the framework and not the language itself. Even that boilerplate generally tends to have shorthand in the language.
That’s a little pedantic, don’t you think?
It entirely depends on the culture around it. Is everyone expected to model underwear for their store? If someone doesn’t want to - is the culture supportive, neutral, dismissive, or antagonistic? Are they expected to do it but just allowed to choose not to? Or is there no expectation to do it, but volunteers are welcomed?
I can’t imagine anyone is being forced to, but it wouldn’t surprise me if the company culture is dismissive or demeaning of people who would rather not.
GitHub Copilot is just intellisense that can complete longer code blocks.
I’ve found that it can somewhat regularly predict a couple lines of code that generally resemble what I was going to type, but it very rarely gives me correct completions. By a fairly wide margin, I end up needing to correct a piece or two. To your point, it can absolutely be detrimental to juniors or new learners by introducing bugs that are sometimes nastily subtle. I also find it getting in the way only a bit less frequently than it helps.
I do recommend that experienced developers give it a shot because it has been a helpful tool. But to be clear - it’s really only a tool that helps me type faster. By no means does it help me produce better code, and I don’t ever see it full on replacing developers like the doomsayers like to preach. That being said, I think it’s $20 well spent for a company in that it easily saves more than $20 worth of time from my salary each month.
Out of all the modern browsers, it’s always Safari that I end up needing to write compatibility code for. I’m sure the app works fine on Firefox, they just haven’t tested it.
By necessity, when you’re in the debugger your code has already been compiled either way, no? Or am I missing something here?
This isn’t executing your code as you’re writing it (though it does support Edit & Continue), this is preemptively executing the next lines in your code when you’re already paused in the debugger - which means it’s been compiled and already running.
“Self-documenting” just means “(I thought) I understood it when I wrote it, so you should too”. In other words, it really means “I don’t want to document my code”
My favorite approach I’ve seen is just units of time -“this task will take a few [days/weeks/months/years]”.
No specific number. Instead, the scale of the task is measured in one of those units and I can give you an estimate but it’s just a guess.
If it’s task that might take “a few days”, it could be done tomorrow or it could take 5 days. If it’s one that takes “a few weeks”, it might be done next week or maybe next month.
The choice between Linux and Windows is not just about ideologically choosing open vs closed source software.
If you don’t want to use closed source software, don’t use VS Code - but if you want to use Linux, and you want to use VS Code, those two choices are totally compatible and perfectly valid
What bike do you use and would you recommend it? I’ve been looking for an e-bike recently since I work so close to home, but I haven’t found any that seem reputable and a good value. I’m definitely looking for one that’s easily repairable and not paired to a specific brand’s software or proprietary parts.
Granted, I’ve only been passively looking (I.e. when I see an ad or doing a quick google search sometimes), but from what I can tell most of the advertised bikes are just the same handful of models with a different logo slapped on it and dubious claims about its performance.
You’ll never understand why people want to check out the latest app from a major tech company?
I get it if you aren’t interested personally, but it seems strange to not understand why people would want to try it.
In my experience, inheritance is really handy in the right situation. But far more often, inheritance is just a quick way to code yourself into a corner or just a waste of mental energy in the wrong place.
Spotify pays artists based on how many listens their songs get, so if you can get a bunch of bots to stream your music over and over you can get a legitimate income stream.
In this case, they’re using their illegal income to pay people to use a botnet to stream their songs - which then means they have a nice legal income instead.