A lot of coders just cover entire routines of code in t/c blocks because they don't really want to handle errors at all.
Ummm, I think that depends. If you enclose a code block with ~some~ exception handling, you obviously know there is a possibility for a problem. Its what you do with that exception that separates the coders from the slackers. Also, when coding an API, there's little more appropriate than using a "throws" clause, it should be up to the caller to deal with raised exceptions as it sees fit.
That said, exceptions are so expensive I tend to favor return codes in speed-sensitive code and turn off exception handling if the compiler allows it.
C++ is like tinkering with a loaded gun; the possibility of shooting yourself in the head is ever present, yet if you are a skilled marksman, you can actually hit a bulls' eye every time and if you are consistently safety conscious you will never shoot yourself in the head. PHP is like trying to hit a bulls' eye with a water hose. Sure, you can so it, but you are going to get water everywhere, no question, no matter how skilled you are.
I remember when I first took up PHP after probably 15 years of object oriented programming with C++ and Java, necessary for a project my employer at the time was putting together. I remember using a method, or whatever functions are called in PHP, call it "doSomething()", and hoping the antithesis of that function was "undoSomething()". but the corollary method was "dontDo_something()", and I remember thinking right then "who the fuck creates a language like this."
Right or wrong my feelings regarding PHP have been skewed ever since, and as I've had to use it for other employers and contracts I keep uncovering more and more about the language I find distasteful. PHP 5 with its so-called object oriented architecture is an idiot retard baby in OOP clothing. Clothing that drapes loosely about the loins and doesn't really pass off as OOP at even a casual glance. The very notion that it can be truly OOP is ridiculous when you realize its a one-pass request-response scripting language at its core as it works with http as its backbone, its a glom on to the http protocol.
You want a little utility to do some simple tasks, even some simple db processing and some session control, sure, PHP can be used in a pinch. Except by me. Never use it unless I am told to.
In defense of PHP, Python and Ruby suck in their own ways too...
That's like saying "In defense of a knife to the eye, cheesecake and ice cream have their own drawbacks."
I'm glad some one else will say what I've always said, PHP is a three-headed Satan baby. When the seventh seal was broken and the seventh trumpet sounded, PHP leaped out of the womb and ate its mother, the whore of Babylon.
Actually, now that I think about it, this particular book comes with 3.0 USB... I can put a bunch of windows and other images on a 1 TB USB 3.0 drive and not skip a beat. Nice...
Yeah, more companies are starting to "in source". Fucking hideous, stupid, useless, meaningless, nonsense term. Its called "Made in the USA", stop acting like that's a bad word (or phrase). This is good news though. Apparently the capitolization of Asia was a great success.
I agree, Microsoft gets trashed when they are innovative, and when they steal. Nevertheless, you can't make people ike your product. I anticipate buying a new ultrabook in the next month, it'll come with windows 7, but it'll be running Linux Mint a few hours after I get my hands on it. I have no plans to run Windows 8 right now, or ever. Only way that will change is if I'm forced to.
I'm right on the cusp of the baby boomer gen (on the younger side), I'm turning 50 in 4 months, so I'm just entering into this era of my life. I have to say that either I'm not in the norm OR I being an IT professional has helped OR I'm just a jaded old fart because I've certainly grown much more cynical of other people and institutions, not less. Last 419 email I got (its been a while) I fucked with the guy. I understand that old scam still traps a lot of older folk.
"America's so selfish nowadays it doesn't deserve children."
No. Quite simply, no. Let add a hand slap as well.
Number 1 in foreign aid? The United States. Most expensive place to live? The United States is certainly up there, it costs much more to live here than in Poland, one of the countries I have recently visited. Yet, one comment I hear time and time again from new brides, I've had occasion to meet a few over the last few months, is the number of children they want. American families have many pressures on them right now, given the economy, 90% of the earners are both parents, so there are childcare costs, healthcare is still a mess regardless of what you hear the Obama boosters yelling, prices are rising, 60 hour work weeks are not unheard of, and YET these people still have the wherewithal to give away millions in charitable aid both domestically and abroad. And you're painting them as selfish? You're a goddamn idiot.
Seriously? Never mind that school is an empirically-based system of analysis and study, evolution isn't a belief system but based on empirical evidence and Christianity is only based on faith, is not based on ANY empirical analysis; nearly 1/5th of the population of the earth is comprised of fervent Hindus. If the criteria for a program of study in schools are the number of adherents it has, then Hinduism surely should be taught as a scholarly "choice" as well.
Actually, we already have schools that teach ob subjects of faith, philosophy, and belief, they're called CHURCHES, and evolution should be left there.
Germany had plenty of colonial territory in Africa. That wasn't the problem. For a real mind trip do research on the battle of Sudan in the 1870's and how that coloured France's attitude in the treaty of Versailles, and in turn created the atmosphere that allowed Hitler to thrive. Then read about Vietnam and Dien Bien Phu. Its really interesting how French attitude really is a catalyst for a lot of the evil that has happened in the last 150 years.
What about France, Portugal, Belgium, UK, and on and on that just decided to carve up land and people and force them to like it??
Would never have happened, none of those countries had the political will or ability to do any of those things. Try to bare in mind I'm not describing what's morally right, just what the actual reality of the situation was. I would put forth that had the US not acted as it did, most of Europe would be under Soviet domination now. The US didn't create Stalin,the Russian Empire did.
No. You're confusing the willingness to arbitrarily use power in service of one's own goals with the right to do so, which can only come from consent of the governed, which the US most assuredly did not get from Iranians, or pretty much anyone else it has interfered with.
Please stop doing that.
No. Your confusing national will with the reality of the geopolitical situation, which to a certain extent is dictated by the reality of the situation, not the players, per se.
Please stop doing that.
For example, what would have been the real outcome of Neville Chamberlain's claim that he had obtained "Peace in our time" if he had instead proclaimed "Hitler is a rabid mongrel bent on world destruction?" A world war that had started a year earlier. In other words, the same outcome.
Last couple of laptops I've purchased didn't seem to give me the option to opt out of the license, seemed like they just came on and wanted me to set up my user space info. SO- in one case I just wiped the drive and installed linux, I assume I paid the ransom. In another case I went ahead and used the pre-installed windows os (Xp at that time I think) for a bit until I got so annoyed I had to install Linux. In either case I wasn't presented with a EULA. In those cases how do you get your money back, assuming you paid the ransom for an unwanted windows installation? Is use of the os, even if under 30 days, implicate acceptance of the EULA and license?
It was only a deadly cold war in the eyes of the paranoid retard leaders in the US and USSR.
You seem to believe that the cold war could have been avoided had the US (and I supose the USSR) "done things differently"? Of course. But you types seem to be perfectly happy to rest the fault of that era soley on a very simplistic view of the world at that time. And it is, but to colour the US as wholly or mostly complicate is to completely misunderstand the cold war and how it started. The Cold War is completely and wholly the fault of one Soviet leader, Joseph Stalin. His meglo paranoia led him to slaughter whole regions of his own country, swallow up whole countries out of eastern europe, and start fucking with other countries' politics behind the scenes. If you look at the stance and shape of eastern europe right after WWII its most obviously the stance of a defendable fortress whose enemy is directly from the west. This is the construction of an increadibly paranoid mind that controls the entire economy of the east. As proof I offer history as well as the outcome of the cuban missle crisis. Can you imagine the soviet ships turning back had Stalin still been in power? The cold war for the west was a response to a very diseased, paranoid mind armed with nukes, that's all. The US is not blameless, but less blameful than you seem to think.
They do what they do in with the purpose of discrediting Christianity.
Unnecessary, since Xtianity discredits itself quite well on its own.
I think Shuttleworth would reply "We're not killing Linux, we're taking it into the next century."
Some may ask why he's acting like a paranoiac. I'm guessin' the last 10 years of constant meth use...
A lot of coders just cover entire routines of code in t/c blocks because they don't really want to handle errors at all.
Ummm, I think that depends. If you enclose a code block with ~some~ exception handling, you obviously know there is a possibility for a problem. Its what you do with that exception that separates the coders from the slackers. Also, when coding an API, there's little more appropriate than using a "throws" clause, it should be up to the caller to deal with raised exceptions as it sees fit.
That said, exceptions are so expensive I tend to favor return codes in speed-sensitive code and turn off exception handling if the compiler allows it.
errno is just a return code in other clothing.
C++ is like tinkering with a loaded gun; the possibility of shooting yourself in the head is ever present, yet if you are a skilled marksman, you can actually hit a bulls' eye every time and if you are consistently safety conscious you will never shoot yourself in the head. PHP is like trying to hit a bulls' eye with a water hose. Sure, you can so it, but you are going to get water everywhere, no question, no matter how skilled you are.
I remember when I first took up PHP after probably 15 years of object oriented programming with C++ and Java, necessary for a project my employer at the time was putting together. I remember using a method, or whatever functions are called in PHP, call it "doSomething()", and hoping the antithesis of that function was "undoSomething()". but the corollary method was "dontDo_something()", and I remember thinking right then "who the fuck creates a language like this."
Right or wrong my feelings regarding PHP have been skewed ever since, and as I've had to use it for other employers and contracts I keep uncovering more and more about the language I find distasteful. PHP 5 with its so-called object oriented architecture is an idiot retard baby in OOP clothing. Clothing that drapes loosely about the loins and doesn't really pass off as OOP at even a casual glance. The very notion that it can be truly OOP is ridiculous when you realize its a one-pass request-response scripting language at its core as it works with http as its backbone, its a glom on to the http protocol.
You want a little utility to do some simple tasks, even some simple db processing and some session control, sure, PHP can be used in a pinch. Except by me. Never use it unless I am told to.
In defense of PHP, Python and Ruby suck in their own ways too...
That's like saying "In defense of a knife to the eye, cheesecake and ice cream have their own drawbacks."
I'm glad some one else will say what I've always said, PHP is a three-headed Satan baby. When the seventh seal was broken and the seventh trumpet sounded, PHP leaped out of the womb and ate its mother, the whore of Babylon.
Actually, now that I think about it, this particular book comes with 3.0 USB... I can put a bunch of windows and other images on a 1 TB USB 3.0 drive and not skip a beat. Nice...
Yep!
Yeah, more companies are starting to "in source". Fucking hideous, stupid, useless, meaningless, nonsense term. Its called "Made in the USA", stop acting like that's a bad word (or phrase). This is good news though. Apparently the capitolization of Asia was a great success.
I agree, Microsoft gets trashed when they are innovative, and when they steal. Nevertheless, you can't make people ike your product. I anticipate buying a new ultrabook in the next month, it'll come with windows 7, but it'll be running Linux Mint a few hours after I get my hands on it. I have no plans to run Windows 8 right now, or ever. Only way that will change is if I'm forced to.
Android is definitely the worst of all tablet UIs.
Interesting. I just got a Nexus 7 and love it. One man's pearls and all that.
Im not sure why but its a big thing for them to bash on and hate the UN...
Implying you think the UN is a good thing? Holy christ... who knew one person out in the wild thinks that...
I'm right on the cusp of the baby boomer gen (on the younger side), I'm turning 50 in 4 months, so I'm just entering into this era of my life. I have to say that either I'm not in the norm OR I being an IT professional has helped OR I'm just a jaded old fart because I've certainly grown much more cynical of other people and institutions, not less. Last 419 email I got (its been a while) I fucked with the guy. I understand that old scam still traps a lot of older folk.
Ok, now THAT was funny.
"America's so selfish nowadays it doesn't deserve children."
No. Quite simply, no. Let add a hand slap as well.
Number 1 in foreign aid? The United States. Most expensive place to live? The United States is certainly up there, it costs much more to live here than in Poland, one of the countries I have recently visited. Yet, one comment I hear time and time again from new brides, I've had occasion to meet a few over the last few months, is the number of children they want. American families have many pressures on them right now, given the economy, 90% of the earners are both parents, so there are childcare costs, healthcare is still a mess regardless of what you hear the Obama boosters yelling, prices are rising, 60 hour work weeks are not unheard of, and YET these people still have the wherewithal to give away millions in charitable aid both domestically and abroad. And you're painting them as selfish? You're a goddamn idiot.
Seriously? Never mind that school is an empirically-based system of analysis and study, evolution isn't a belief system but based on empirical evidence and Christianity is only based on faith, is not based on ANY empirical analysis; nearly 1/5th of the population of the earth is comprised of fervent Hindus. If the criteria for a program of study in schools are the number of adherents it has, then Hinduism surely should be taught as a scholarly "choice" as well.
Actually, we already have schools that teach ob subjects of faith, philosophy, and belief, they're called CHURCHES, and evolution should be left there.
My next device will be an ultrabook, I have no plans to buy a tablet and if I did it would probably be a Nexus 7.
This law is unreasonable, but it's still hard to have sympathy for the largest for-hire propaganda organization on earth...
Even if that were true (its not), what does this have to do with the main thread?
Germany had plenty of colonial territory in Africa. That wasn't the problem. For a real mind trip do research on the battle of Sudan in the 1870's and how that coloured France's attitude in the treaty of Versailles, and in turn created the atmosphere that allowed Hitler to thrive. Then read about Vietnam and Dien Bien Phu. Its really interesting how French attitude really is a catalyst for a lot of the evil that has happened in the last 150 years.
What about France, Portugal, Belgium, UK, and on and on that just decided to carve up land and people and force them to like it??
Would never have happened, none of those countries had the political will or ability to do any of those things. Try to bare in mind I'm not describing what's morally right, just what the actual reality of the situation was. I would put forth that had the US not acted as it did, most of Europe would be under Soviet domination now. The US didn't create Stalin,the Russian Empire did.
No. You're confusing the willingness to arbitrarily use power in service of one's own goals with the right to do so, which can only come from consent of the governed, which the US most assuredly did not get from Iranians, or pretty much anyone else it has interfered with. Please stop doing that.
No. Your confusing national will with the reality of the geopolitical situation, which to a certain extent is dictated by the reality of the situation, not the players, per se.
Please stop doing that.
For example, what would have been the real outcome of Neville Chamberlain's claim that he had obtained "Peace in our time" if he had instead proclaimed "Hitler is a rabid mongrel bent on world destruction?" A world war that had started a year earlier. In other words, the same outcome.
Last couple of laptops I've purchased didn't seem to give me the option to opt out of the license, seemed like they just came on and wanted me to set up my user space info. SO- in one case I just wiped the drive and installed linux, I assume I paid the ransom. In another case I went ahead and used the pre-installed windows os (Xp at that time I think) for a bit until I got so annoyed I had to install Linux. In either case I wasn't presented with a EULA. In those cases how do you get your money back, assuming you paid the ransom for an unwanted windows installation? Is use of the os, even if under 30 days, implicate acceptance of the EULA and license?
you have no damn clue what you're talking about
Oh? Well, enlighten me, oh scholar?
It was only a deadly cold war in the eyes of the paranoid retard leaders in the US and USSR.
You seem to believe that the cold war could have been avoided had the US (and I supose the USSR) "done things differently"? Of course. But you types seem to be perfectly happy to rest the fault of that era soley on a very simplistic view of the world at that time. And it is, but to colour the US as wholly or mostly complicate is to completely misunderstand the cold war and how it started.
The Cold War is completely and wholly the fault of one Soviet leader, Joseph Stalin. His meglo paranoia led him to slaughter whole regions of his own country, swallow up whole countries out of eastern europe, and start fucking with other countries' politics behind the scenes. If you look at the stance and shape of eastern europe right after WWII its most obviously the stance of a defendable fortress whose enemy is directly from the west. This is the construction of an increadibly paranoid mind that controls the entire economy of the east. As proof I offer history as well as the outcome of the cuban missle crisis. Can you imagine the soviet ships turning back had Stalin still been in power? The cold war for the west was a response to a very diseased, paranoid mind armed with nukes, that's all. The US is not blameless, but less blameful than you seem to think.