

Yes, JS is equally terrible! At least we can agree on that :-P
And I also understand that PHP (just like most technologies) can be very efficient to work with if you are used to it and know it very well.
Yes, JS is equally terrible! At least we can agree on that :-P
And I also understand that PHP (just like most technologies) can be very efficient to work with if you are used to it and know it very well.
PHP grew “organically” out of a perl library. There was never a consistent plan/idea about the set of abstractions it provides, the type system, builtin functions etc… Everything has been bolted on here and there, some additions good, some bad, some terrible pitfalls. A language with builtin operators that are basically unusable (comparison!) and where some functions return false when the input is invalid, is really fundamentally broken. I agree that many of the worst failures of PHP have been (kind of) fixed after PHP5 and that’s nice for large existing PHP codebases (mediawiki, wordpress, nextcloud, typo3). But I just can’t understand why one would start new projects in PHP in a world where so many very well designed and well thought through languages exist.
Edit: First sentence is misleading. Of course it wasn’t a perl lib, but basically a thrown together bunch of functionality, unified into one package, so it can replace using various perl libraries. The syntax was also very inspired by perl.
What’s wrong with pocket integration?Nobody forces you to use it. Apart from that it stores user data e2e encrypted, mozilla has no access to your data (as opposed to chromes sync functionality). Imho, a browser should not block some content by default. But ad-blocking must be easy to enable/install. All of that’s the case in FF so I see no reason not to recommend it.
To me it seems like the internet is full of JS apologists. Maybe it’s just YouTube xD
JS is horse shit. Instead of trying to improve it or using that high level scripting language as a compilation target (wtf?!), we should deprecate it entirely and put all efforts into web assembly.
HELL NO! If you split that function into three, but these always have to be called in succession, you win nothing but make your code WAY harder to read/follow.
Hahaha this is great! All points are basically entirely obvious and common sense and then you hit us with that ridiculous statement about PHP. Outrageous!
…easier to use but has only got a fraction of the features.
My GF is happy with Linux Mint Cinnamon! Even my parents use it :)
You can install newer kernels in Mint and upgrading to the next version also works very well.
Yes, that optimization is finally enabled now. But even without it, programmers are less defensive when writing rust because of the freedom of UB, so they write more optimal code and use better architectures before the compiler even comes into play. It doesn’t show in micro benchmarks, but in more complex software that has been written in rust from the start it’s pretty obvious.
And, even more importantly: Depending on the use case, that work is not wasted! “You have a bug in your code” is very possible (more unlikely in rust due to its design, but still). If that bug triggers UB, chances are high you habe an exploitable security problem there. If it instead triggers a panic due to rusts checks, the app stopps in a clean way with a decent message and without a security vulnerability.
I don’t doubt that you can easily craft micro benchmarks out of very specific cases. My point was, that in real world applications, the advantages outweigh the disadvantages easily! And in a very tight loop of performance critical code where this might not be the case, you can still use unsafe and disable checks very carefully where you control the invariants yourself.
In the large yearly stack overflow survey it has been the “most loved programming language” for the past 8 years in a row and at the moment its admiration is only growing. I don’t see anything stop this streak anytime soon. For good reasons.
The fact that this is not satire about conservatives ridiculous fever dreams, but a serious depiction of one, makes it really damn funny :'D
I’m not talking about companies that use windows vs companies that use mac but about the systems themselves. It’s very possible that most companies that use macs are generally better equipped, treat their devices better, upgrade more often, etc… But that’s a correlation, not a causation. You are right about the quality baseline because apple forces them to buy very specific hardware. But if they’d instead spend the same money for a windows machine and set it up decently, I would prefer that by a lot. MacOS is just terrible. It’s less keyboard friendly, always messy, forces users into a overpriced and shitty proprietary lock-in ecosystem, etc.
I’m not sure how long I’ll say that though since microsoft really manages to make windows so much worse with every version they release, it has also reached a barely usable state to be honest.
The existence of undefined behaviour does not at all help performance. Those unnecessary if-checks are mostly a myth and even when they are introduced (e.g. bounds-checks when indexing arrays), they are usually outweight by the advantages of disallowing aliasing (references can be used much more “carelessly” without rutime checks, because these checks happen at compile time by default, comlilers can generally optimize code better because they know more about aliasing of specific data or the lack thereof). In larger, modern c++ projects a lot of smart pointers are used to enforce similar aliasing rules, which are then enforced at runtime though. Generally, the lack of undefined behaviour enables both programmers and compilers to design, architect and optimize code better. There are enough examples out there. Cloudflares in-house proxy solution comes to mind, which is written in rust and easily beats nginx (!!), serving billions of requests per day.
I care about freedom. In that regard, mac is easily the worst of the three. Also, it kinda combines the downsides of both:
I hate windows with a passion but would take it anytime if mac would be the only other option.
Yes, I just tried it and I am in awe :D
Seriously though, why? Is there historic reasons for that? Did they have to pay extra for more letters back in the day?