A broken clock is right twice a day?
An Embedded Software Engineer who does game dev as a hobby.
A broken clock is right twice a day?
It has its usages. Unfortunately, the market pressures are going to require companies to use them in a way to make investors happy. The average Joe is probably going to have a bad time.
I wonder if we will get to a point where capacitor batteries will be too good.
Can you image a small issue leading to an entire instantaneous energy dump of a large capacity capacitor while on an airplane?
Make me wonder if we will limit how fast a capacitor can discharge in some consumer goods.
I don’t know. Not everyone who uses a computer should be an expert. Not everyone is 100% alert all the time. I know there has to be a line somewhere.
I feel like it would be really easy to have the OS check if the exe is appended to some other extension and force the user to rename it before allowing it to be executed.
Yes, any file that is marked as executable can be “run”. 9 times out of 10 the user has to do this explicitly.
These people are a critical part of the computer ecosystem. Without them, no one would use any settings other than the default. We may not have yet discovered the dark theme.
Good meme.
This happens in close source software too. You just don’t find out about it until it gets bad enough.
Is debian a good choice for new users? I know it’s used as a base for a lot of distros. But I’ve never used it. I assumed it was more technical and less user friendly.
Your sarcasm is on point but there are a limited number of people who can answer some questions. They get flooded and are answering questions on their own free time. So some people get left in the dust if they don’t follow the rules.
It sucks but I don’t see a way around it.
You have ruined my assumptions of SQL coders. How dare you! /s /dramatic
It does and I use it and I love it.
But I now, thanks to this post, see I am weak. I must feel pain to feel alive! /s
I don’t get the top square. I thought PHP was for generating HTML, not for creating EXEs.
Maybe it does. Maybe it doesn’t. This is the first post I have seen pointing out a flaw in PHP on Reddit or Lemmy. If you ask me JavaScript gets it the worst out of all of the languages. I don’t see those guys whining.
What I will say is that the majority of PHP developers I interact with on this post has led me to believe that there is a number of PHP developers that take things way to personally that they really shouldn’t. Seriously you guys aren’t doing your language any favors. No one’s going to want to join the whine club.
Okay, even if I give you the unexpected behavior point. The readability problem remains. Switch statements or tables will work just fine and are easier to read.
To be clear, I am fine with single ternary operations. I think nested ternary operations are harder to read and follow.
Well, if you assume ternary operations work the same in PHP as in c and attempted to write the code demoed by this meme. You would end up with unexpected behavior. Maybe I should have said unexpected behavior instead of unsafe behavior.
There is usually a safer and more readable way to do what you want to do by chaining ternaries in most languages.
Your feelings are valid. I wonder though, would you put up this level of defense for posts making fun of arbitrary parts of non PHP languages?
You are not your favorite language. And I find most criticisms of most languages to be very valid. I don’t think the intent of OP is to insult all PHP programmers. It’s okay to like a language that has problems. All languages do.
Proprietary software just feels gross, low quality, and opaque. I want to feel like I’ve actually got some kind of control over the computers I own. Windows was feeling more out of touch with software developers. Installing a compiler in Linux is super easy compared to Windows.
I still think a good chunk of the code will be visible. You can have all the code up to the point where you call the proprietary function. Obviously you won’t get to see what’s inside that function but you can guess. Also, a lot of proprietary libraries have that functionality really well documented.