Catch up on stories from the past week (and beyond) at the Slashdot story archive

 



Forgot your password?
typodupeerror
×

Comment Re: Swift (Score 1) 365

Despite your coworkers being stupid, ignorant or both stupid and ignorant, you still have to write code those coworkers they are able to maintain.

Your code none of your coworkers understand might be "good" on some subjective level, but it's not good in the real world.

Unless you have a guarentee that nobody will ever see your code, you are writing code for other people to read. Ignoring this simple reality is... well... it's ignorant.

Comment Re:Swift (Score 1) 365

I'm guessing the language you propose is able to magically assume what the developer wants without the developer having to put it in unambiguous statements?
Programming languages are "obnoxious" because they require absolute 100% precision, and people generally don't like to be anywhere near that precise.
Saying "I want a program that adds up numbers" can have literally millions of completely different implementations.
You could make one that fits the ambiguous specifications perfectly, yet is the polar opposite of what you intended.

But please give a small example of your preferred language syntax.

Comment Re: Swift (Score 1) 365

If you think other programmers are dumb because they don't understand your code, then you are the one being dumb by writing that code knowing your collegues won't be able to work with it.
I'm sure they understand XOR and the ternary operator just fine.
A bunch of if statements are a lot faster to read, though, and allow for easier debugging and changing.
Remember that most time spent with code is reading it, and mostly by people who did not write the code.

Comment Re:What benefit to announcing it? (Score 2) 203

I don't see any apparent upside to the public good.

If vulnerabilities would never be publically exposed, it would remove incentive to fix the vulnerabilities.
Companies generally don't like to spend money fixing problems that they could far more cheaply deny.
The public good of "public disclosure" is that it makes companies accountable for their (in)actions.

Comment Re:Browsing with mosquitoes (Score 1) 259

In this case they're not talking about the advertisement screens, but about websites that completely block mobile access and display a "download app" instead.
I know I've met a few such sites and just closed the browser tab instead.
Apparently I'm not allowed to see what one of their subscribers posted without having to sign away all my personal information first.
Those apps invariably need unrestricted access to my entire phone for me to view some pictures or read some text.
If I wanted to install an app for your site, I wouldn't be visiting your website in a browser, now would I?

Slashdot Top Deals

"There is such a fine line between genius and stupidity." - David St. Hubbins, "Spinal Tap"

Working...