Follow Slashdot stories on Twitter

 



Forgot your password?
typodupeerror
×

Comment P not needed (Score 0) 127

With Microsoft's P language, Not Invented Here has clearly struck again. From their own documentation and examples, P doesn't support state nesting, which is the most powerful feature that UML statecharts have--and statecharts have had it since their inception (Harel, 1988). Skip P, and go for an open-source implementation of UML statecharts. Check out Boost's implementation, or this free one here: A Lightweight Implementation of UML Statecharts

Comment More engineering than art?? (Score 0) 212

If you think programming is far more engineering than art, then you must be in a highly structured environment, program for the DoD, etc. Out here in the real world, people around me code without a shred of design work or planning of any sort. They just sit down and start typing...whatever organically evolves is what happens. Code is created with no foresight at all. I wish it were more engineering than art, though. Sad to see all the effort wasted so often.

As actually practiced, it should be called a craft, rather than art or engineering. And most developers I watch are quite Amish.

Comment Re:As Simple As Possible, No Simpler (Score 0) 876

In all fairness, UML wasn't meant to express things like individual "for" loops. It's utility is at a much higher level. However, some of its formalisms, such as class diagrams and statecharts are very much one-to-one with actual code. (See this http://www.codeproject.com/Art... for an example.)

And if you need any more reasons to understand why graphical languages didn't make it, just consider the fact that most of the silly icons had a text window behind them where you could put specific text, even short scripts. Why was that needed if graphical programming was so complete? Just like CASE tools and object databases, graphical programming was just an attempt by vendors to shake some more money loose from unsuspecting clients.

Comment Arnold Toynbee had it 60 years ago. (Score 0) 926

If you're looking for a deeper explanation that goes beyond the "they're all pussies now" kind, read Arnold Toynbee's A Study of History. (Or read the D. C. Somervell abridgement...it's a lot shorter.) Toynbee was amazingly prescient, and if you adjust for a few factors, his cyclical view of history is rolling along as predicted for the U.S. and the West in general.

Where his view needs some adjustment is in two areas: Today, the largest nations can project their militaries anywhere on the globe at the push of a button. This alters how cultures behave at their boundaries. Now that our world is fully divvied up, borders don't shift like the tides. Secondly, with the internet and global media, ideas spread at light speed around the planet. So good ideas and bad alike spread very quickly. But America and the West are a visionless bunch to whom the rest of the world no longer looks for leadership. And we're clearly in decline.

Comment Re:Personalization (Score 0) 507

Sounds like you're saying that as our medical futures become more transparent, each of us is going to have to bear the burden individually for our own health. That sounds a lot like the rugged individualism and personal responsibility angle that everyone here has been bashing...

After all, the demand for health care is potentially infinite, whereas the amount of wealth we have is finite.

Comment Less violent now? (Score 0) 478

Really? You'd think that if you read Pinker's book on the decline of violence, but not if you re-examine his statistics. By examining only the worst events in a particular period, he provides a skewed view of the risk of death by violence. Much better to consider the probability of dying by all violent causes in a particular year/century. Given that some major atrocities in centuries past were exaggerated, it's likely that the 20th century is at least the second and possibly the most violent in the last 2K years. (And killing only gets more efficient with time and technology...)

http://www.edge.org/3rd_culture/MC11slides/sp-Slide039a.JPEG
http://www.nytimes.com/imagepages/2011/11/06/opinion/06atrocities_timeline.html?ref=sunday

Comment No, it's about the fun. (Score 0) 479

You've missed it. Things get re-invented every generation because doing so is where the fun is. Simply tying together primitives written by somebody else sucks all the fun out of the whole process. No matter that they'd be done 10x as soon. Programming is supposed to be fun, and nothing, not even common sense, is going to remove that fun.

I've known so many programmers that had working components at their fingertips that could do everything they needed, but wanted to do it themselves so the code would be *theirs*, and not somebody else's.

Comment Re:Not acceptable? (Score 0) 1501

Slavery works. Human experimentation works. Spying on every citizen in the country works.

This. If your only guide is simple expediency, then we are all in a heap of trouble because you can justify absolutely anything with enough selfishness. There's a very thin layer of civility separating us from the rest of the animals. It took us a long time to develop it. Some of us think it's a good thing that we've risen above the rest of animals. Let's not intentionally scrape that layer off.

Or to approach this from a less abstract angle: psychological studies show no correlation between how assertive someone is and how correct they are about what they think. Being able to win a verbal argument says nothing about one's technical abilities. No correlation at all. So for all of you out there with a strong resemblance to the north end of a southbound horse, you got nothing on the rest of us but your ability to be abusive.

Comment Past wisdom (Score 0) 297

"No software project plan ever survives contact with reality." - Helmuth von Moltke the Elder, paraphrased.

"It's not the known things that get you, or the known unknowns, it's the unknown unknowns." -- heavily paraphrased from Donald Rumsfeld

Just a little wisdom from a related field...although many days it feels like they're the same thing...

Comment Re:FORTH (Score 1) 704

Oh not again. When will we let that language die??!!??

I programmed in it for 6 years right out of college because the employer was desperate for anyone who didn't value their career too highly. I was only saved from it because I had C experience in school. It might have been a good scripting language if only people thought in RPN, but alas, we don't. One of the worst languages I've ever used, right down there with T-SQL and 4-D.

Comment Re:Article summary: "I am a Mac fanboi" (Score 1) 704

It's not an accident that "computer science" looks forward. It's because people like to program, and a significant part of the enjoyment of programming is doing everything from scratch. I've met people who will turn their noses up at existing code in favor of writing everything from scratch, because "that's where the fun is".

So yes, we too hate studying the history of old applications because then we'd be forced to admit that it has been done before, and probably better than we could have done it. And then where would the fun be?

NIH ("not invented here") is a huge part of why software engineering is still stuck in the cottage industry stage...

Comment Re:Stupid buzz words (Score 1) 265

Kuhn's focus is pretty outdated now. Until someone comes along and really exposes the effects of grants and funding, industry versus gov't research, publish-or-perish, groupthink, tenure, hard versus soft sciences, science foundations, career/income pressures on scientists, and so on, they won't fully understand science in postmodern times.

Just read /. comments from scientists over the years. They confirm the huge effect these things have on the progress of science.

Comment Re:You don't (Score 1) 683

Been around long enough to know that the "best" code is what your superiors expect you to produce at that particular moment. It may need to be one or more of the following: {fast (in running speed), quick to produce, high quality in terms of having few bugs, easy to understand, easy to extend, compliant with a particular standard or standards (coding, security, etc.)}, and probably a dozen more such factors. You cannot optimize very many of these at the same time.

What really stinks is that if your boss or co-workers are out to get you, software is so subjective that they can always fault you for one of the above factors that you didn't optimize for.

Oh, and you'll never get people to understand the above, to be able to use it in your own defense...

Slashdot Top Deals

It's a naive, domestic operating system without any breeding, but I think you'll be amused by its presumption.

Working...