|
Kent Sharkey wrote: What will you do with all that extra storage? When in doubt, installing Windows 7.
Recursion: see Recursion.
|
|
|
|
|
Kent Sharkey wrote: What will you do with all that extra storage? Cache uncompressed copies of the system files to improve performance.
|
|
|
|
|
This week, as I was thinking about some of the kinds of rules I impose on myself, I thought it might be a good idea to come up with a set of rules that I think all software developers should live by. "Just keep on breakin' the rules"
|
|
|
|
|
Rule 12: Publishing article with code is fun
Ranjan.D
|
|
|
|
|
Rule 0. There are no rules.
#SupportHeForShe If your actions inspire others to dream more, learn more, do more and become more, you are a leader.-John Q. Adams
You must accept 1 of 2 basic premises: Either we are alone in the universe or we are not alone. Either way, the implications are staggering!-Wernher von Braun
Only 2 things are infinite, the universe and human stupidity, and I'm not sure about the former.-Albert Einstein
|
|
|
|
|
I have one rule to rule them all... Simplicity! Simplicity in everything you do. If you keep it simple you don't have to be clever, your code will be clear, you don't need comments, you won't write code you don't have to, you'll know what needs to be done and that's half of his best practices list all contained in that one simple rule. You'll get a lot of other bonuses from simplicity, like maintainability, reliability, done before lunch-ability...
And simplicity isn't just for code. Everything could be simple!
Simplicity really should be his first, second, third AND fourth rule, not the last.
I'm a preacher of the church of Simplicity, hallelujah!
And actually we're so simple we don't even need a church
|
|
|
|
|
Sander Rossel wrote: Everything could be simple!
But, then how would people get away with stealing your money, providing terrible service and generally taking advantage of you?
Simplicity is the best. 100% agree.
|
|
|
|
|
string response = "Good post, but I totally disagree with #4: \"Comments are mostly evil\"";
Marc
|
|
|
|
|
Marc Clifton wrote: It seems my church of Simplicity has found a heretic! Burn the disbeliever! (I'm very much in need of torch and pitchfork icons)
|
|
|
|
|
I mostly agree so long as the comments 1) make sense and succintly say why the code is written NOT the what -- I can read the what --- no "declare variables" type comments, and 2) are succintly and appropriately updated when the code is inevitably morphed.
Useless or wrong comments are worse than no comments.
#SupportHeForShe If your actions inspire others to dream more, learn more, do more and become more, you are a leader.-John Q. Adams
You must accept 1 of 2 basic premises: Either we are alone in the universe or we are not alone. Either way, the implications are staggering!-Wernher von Braun
Only 2 things are infinite, the universe and human stupidity, and I'm not sure about the former.-Albert Einstein
|
|
|
|
|
Simple Programmer wrote: should live by...
Should! Not a valid requirement.
|
|
|
|
|
The rules you need to build a nuclear powered submarine than you need to build a tree house. It is important to establish which one you are doing early on and to follow the appropriate rule set.
Also - no, comments are not evil. Bad comments are evil but a comment that explains intent is not evil. For example if I make a class not inheritable, wouldn't you like a comment as to why I did that so that if you are looking at taking away that restriction you know what needs to be done so my original intent is kept.
|
|
|
|
|
Q: "What rules do I live by?"
A: Overlay ads that appear when reading an article (or any other style that elephants me off by getting in the way of what I'm trying to do) trigger an adblock rampage to strip your site to a bare content container. Header... gone. Footer... gone. Sidebar... gone. Share buttons... gone. Any hope of my reading a second article while on your site... gone along with the div s that might have hosted a link to them.
Did you ever see history portrayed as an old man with a wise brow and pulseless heart, waging all things in the balance of reason?
Is not rather the genius of history like an eternal, imploring maiden, full of fire, with a burning heart and flaming soul, humanly warm and humanly beautiful?
--Zachris Topelius
Training a telescope on one’s own belly button will only reveal lint. You like that? You go right on staring at it. I prefer looking at galaxies.
-- Sarah Hoyt
|
|
|
|
|
The technology could replace the use of passwords on Alibaba's Alipay service. Facial expression should be appropriate for value of purchase
|
|
|
|
|
|
Very appropriate!
TTFN - Kent
|
|
|
|
|
Technology officials look to enrich the value of large datasets by collaborating on open source projects with developer community. Code by the people, for the people
|
|
|
|
|
Who else would do it? PM?
#SupportHeForShe If your actions inspire others to dream more, learn more, do more and become more, you are a leader.-John Q. Adams
You must accept 1 of 2 basic premises: Either we are alone in the universe or we are not alone. Either way, the implications are staggering!-Wernher von Braun
Only 2 things are infinite, the universe and human stupidity, and I'm not sure about the former.-Albert Einstein
|
|
|
|
|
Well, Obama did write one line of JavaScript a while back, maybe he can do it?
TTFN - Kent
|
|
|
|
|
Yah, you mean like an actually reliable nuke deal with Iran? Not a chance.
#SupportHeForShe If your actions inspire others to dream more, learn more, do more and become more, you are a leader.-John Q. Adams
You must accept 1 of 2 basic premises: Either we are alone in the universe or we are not alone. Either way, the implications are staggering!-Wernher von Braun
Only 2 things are infinite, the universe and human stupidity, and I'm not sure about the former.-Albert Einstein
|
|
|
|
|
Kent Sharkey wrote: Code by the people, for the people
That phrase should not be used in conjunction with the phrase "Federal Government." Besides being an oxymoron, it's an insult to the people.
Marc
|
|
|
|
|
The news item was about them open sourcing the code, so that they're not ruining it.
TTFN - Kent
|
|
|
|
|
Kent Sharkey wrote: The news item was about them open sourcing the code, so that they're not ruining it.
Heh. But you have to love this:
...he explained that the agency would be able to tightly control who could access GeoQ, vetting the outside developers and reviewing the code they contribute before allowing it into the application.
Makes sense, of course, but it sounds a lot like the gov't trying to get work done for free. Don't they already tax us enough to pay for developers???
Marc
|
|
|
|
|
The best practices for enterprise security are well known. So why are so few companies implementing them? People, people, people, people, people, and people?
Or: users, users, etc.
|
|
|
|
|
You are repeating yourself. You keep saying the same thing, over and over. Is there an echo?
#SupportHeForShe If your actions inspire others to dream more, learn more, do more and become more, you are a leader.-John Q. Adams
You must accept 1 of 2 basic premises: Either we are alone in the universe or we are not alone. Either way, the implications are staggering!-Wernher von Braun
Only 2 things are infinite, the universe and human stupidity, and I'm not sure about the former.-Albert Einstein
|
|
|
|