If you think the only way anybody will ever view your code is in a "sane IDE", you are mistaken. Just because your current IDE can compensate for your bad formatting, that doesn't make your bad formatting a good practice.
I wonder how long you have been writing code, if you don't yet realize that sometimes aligning things vertically across several lines can increase clarity. If everybody gets to set their own indentation amounts (by changing tab width), then this benefit is lost. Tables were invented for a reason, and sometimes code is tabular. And if you think a tab character is how you get a table, you are sadly mistaken.
For example, having same-line comments start at column 60 (when possible) makes code easier to read. If you go changing the tab character to 4 spaces, that alignment is ruined.
Compare emacs with the shiny toys Jobs made and I think we see who comes out on top.
Way to cherry-pick facts to back up your bias. Compare GCC with the Lisa and see who comes out on top.
But now that I re-read your post, perhaps you were being ironic. Emacs was plainly more innovative than any of Apple's "shiny toys". Less popular, of course, but why would we nerds care about that?
For all of you logic-challenged commenters out there: saying bad things about RMS does not turn Jobs into a saint, no matter how much you wish it would.
Looking Glass's Terra Nova was a real diamond in the rough. Vast outdoor environments (in 1996!), weapon/armor/squadmate selections that actually mattered, jump jets, squadmate commands (that worked!), limited ammo, horrible acting. That game had it all. God, I still want to play it.
http://en.wikipedia.org/wiki/Terra_Nova:_Strike_Force_Centauri
"his main scientific ambition 'is to build an optimal scientist, then retire.' The Cognitive Robotics professor has worked..."
Woo hoo! The Robotic Cognitive Professor worked! Oh, wait...
The cool thing about this discussion is how it highlights the brilliance of our slashdotty community.
How many people here think "memcpy(dest, src, src_size)" is safe?
How many people here think "memcpy(dest, src, dest_size)" is safe?
They're both unsafe. memcpy_s() isn't much of an improvement, but at least it will overrun neither the source nor the destination (unless used very stupidly indeed).
Nobody seems to have mentioned the other problem with memcpy(), which is that it only works on untyped data. This is always dangerous and rarely required.
NPR had some coverage of this story too (http://www.npr.org/templates/story/story.php?storyId=102386952&ps=cprs). One lovely nugget from that: "It is not a crime to view the photos, [sheriff's spokesman Bill Maer] said, but it is illegal to download them".
Actually, spending ("throwing") money is stimulus when the economy has a demand shortage. If nobody is buying anything, then nobody will have a job. So the government steps up and buys stuff. It almost doesn't matter WHAT they spend it on, as long as it gets spent. It's impossible for spent money to not stimulate the economy, because the economy is the sum of spending.
Now, let's quibble about how much to spend and how best to spend it.
I should learn to stop being amazed when people say "I don't understand it, so it (not me) must be stupid". Slashdot has really gone down hill in the last few years...
If your code style calls for spaces, do not insert a tab instead. It's annoying, and you break the indentation that everyone has agreed on.
It's a standard, whether you like it, or know about it, or not.
If you think the only way anybody will ever view your code is in a "sane IDE", you are mistaken. Just because your current IDE can compensate for your bad formatting, that doesn't make your bad formatting a good practice.
I wonder how long you have been writing code, if you don't yet realize that sometimes aligning things vertically across several lines can increase clarity. If everybody gets to set their own indentation amounts (by changing tab width), then this benefit is lost. Tables were invented for a reason, and sometimes code is tabular. And if you think a tab character is how you get a table, you are sadly mistaken.
For example, having same-line comments start at column 60 (when possible) makes code easier to read. If you go changing the tab character to 4 spaces, that alignment is ruined.
Also a reason for not using proportional fonts.
Wow, I know a lot of AI researchers who are going to be pretty pissed off that these materials scientists scooped them.
Has it passed the Turing test yet?
Compare emacs with the shiny toys Jobs made and I think we see who comes out on top.
Way to cherry-pick facts to back up your bias. Compare GCC with the Lisa and see who comes out on top.
But now that I re-read your post, perhaps you were being ironic. Emacs was plainly more innovative than any of Apple's "shiny toys". Less popular, of course, but why would we nerds care about that?
For all of you logic-challenged commenters out there: saying bad things about RMS does not turn Jobs into a saint, no matter how much you wish it would.
Slashdot's icon for a bug is a picture of a beetle? I thought this was news for NERDS.
http://en.wikipedia.org/wiki/Hemiptera
I'm so glad that other states are doing this kind of experiment on their children. Future generations will thank them for the empirical evidence.
What I can't figure out is how they got this past the IRB.
It isn't a robot, it's a waldo. It didn't wake, it was turned on.
I thought this was "news for nerds", not "puff for plebes".
This got +5 insightful?? I see nothing but opinions based on two fundamental misconceptions:
1) Editing C# in a GUI editor means you are "programming in a GUI"
2) CLI == vt100
Looking Glass's Terra Nova was a real diamond in the rough. Vast outdoor environments (in 1996!), weapon/armor/squadmate selections that actually mattered, jump jets, squadmate commands (that worked!), limited ammo, horrible acting. That game had it all. God, I still want to play it. http://en.wikipedia.org/wiki/Terra_Nova:_Strike_Force_Centauri
It's a Waldo, not a robot.
I'm just sitting here, waiting for this discussion to get sidetracked onto the question of "is AGW true?" like it did on the NPR site.
"his main scientific ambition 'is to build an optimal scientist, then retire.' The Cognitive Robotics professor has worked ..."
Woo hoo! The Robotic Cognitive Professor worked! Oh, wait...
Nobody seems to have mentioned the other problem with memcpy(), which is that it only works on untyped data. This is always dangerous and rarely required.
NPR had some coverage of this story too (http://www.npr.org/templates/story/story.php?storyId=102386952&ps=cprs). One lovely nugget from that: "It is not a crime to view the photos, [sheriff's spokesman Bill Maer] said, but it is illegal to download them".
When did "optic" become a noun?
P.S. Why are you still on my lawn?
The fact that the sample is a very small fraction of the total population does not make it meaningless.
It may be meaningless for OTHER reasons of course...
I never got in trouble as a kid. but then I was aware of my location and had a scanner in my pocket with a earphone in all the time.
Wow. Just seriously paranoid, or did you commit lots of crimes?
(2) Academic lawyers generally have a slanted view on the world
As opposed to ACs?
Actually, spending ("throwing") money is stimulus when the economy has a demand shortage. If nobody is buying anything, then nobody will have a job. So the government steps up and buys stuff. It almost doesn't matter WHAT they spend it on, as long as it gets spent. It's impossible for spent money to not stimulate the economy, because the economy is the sum of spending.
Now, let's quibble about how much to spend and how best to spend it.
It's not "whining" to resist change. All changes have a cost, measurable or not. Pretending they don't makes you look foolish.
I should learn to stop being amazed when people say "I don't understand it, so it (not me) must be stupid". Slashdot has really gone down hill in the last few years...
Oh, yeah, like anybody is going to follow a tinyurl link from /..