Follow Slashdot stories on Twitter


Forgot your password?
Get HideMyAss! VPN, PC Mag's Top 10 VPNs of 2016 for 55% off for a Limited Time ×

Comment Re: UBlock = inferior + inefficient vs. hosts (Score 1) 156

You shut your mouth! APK is a national treasure. Like the World's Largest Ball of Yarn, or Donald Trump's toupee. Anyone who can envision a Slashdot without his enlightened and charming meditations is a dirty, dirty heliocentrist.


More soberly, I honestly think he has schizophrenia. His writing and formatting is consistent with that exhibited in TimeCube and bears some resemblance to that of Francis E. Dec, Esq.

Comment Re: What is this I don't even (Score 1) 268

I don't think it's a particular direction; the point is more that the distortion behaves like a normal physical object in that it can be rotated by someone picking it up and moving it. Some other phenomena like electron clouds only exhibit measurable orientations in the presence of other charged particles.

Comment Re: Sweet (Score 1) 286

It's a little more nuanced than that; I'm im scientific computing, so I have the luxury of wasting months of my life hammering out memory leaks in the pursuit of tighter code. I'd be using pure C if I didn't absolutely need classes and operator overloading.

But immediately after I posted that comment, other posts on this story convinced me to give modern C++, particularly the C++11 changes, another look. So don't worry yet...

As for the with keyword: this is an entirely separate grievance I have from a language design perspective. The syntax they chose is very illegible and breaks pace with what is probably the most sacred construct in any curly-bracket language aside from an empty scope. In no other language that I know of can you find code between the "if" keyword and its corresponding expression. Maybe "with" is the wrong choice of a keyword for C++'s situation, but the pattern of using a separate phrase like that is definitely the right overall structure. Stuff like that doesn't make the language more complex, in my opinion, particularly as it's something an unfamiliar reader should easily be able to intuit.

Comment Re: Sweet (Score 1) 286

My personal approach to using C++ has always been to use mostly C with basic involvement of C++ classes and relatively little else. I tend to think that any programmer with both Java and C experience should be able to read the code, memory management aside. (I rarely even use iterators or templates.) There's no real need to engage with all the innovation/creativity/alcoholism that's been added in more recently, at least not for my work, and I think using such a restrained and archaic style will probably be ideal for maintainability (including on ancient compilers from obscure vendors). Maybe if you look at C++ as less of an obligation and more of a landfill full of broken dreams, you'll find it less chafing.

For example, I'm terrified of the if initializers that the summary links to, and would have strongly preferred the with() syntax. I can't imagine a bigger problem for code legibility than sticking declarations inside of what people universally trust as the simplest case of expression evaluation. The logic for rejecting with() is perfect, too: "That would require teaching a new keyword and thereby reveal our design is bad."

Comment Re: Sweet (Score 2) 286

You mean "(You". ... The hyphen has, tragically, been vanishing from American English stylebooks for decades, driven by a desire for minimalism. This usually results in something harder to read, but as long as the compound can lose the hyphen without creating genuine ambiguity ("Nice-ass car!") then it's considered fair game. Obvious exceptions include but are not limited to ranges and constitutive compounds like the Banach–Tarsky paradox, both of which are correctly written with en dashes anyway. Unrelatedly, excessive hyphenation is a great way to spot a German.

Slashdot Top Deals

There are two kinds of egotists: 1) Those who admit it 2) The rest of us