Forgot your password?
typodupeerror

Comment Re:A semantic quibble about these things (rant?) (Score 1) 461

On the other hand it is possible that this element is produced in some heavy mass stars, and even though it has a short life it is produced enough to call it an existing element.

I for one am surprised for instance that free standing neutrons have only a half-life of 15 minutes, even though it is stable when bound in a nucleus.

Perhaps element 112 could be stable when chemically bound to other elements? Not that I am any expert on this matter, just thinking out aloud.

Comment Re:Forgive my ignorance WAS:re: Garbage collector? (Score 1) 587

And there you have one of the most badly handled aspects in C++/C and similar languages: object ownership. You have to handle it yourself. This gives result to either double deallocation, or failure to deallocate. Of course if you keep everything localized, and/or use smart pointer classes, this alleviates the problem. But even so this gives rise to weirdo situations and some weirdo programming constructs that are hard to fathom for some people of average programming capabilities.

Now to say that garbage collection rules out all memory leaking, is also not true. There will always be unmanaged resources (meaning not managed by the environment), or external resources, that you need to deallocate or release yourself. For instance if you need aligned memory blocks for IO or DMA, you still need to defer to OS libraries that are often C++/C based, and those give you pointers to memory instead of references. Another thing is forgetting to dereference objects. Other times you have to defer to environment constructs that in themselves might lead to memory loss due to badly written software.

That coupled with the fact that programmers tend to think they are safe from memory loss in their garbarge collected environment, may result in memory loss that is never found because people think it doesn't happen. And then you have the programmers that didn't have any proper education... they will look at you if you explain all that as if you are a stupid arcane C++ era programmer, that needs to boast with his knowledge.

Java, .NET, they brought some good things to programming languages, but they also brought some bad programmers and bad programming to the business. Not all is roses and sunshine.

Slashdot Top Deals

The reward for working hard is more hard work.

Working...