|
And is code which isnt written is really no bad code but also no technical debt
Press F1 for help or google it.
Greetings from Germany
|
|
|
|
|
Amazon Go, a 1800-square-foot retail space located in the company’s hometown of Seattle, lets shoppers just grab the items they want and leave; the order gets charged to their Amazon account afterwards Now you can buy kale without embarrassment
|
|
|
|
|
Fantastic
|
|
|
|
|
More jobs eliminated and even less service. Brilliant.
Peter Wasser
"The whole problem with the world is that fools and fanatics are always so certain of themselves, and wiser people so full of doubts." - Bertrand Russell
|
|
|
|
|
At least we have an over population issue to help with that. More people. Less jobs. Yay.
Jeremy Falcon
|
|
|
|
|
Founded in 2010, Naveen Jain's company Moon Express has become the only private enterprise to be granted permission to travel beyond Earth’s orbit and land on the Moon. "Bam, zoom, straight to the moon."
|
|
|
|
|
Will the vessels be equipped with "black boxes"?
Peter Wasser
"The whole problem with the world is that fools and fanatics are always so certain of themselves, and wiser people so full of doubts." - Bertrand Russell
|
|
|
|
|
I can think of few topics in software development that draw as much debate as this one. “We’ve got this app, and we want to know if we should refactor it or rewrite it.” "They did it by making the single worst strategic mistake that any software company can make: They decided to rewrite the code from scratch."
|
|
|
|
|
Yes! Third time's the charm!
#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
|
|
|
|
|
Never forget the third option: work somewhere else.
|
|
|
|
|
Sometimes, re-writing is forced because management decides to change the underlying hardware.
BPCS was an AS/400-based software for Manufacturing. Management decided that they need to migrate the software to a Unix platform because that was/is the rage. They probably had no choice because their salesmen were most likely told by potential customers that they would buy only Unix hardware.
The company spent $400 million and never got a working Unix version. When you realise that their annual sales was only $400 million, it doesn't take a genius to figure out that they had bet the farm on re-writing their software. They lost and the company had to be sold.
|
|
|
|
|
That story sounds remarkably like a company I used to work for as well. Burned itself out on a far-to-late Windows rewrite.
Too many companies...
TTFN - Kent
|
|
|
|
|
I wonder if they couldn't have shoved an adapter/virtual machine layer in between and do it on the cheap?
Wout
|
|
|
|
|
In my opinion, "rewrite" means to improve an app by performing code modification, whereas "refactor" means to document the ready code by adding comments. Isn't it so ?
|
|
|
|
|
I suppose everyone has their own opinion but I subscribe to the Robert Martin definition from Clean Code . Refactor is the process of "cleaning up" your code as you build it. I like the OP article's distinction between a rewrite and a rework as well. Never had an opinion on the difference between those before but I appreciate the proposed difference. Reminds me of the eternal argument on whether there's an implied difference between association and aggregation in UML.
|
|
|
|
|
In my opinion, I basically refer to Code Refactoring
From this Wikipedia's article we can find out that "code refactoring" is actually the process of the code understanding improvement which doesn't affect the application behavior. This process also includes adding comments to the code being refactored. That's actually why, I've stated in my previous post that the distinction of either "refactoring" or "rewriting", is that "refactoring" is *NOT* "rewriting", during which an application changes its behavior.
|
|
|
|
|
I agree with that I was referring specifically to
Arthur V. Ratz wrote: whereas "refactor" means to document the ready code by adding comments.
I thought you meant comments only from the above context. I agree the refactoring process changes no behavior and instead seeks to organize and re-arrange code in a more readable way. While it may be controversial, I wholeheartedly agree with this quote:
Robert Martin in Clean Code pg.54: The proper use of comments is to compensate for our failure to express ourself in
code. Note that I used the word failure. I meant it. Comments are always failures. We must
have them because we cannot always figure out how to express ourselves without them,
but their use is not a cause for celebration.
|
|
|
|
|
I would also agree with this, *BUT* commenting a code is not about "to express ourself". This is about to give a proper documentation to the code to make it readable by the others.
|
|
|
|
|
Some things don't lend themselves to expression in code but I believe the point of that statement is that, if possible, your code should be the documentation in and of itself by being concise, simple, and readable. On a side note, documentation for an API I don't believe falls into this category. You don't expect people that consume your API to read your code as that's the whole point - it simply works.
Slightly off-topic thought but they should really teach this kind of stuff in college. It's a very interesting topic that has real-world implications. Instead I spent a semester learning Computer Ethics Still haven't used any philosophy from that
|
|
|
|
|
Right.
|
|
|
|
|
Anyway it's worth for me to read this book. Probably, I'll find out something interesting about code refactoring.
|
|
|
|
|
And also, many IDEs such as Visual Studio for .NET and C++ provide an automated code refactoring by outlining particular fragments of code by not changing the either structure of code or its behavior during execution.
|
|
|
|
|
If it's an app still in classic ASP... rewrite.
Jeremy Falcon
|
|
|
|
|
It’s not clear how long Windows 10 fans will have to go without a new build, but the reason may make the life of an Insider easier in the long run. They'll get back to bugging you to upgrade shortly
|
|
|
|
|
They'll be taking a more gentle approach this time so as not to raise the ire from users as was prevalent in the first Windows 10 migrations.
This time, they'll just scotchtape the disk onto a brick and throw it through your front living room window. It should reduce damages significantly.
|
|
|
|