|
Bertrand gets on his high horse again! He won't get people to use Eiffel by slagging off C languages. It will just make them defensive.
Eiffel is a well-designed language but it's not perfect. Nothing is. He also knows it's not perfect as it's always being extended, just like everything else.
Kevin
|
|
|
|
|
Kent Sharkey wrote: "If someone claims to have the perfect programming language, he is either a fool or a salesman or both."
Or worse, promoting Plain English.
Did you ever see history portrayed as an old man with a wise brow and pulseless heart, waging all things in the balance of reason?
Is not rather the genius of history like an eternal, imploring maiden, full of fire, with a burning heart and flaming soul, humanly warm and humanly beautiful?
--Zachris Topelius
Training a telescope on one’s own belly button will only reveal lint. You like that? You go right on staring at it. I prefer looking at galaxies.
-- Sarah Hoyt
|
|
|
|
|
Not sure why, but I kind of miss him.
TTFN - Kent
|
|
|
|
|
That was the guy who claimed to have a plain English programming language but would never show us any code right?
Kevin
|
|
|
|
|
Yup
Did you ever see history portrayed as an old man with a wise brow and pulseless heart, waging all things in the balance of reason?
Is not rather the genius of history like an eternal, imploring maiden, full of fire, with a burning heart and flaming soul, humanly warm and humanly beautiful?
--Zachris Topelius
Training a telescope on one’s own belly button will only reveal lint. You like that? You go right on staring at it. I prefer looking at galaxies.
-- Sarah Hoyt
|
|
|
|
|
I'm sure I saw something like that in the responses to this weeks survey.
"If you don't fail at least 90 percent of the time, you're not aiming high enough."
Alan Kay.
|
|
|
|
|
Wouldn't surprise me. It's not as meta as CListCtrl or Bacon but the survey'd be a perfect opportunity to snark it.
Did you ever see history portrayed as an old man with a wise brow and pulseless heart, waging all things in the balance of reason?
Is not rather the genius of history like an eternal, imploring maiden, full of fire, with a burning heart and flaming soul, humanly warm and humanly beautiful?
--Zachris Topelius
Training a telescope on one’s own belly button will only reveal lint. You like that? You go right on staring at it. I prefer looking at galaxies.
-- Sarah Hoyt
|
|
|
|
|
His goto example illustrates a rule that I have been steadfastly applying since my 20's, when an associate (who was doing a lot of Fortran programming) told be, always put begin/end (or whatever the equivalent is, in c-languages its {}) around your if statements, even if you're only executing one line of code. Saved my butt a few times.
However, it's also the fault of the compiler, in my opinion, for not emitting an "unreachable code" warning. Of course, the doofus programmer probably has warnings disabled.
Marc
|
|
|
|
|
Could be that previous doofus's generated so much cruft that the warning list is uselessly bloated.
I've recently started updating an old C# project that was mostly written between 2004 and 07 in .net 1.1; and after getting most of the auto-generated classes ignored clearing out most of the low level noise items, I've got ~1000 items on my Resharper suggestion list. Most're probably still noise, because the code's been in production long enough that if they were real problems they'd've triggered bug reports by now, but they're things that require a modicum of thought/analysis on my part instead of being able to just click the fix-it button and move on.
Did you ever see history portrayed as an old man with a wise brow and pulseless heart, waging all things in the balance of reason?
Is not rather the genius of history like an eternal, imploring maiden, full of fire, with a burning heart and flaming soul, humanly warm and humanly beautiful?
--Zachris Topelius
Training a telescope on one’s own belly button will only reveal lint. You like that? You go right on staring at it. I prefer looking at galaxies.
-- Sarah Hoyt
|
|
|
|
|
Dan Neely wrote: I've got ~1000 items on my Resharper suggestion list.
I never found Resharper's suggestion list (or, what was the other thing called that was commonly used?) to be useful at all. Someone once said it's worth taking the time to configure ReSharper, but I just tossed the whole thing -- seemed like too much bloat.
What's your experience? Useful?
Marc
|
|
|
|
|
It's like turning your warning level up to 11. It does call out some risky stuff that should be fixed; but the noise level tends to be really high. (I've been told MS's fxCop has the same issues out of the box.) The biggest change I'd like to make would be to expand the groups it categorizes in from 2 to 3. Currently it splits things into warnings and suggestions. The latter is things like "you can turn this loop into a LINQ statement" or "you can replace this if/else with an ?? operator". The problem is that the warnings group includes both things that are dangerous like "exact equality check with floating point variables" and various coding style/standard items like "change property name from 'fooBar' to 'FooBar'". The two types of items are really different things, and need to be easier to tell apart.
I've only turned off a handful of rules related to things like var usage; because R#er's options are only really useful if you want to go all or nothing, which I don't. var index = 0; is stupidly obfuscatory. IDictionary<int,string> lookupTable = new Dictionary<int, string>(); can get tediously verbose and declaring them as var doesn't actually lose any information. Temporary structures created by linq queries can get outright horrifying if you need to explicitly type them; especially since the inability to step through a set of chained methods one at a time means that I often will split a complex structure into multiple lines with temp results just to be able to debug it even though I don't care what the intermediate results look like and can involve two or three levels of IWhatever<> before being condensed back to something sane looking at the end. If R#er ever gets smart enough to tell those 3 cases apart I'd probably set them as don't use var, don't comment either way, and use var; but currently shutup always is the only reasonable way to get rid of the noise.
Did you ever see history portrayed as an old man with a wise brow and pulseless heart, waging all things in the balance of reason?
Is not rather the genius of history like an eternal, imploring maiden, full of fire, with a burning heart and flaming soul, humanly warm and humanly beautiful?
--Zachris Topelius
Training a telescope on one’s own belly button will only reveal lint. You like that? You go right on staring at it. I prefer looking at galaxies.
-- Sarah Hoyt
|
|
|
|
|
Dan Neely wrote: It's like turning your warning level up to 11.
Interesting example. I appreciate you taking the time to write that up. I think, after reading that, I'll stay away from RS for the moment. Ah yes, fxCop -- never did take a liking to that either. I think you bring up a really good point -- something like RS should highly configurable, not just 2 categories, etc.
Marc
|
|
|
|
|
You can turn individual items on/off or move them between groups and the inspection results list can be grouped by warning type to make finding all the high priority items easy. Even if you turn off the improvement suggestion feature off entirely instead of just turning off most/all of what it reports because you don't care, the enhanced refactoring tools are worth the price of entry IMO.
Did you ever see history portrayed as an old man with a wise brow and pulseless heart, waging all things in the balance of reason?
Is not rather the genius of history like an eternal, imploring maiden, full of fire, with a burning heart and flaming soul, humanly warm and humanly beautiful?
--Zachris Topelius
Training a telescope on one’s own belly button will only reveal lint. You like that? You go right on staring at it. I prefer looking at galaxies.
-- Sarah Hoyt
|
|
|
|
|
JavaScript on the JVM is better and faster but not always friendlier with Nashorn, the rebuilt JavaScript interpreter. Why leave the JVM? It's warm and cosy.
|
|
|
|
|
Matias Duarte, Head of Design at Android, has recently held an interview on software design during Accel Design Conference 2014 underlining the need for a shift in software design approach from separate apps made for different devices to one app for multiple screens. "Then you will see that it is not the spoon that bends, it is only yourself."
|
|
|
|
|
The Internet of Things will add so much programmability to devices that keeping software current will become a never-ending task. Just put a brick on the F5 key
|
|
|
|
|
Kent Sharkey wrote: Just put a brick on the F5 key We're not animals, let's write a tool that does the job
|
|
|
|
|
With several states and municipalities considering various mandatory “kill-switch” laws for mobile devices, the wireless industry announced a voluntary commitment to include new anti-theft technology on phones starting next year. "This tape will self-destruct in five seconds. Good luck, Jim."
|
|
|
|
|
Voluntary my ass. If it weren't for the flood of various pending kill-switch legislation, the carriers would never allow such functionality, even though several cell phone makers have had it available for over a year. Why? Because it cuts into a major portion of the carrier's revenue.
The carriers saw the writing on the wall and "decided" to go with the flood and also to avoid some negative PR.
If your actions inspire others to dream more, learn more, do more and become more, you are a leader.-John Q. Adams You must accept one of two basic premises: Either we are alone in the universe, or we are not alone in the universe. And either way, the implications are staggering.-Wernher von Braun Only two things are infinite, the universe and human stupidity, and I'm not sure about the former.-Albert Einstein
|
|
|
|
|
Definitely. One big rule of marketing: if you see something about to roll over you, raise the banner and claim it was you all along.
TTFN - Kent
|
|
|
|
|
Hm.... "remotely wipe data": that will be a great toy for hackers.
|
|
|
|
|
Scientists from the U.S. Naval Research Laboratory (NRL) have demonstrated significant progress in their novel gas-to-liquid process, which simultaneously recovers carbon dioxide and hydrogen from seawater, and report that it can produce a fuel-like hydrocarbon liquid which may eventually offer a renewable replacement for petroleum based fuel in jet engines. CO2 + H2 (+ Magic) = Jet Fuel
|
|
|
|
|
For magic, read energy...
Obviously energy will be required as an input to drive the system, and currently this energy is going to come from fossil fuels.
Read more at http://www.iflscience.com/technology/using-seawater-create-jet-fuel#LOTDpeee3Q5riguK.99
Actually, this energy will probably come from the nuclear reactors on the aircraft carriers.
|
|
|
|
|
But aren't nuclear reactors just magic (all sparkles and pixie dust)?
Yeah, nuclear reactors are the most likely power source. Hopefully they can get this scaled up - it might provide a broader, more carbon-neutral energy solution.
Was your quote formatted using the C# format? Cute to see the random blue words.
TTFN - Kent
|
|
|
|
|
*Checks Source*
He used SQL. Or, more likely, CodeProject used SQL when pasting.
What do you get when you cross a joke with a rhetorical question?
|
|
|
|