![](/static/253f0d9b/assets/icons/icon-96x96.png)
![](https://programming.dev/pictrs/image/170721ad-9010-470f-a4a4-ead95f51f13b.png)
Make it strongly statically typed. Dictionaries and lists must have all their items of the same type. For extra confusion.
Make it strongly statically typed. Dictionaries and lists must have all their items of the same type. For extra confusion.
Why not respond with the appropriate HTTP Code, and then also put the same code in the json?
I unironically do this. There was one update that wiped one guy’s Documents/Downloads/Images/Videos. So I made my own and store my things there.
Not always possible. In Spain IPv6 adoption is at like 5%. There’s literally no ISP that offers it. I don’t even know how that 5% got it, maybe special deals.
If you mean lambdas like in python where you say lambda x: x+1
, they are called closure
s in rust, try searching for that instead.
I’d have to boulder check, but I think old handheld consoles like the Gameboy or the DS use fixed-point.
“Searching past information is pretty easy” except for the fact that you have to apply filters to each search, by default it searches in every channel (instead of the channel you are on) and just puts all the answers together (grouped by date, not channel).
I’ve even encountered the problem of their search servers being down (less than a year ago).
Not to mention that you have to have an account and you have to be in the specific server you want the answer from, which is not trivial since you also need to know that the information you search for is in a discord server to begin with.
More like 99.99% the only electricity coming into the PC and not heating the house is the very small amount of light and sound leaving the house. Still worse than a heat pump, but pretty efficient at heating.
IDE git is less powerful than CLI git. However I’m pretty confident that most people use more features of git by using a GUI.
CLI feature discoverability is pretty awful, you have to go out of your way and type git help
to learn new commands.
With a GUI though, all the buttons are there, you just have to click a new button that you’ve been seeing for a while and the GUI will guide you how to use it.
GitHub desktop is the first thing I recommend whenever someone ducks up their local repo by using eclipse’s git integration.
It’s so easy even an eclipse user can solve their issue by clicking a simple “sync” button. They don’t need to even know how git works.
C and memory safety, name a more iconic duo /s
Serializing? For serializing you probably want performance above all else. I’m saying this without checking any benchmark, but I’m sure yaml is more expensive to parse than other formats where indentation don’t have meaning.
For human readability: it has to be readable (and writeable) by all humans. I know (a lot of people) that dislike yaml, toml and XML. I don’t know of a single person that struggles to read/write json, there is a clear winner.
Inline comments yes.
Function/Class/Module doc comments should absolutely explain “what”.