Slashdot is powered by your submissions, so send in your scoop

 



Forgot your password?
typodupeerror
×

Comment Re:Do most of the work? (Score 1) 443

I think I don't do it often because I usually set out with a naming scheme and architecture before I start coding. A name is used because it's the right name under the naming scheme.

It's nothing to do with the editor.

Then again, I'm not often incorporating my code with other people's code. I'm usually creating original code to implement some crypto protocol or algorithm I'm developing, or to analyze data. If I was bringing in multiple name spaces from other places, I can see why I might want to prefix them to keep them separate. If I'm using python, it's not a problem. It does namespace separation well. If I'm using C, it's for performance or reference code, so again, it's not an issue.

Comment Re:Do most of the work? (Score 1) 443

Exactly. If you've never renamed a function in your life - then go ahead and code with an 'editor' alone. Otherwise pick a good IDE and enjoy the time you're not spending doing a search and replace.

I don't remember globally renaming a function in recent years. I often split or merge functions - two functions into one more general one, or one function into two more specific ones. This tends to require examining each case. So the search/replace activity isn't a large part of the whole.

Comment Re:Not impressed (Score 1) 287

I see an analogy to the airline industry which is going through entertainment changes right now.

They're accepting that the screen-in-the-back-of-the-seat can't compete with users own devices. So they're ripping them out and installing locally streamed content over wifi. This is a good thing. Car manufacturers could learn something from this.

Comment Re:The Author Never Owned a Car (Score 1) 287

My truck was actually new from the dealership. It's pretty feature-free, mostly because I really wanted a manual transmission, and they don't include features and manual transmissions in the same truck at the same time.

Ditto the Mazda 5 circa 2009. We could have one of many options with an automatic transmission, or the manual car. There was one manual car, one colour, one feature set. We got the manual car.

Comment Re:Ignores the hardware (Score 1) 287

>learning how to do the processes needed to attain that level of reliability for decades

Why is it then, that when I look at the electronics in a car, it appears to be optimized for cost rather than reliability? I've designed life critical electronics which must not fail. Car electronics looks nothing like that. I've designed cheap-ass cordless phones for indoors use that seem to have better water ingress resistance than car electronics intended for outdoors use.

My last vehicle was an F350 pickup truck. It stopped trucking one day when the fuel injection control module stopped doing what it does. Why was there not adequate overvoltage protection on the outputs to a reactive load?

Reliability certainly may be an aspect of car design, but when it comes to car electronics, it is subservient to cost at all times.

Comment Re:and dog eats tail (Score 1) 393

>The argument against PTC is that the cost of these fatalities is only a few million dollars each, and PTC would cost several billion dollars, so it's uneconomic. That's all there is to it.

A few billion? Give me the contract. For a few billion, I'll happily install a gps equipped microprocessor board into each train that gets periodic updates of speed limits at each location. It sounds like a 10's of millions to me. Mostly for the development of a reliable unit, rather than the deployment.

Slashdot Top Deals

Love may laugh at locksmiths, but he has a profound respect for money bags. -- Sidney Paternoster, "The Folly of the Wise"

Working...