Agreed, this reads like a list of things I miss from rust when I'm writing go to me.
triarius
It was Google, they Embraced, Extended, and Extinguished it with Google Chat. Then they killed that themselves.
I think the meat being more prominent in the second one is subjective. If I were writing a method to do something like this with ifs, I would handle the edge cases first and return early from them. The meat would be what's left after the edge cases. So this lines up with the first form.
I see so many educated people not realising this. The maths involved is something we learnt in ~ 5th grade, and I distinctly remember doing exercises on marginal rates in primary school in maths class. It's even simpler than compound interest - which is a staple of maths class later on.
Yet so many people say there's a problem with the education system that it doesn't teach practical skills like these. It clearly does, kids just don't remember it. Maybe it's because they don't need to use this knowledge until almost a decade later.
They're interchangeable for branches. Checkout works with arbitrary refs like commit hashes and tags as well. For these, switch needs the --detach flag. You can also use it to create a new branch from the current commit with ’git switch -c $branch_name’.
That's basically what their evil.py file is. So they're essential complaining that co-pilot forced them to have follow a good practice.
In mod 3 they're all 0.
They scanned open source repos and made an LLM out of it. Now companies can profit from open source code without contributing back to the ecosystem. The only contribution they make is the money they pay to Microsoft for Copilot. So Microsoft is profiting from OSS code and stifling its community.
Does this outweigh the free hosting of the code? IDK