this isn't an argument, it's a question about build system capabilities because I don't know: is this trading off being sure a new version doesn't introduce an attack at the price of needing manual intervention to recover from an attack in your pinned build?
in other words, I know you can set things up to automatically build when an update is pushed upstream. can you still do that when pinning to hash?
I'm curious what percentage of sites actually need this level of performance. I guess it falls under cost savings to minimize your resource consumption but I still suspect diminishing returns to kick in for most sites before it becomes worthwhile to cross the line into compiling.
I haven't done much with them yet, but theoretically, with property hooks and asymmetric visibility (and properties in interfaces), I won't use getters or simple one argument setters any more; they'll just be properties. conceptually they've always been properties, we just had to use methods because of the limitations of the language that no longer exist.
public methods would be used for making the object perform actions (manipulating its own properties doesn't count), and for complex setters that can't be avoided for whatever reason.
Even if everything they said was true, the decision about whether it's appropriate to accept your PRs ultimately falls to the project maintainers. It was an oddly aggressive response from them.
As long as I don't have to deal with memory allocation myself, I'm good. I find the native typing features it has to be easy to understand and use, so it isn't an much of an initial hurdle to overcome as typescript, for example.
seems pretty niche, but fine I guess. returning the min or max when the value is outside those bounds, rather than treating it as an error, doesn't seem like something I would want to do very often
the pipe operator and ability to define closures in attributes came to mind for this, but those are both 8.5 specifically. can you give some other examples?
maybe it partly comes down to your mindset, but it seems extremely niche to me. appropriate use cases for a method to tell the caller what it should be doing seem pretty rare.
I guess recursion might be a pretty good scenario for it.
I was kidding. I guess this sub isn't in the mood for jokes these days
well not with that attitude
if so, it's true regardless of whether they personally use AI
what's actually wrong with it though?
https://learn.microsoft.com/en-us/windows/wsl/install
this isn't an argument, it's a question about build system capabilities because I don't know: is this trading off being sure a new version doesn't introduce an attack at the price of needing manual intervention to recover from an attack in your pinned build?
in other words, I know you can set things up to automatically build when an update is pushed upstream. can you still do that when pinning to hash?
I'm curious what percentage of sites actually need this level of performance. I guess it falls under cost savings to minimize your resource consumption but I still suspect diminishing returns to kick in for most sites before it becomes worthwhile to cross the line into compiling.
I haven't done much with them yet, but theoretically, with property hooks and asymmetric visibility (and properties in interfaces), I won't use getters or simple one argument setters any more; they'll just be properties. conceptually they've always been properties, we just had to use methods because of the limitations of the language that no longer exist.
public methods would be used for making the object perform actions (manipulating its own properties doesn't count), and for complex setters that can't be avoided for whatever reason.
thank you for the thoughtful follow up
Even if everything they said was true, the decision about whether it's appropriate to accept your PRs ultimately falls to the project maintainers. It was an oddly aggressive response from them.
As long as I don't have to deal with memory allocation myself, I'm good. I find the native typing features it has to be easy to understand and use, so it isn't an much of an initial hurdle to overcome as typescript, for example.
the three array function exceptions are the functions I use most often 🙃
relatedly, for upgrading your projects there is https://getrector.com/
what are you spending days configuring in Ubuntu of all distros?
seems pretty niche, but fine I guess. returning the min or max when the value is outside those bounds, rather than treating it as an error, doesn't seem like something I would want to do very often
they're clearly talking about money
I like it for callbacks (and i guess the pipe operator) but for everything else that seems really weird
loose typing is not always bad and is sometimes actually desirable.
the pipe operator and ability to define closures in attributes came to mind for this, but those are both 8.5 specifically. can you give some other examples?
I think the pipe operator is going to turn out to be pretty polarizing.
versus the rudimentary
I don't know, man. I'm not sure it adds enough value to justify looking so... weird. I know people will get used to it over time, but I just dunno
fair
maybe it partly comes down to your mindset, but it seems extremely niche to me. appropriate use cases for a method to tell the caller what it should be doing seem pretty rare.
I guess recursion might be a pretty good scenario for it.
https://en.wikipedia.org/wiki/Sturgeon%27s_law
90% of everything is crap
doesn't this happen more often than not? UserInterface only provides access to roles and an identifier for users.