|
'On the subject of comments, programmers seem to fall roughly into two camps. These include the “clean code needs no comments” camp and the “professionalism means commenting” camp.'
Both are true.
'As a result, I offer the heuristic that the correct way to comment is to avoid them as much as humanly possible.'
And so is that.
'In addition you’ll want to add method header comments for the sake of documentation and Intellisense. When you write code for consumption by others, these comments constitute de facto end user documentation. In this situation, the value tends to outweigh the maintenance burden, since it impacts your product’s usability.'
I do this too but not comprehensively.
Kevin
|
|
|
|
|
You're slipping Kent. You forgot to wait a few days or whatever so you could link to the authors repost instead of the site that commissioned the article...
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
|
|
|
|
|
Well, I did end up using two of his articles today, and you know I hate to use the same source twice.
TTFN - Kent
|
|
|
|
|
I think that deserves a lamest excuse ever prize.
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
|
|
|
|
|
A young boy has shocked an audience of security experts by casually hacking into their Bluetooth devices to control his electronic toy. I never did trust that Teddy Ruxpin. Or the Care Bears.
|
|
|
|
|
Electronic toys (especilly dolls) tend to make me think of these movies: Child's Play (franchise) - Wikipedia
Now if one of those start "hacking" into an audience of "security experts", I think they just might be a bit more than just "shocked".
|
|
|
|
|
A trove of more than 560 million login credentials has been exposed by a leaky database, researchers revealed on Tuesday, including email addresses and passwords stolen from as many as 10 popular online services. Well, I guess not that anonymous any longer
|
|
|
|
|
Perhaps CP could leak the passwords used by the most annoying of our spammers - maybe get that number up to 561 million
"When you don't know what you're doing it's best to do it quickly" - Jase #DuckDynasty
|
|
|
|
|
With the rate the spammers seem to sign up here, it would probably be more like 572 million.
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
A comparison of the WinRT APIs between Windows 10 build 16188 (pre fall creators update) and Build 16193 (post fall Creators Update) shows that Microsoft added a large number of APIs to deal with cellular data connectivity, but specifically removed APIs dealing with phone calls, such as call blocking, voice mail, phone line, phone call origin and many more. I'm sure that doesn't mean anything, right?
|
|
|
|
|
Then it should be called a downdate.
|
|
|
|
|
Depends on your perspective.
#SupportHeForShe
Government can give you nothing but what it takes from somebody else. A government big enough to give you everything you want is big enough to take everything you've got, including your freedom.-Ezra Taft Benson
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
|
|
|
|
|
The race is on for quantum supremacy—the point at which quantum computing will outperform even the best conventional computer. Can you play Doom on it?
|
|
|
|
|
hmm...isn't that bringing misfortune, maybe?
|
|
|
|
|
Just by accessing a folder containing a malicious SCF file, a user will unwittingly share his computer's login credentials with an attacker via Google Chrome and the SMB protocol. It's always nice when we can spread the blame around, isn't it?
|
|
|
|
|
Sounds like a job for Nirsoft's File Types Manager.
I wanna be a eunuchs developer! Pass me a bread knife!
|
|
|
|
|
As cybersecurity experts scramble to stop another wave of ransomware and malware scams that have infected computers around the world, computer science experts are 'phishing' for reasons why these types of attacks are so successful. "Participants could not detect the real emails with any degree of confidence."
|
|
|
|
|
Because information that helps them avoid detection is so readily available online. Duh.
|
|
|
|
|
So their advice is "don't open e-mails unless you're sure you know where they come from"?
Well, I'm glad someone finally thought of that! I've been wracking my brain for a solution!
I wanna be a eunuchs developer! Pass me a bread knife!
|
|
|
|
|
Computer scientists from Saarland University and Google are giving wrinkles, knuckles and birthmarks a whole new meaning. Similarly to temporary tattoos for children, the researchers are placing ultra-thin, electronic tattoos on distinctive body locations. The user can touch, squeeze or pull them, and thereby intuitively control mobile devices such as a music player, or easily make indicators light up. Press the heart tattoo to phone Mom?
|
|
|
|
|
Phys.org wrote: The user can touch, squeeze or pull them, and thereby intuitively control ... devices ..., or easily make indicators light up.
It is that sort of technology then?
|
|
|
|
|
I like things that make my indicators light up, don't you?
TTFN - Kent
|
|
|
|
|
I do, plus it would make things easier for all those oblivious folk out there like myself! Green-light/red-light and you're on your way.
|
|
|
|
|
The latest version of Android incorporates more machine learning, faster performance and better notifications. "Fluid Experiences" and "Vitals". Sounds like they crossed it with Game of Thrones
|
|
|
|
|
Kent Sharkey wrote: "Fluid Experiences" and "Vitals" Dunno about GoT, but I really fancy a beer, now.
I wanna be a eunuchs developer! Pass me a bread knife!
|
|
|
|