Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 3 years ago.
When you are rapid prototyping for features should you really worry about code quality & optimization?.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 3 years ago.
When you are rapid prototyping for features should you really worry about code quality & optimization?.
Looking back at the number of times a "prototype" ended up becoming the product, the answer would be yes.
Don t forget that you are not only prototyping the feature, you are also prototyping the design.
Yes to quality. No to optimization. This question should be community wiki.
I would focus on clarity.
If quality and optimisation are requirements for the prototype then yes. If not, then no. Just because you are doing rapid prototyping you don t abandon standard operating procedures like programming to a specification, using source code control, testing, etc. It is, perhaps, relatively unusual for high performance to be a requirement for a rapidly developed prototype, but that s another matter.
Yes. Focus on quality, clarity and simplicity AND comments to explain what its doing and why (don t bother with the how, unless its really complicated, that is what the code is for).
Just about all work we do here starts out as a what if? And if it works we continue with it.
We write comments that describe what should happen, before we write the code, then write the code to match the comments. Writing the comments first forces you to think about how you will structure it all. We ve found that it prevents a lot of FALSE assumptions and actually makes development faster.
It also makes reusing this when you come back to it so much easier - you don t need to read the code and understand it, just read the comments. Don t go for the nonesense of self-documenting code, all that does is self-document the bugs, you ve got nothing to check to see if the code matches the comments/documentation at all.
You can worry about optimization later - see this description of a huge win I got by changing from MFC CMaps to STL when working on a hobby project parsing some Apache log files. This was done after I had the initial concept working and only when it became apparent there was a problem with performance.
I am starting a new project from the ground up and want it to be clean / have good coding standards. In what order do the seasoned developers on here like to lay things out within a class? A : 1) ...
What are some of the best practices for clean code, naming conventions and documentation for PHP? I see users/people saying this is a bad practice, Example: // Create an array to hold x values $...
我与分析家和统计家小组合作,研究哪些是中型的R码。 他们重新唤醒人们,但是他们自己没有受过训练或体验过方案。 (我) ......
Scott Meyer s argument that non-member functions increase encapsulation and allow for more elegant design (designwise) seems very valid to me. See here: Article Yet I have problems with this. (And ...
I have a web part which uses many SharePoint controls like menu, SPGrid, tool bar etc. I want the user to be able to change the style by specifying an external CSS file. Can somebody tell me how I ...
I d prefer using Table and td instead of JqGrid but i like JqGrid styles. has anyone used jqgrid style for usual Grid of asp.net MVC(i mean Table and td) before?
c# 3.0 offers us getters and setters with compiler generated backing fields - this is really great, but there are plenty of times that you still need to use a backing field. In a perfect world (...
<div id="example-value"> or <div id="example_value">? This site and Twitter use the first style. Facebook and Vimeo - the second. Which one do you use and why?