We can go further, I think it’s impossible to prevent memory leaks in a general purpose language
We can go further, I think it’s impossible to prevent memory leaks in a general purpose language
The Elm compiler
Lmao, what the heck. I’ve heard about that, but I still cannot believe it’s true.
Yeah, I changed my career direction (industry, tech stack…) but before that, my CV only was enough for me to get hired. They would just verify the information, and sometimes, there weren’t even a single tech interview.
I was so lucky in the interview for my current job: I’m working on a product with a big networking component, and I was asked to write an echo server with low level components. That was maybe the second time I had a test related to the job.
This: comparing something you buy once, with a license does not make a lot of sense. In SaaS, you get update, support, etc. For something critical, I’d rather get that than something that I buy once and may be buggued in the future.
The idea is that I can see all the types in one glance, then I look at the rest.
What the actual fuck. It’s a made up story I’m sure.
It’s a toy example. In that case, the solution is to assign the expression to a variable to compute its result upfront.
There are still obvious things the BC cannot get. For example:
struct Foo;
impl Foo {
fn num(&mut self) -> usize { 0 }
fn index(&mut self, _i: usize) { }
}
let foo = Foo;
foo.index(foo.num()); //error
It’s like someone has pooped on my screen.
Htmx is a godsend for that. You actually write HTML while having AJAX easily.
The desktop website is so bad… I ask for a light theme in my settings, they don’t care (it’s white on black) because it’s HARD to add a few CSS rules. Then there is a flash of light which could give a seizure to someone with a condition. It’s shitty design at its peak. That doesn’t really inspire confidence…
Firefox is really badly integrated in MacOS. The fn + arrow shortcut doesn’t work, for example, it’s not integrated in the menu system (the menu shortcuts don’t work) etc. But there is Sideberry, so…
Nope, my webpages are not just nested divs. I use nav, main, form, select, etc to name a few. I actually use very few JS. It’s mainly for communication with the server when I need AJAX to retrieve data.
It’s much easier to work with streams of untyped data in a weakly typed language.
Funny, I think C++ is literally the worst language to learn programming. I would go with JS or OCaml at first, then Rust if they need manual memory management.
This is especially true for steam… what a crappy app
I have a degree in philosophy (and no other diploma) and I make $200k/year as a senior developer. The degree does not really matter.
And here you’re only talking about a subset of memory leaks, by inaccessible memory. You can also leak memory by pushing new elements in a channel while never reading them for example.