Ok as programmers we all follow programming standards (as in W3 standards, or C++ standard, etc...), and many of us consider these standards "sacred" and also many seasoned programmers can recite their choice of standards by heart when asked about a question in their field of expertise. You can see this last case a lot here on SO by the ...
I work in an organization that relies heavily on technology standards. For the most past this is great and helps provide direction to developers and helps them move across teams really easily.
However in the past year I have discovered more effective ways of doing things using new technologies and I am struggling to get these strategie...
We want to standardize the way we are starting projects.
Most of the company is running off Agile but we want to have common bases.
An exemple would be to customize the "Process Template" inside TFS and add our own work items with our own workflow for specific task/request coming from the client.
We would also love a better way to gat...
Given my new understanding of the power of "includes" with PHP, it is my guess that ALL of my pages on my site will be .php extension.
Would this be considered strange?
I used to think that most pages would be .htm or .html, but in looking around the net, I am noticing that there really isn't any "standard".
I don't really think I hav...
Here is a little test program :
#include <iostream>
class Test
{
public:
static void DoCrash(){ std::cout<< "TEST IT!"<< std::endl; }
};
int main()
{
Test k;
k.DoCrash(); // calling a static method like a member method...
std::system( "pause ");
return 0;
}
On VS2008 + SP1 (vc9) it compiles fine : the cons...
Hey. We're building a large ASP.NET website, and have hired an external firm to do the design (CSS + protoype pages). In fitting the design to the page, we've found a number of problems that indicate ASP.NET's workings were never considered. My question is - Is there a common standard (that should be) used by design firms creating what w...
My team (of which I am the newest and most junior member) has increased in size from 3 to 9 developers in just about 1 year. Our primary product has increased in complexity and we are about to undertake a year long port/re-write to Silverlight. In the past there has been no specific style/standard enforced.
I suggested to my boss that...
Somewhere along the line I picked up the notion that using iframes is 'bad practice'.
Is this true? What are the pros/cons of using them?
...
I will begin this question by admitting I am very new to MVC. The design pattern makes sense to me at a high level, but now that I'm exploring ASP.NET MVC, some of the architectural pieces are challenging my preconceived notions. Learning is a good thing.
I've been working with Oxite lately as a learning tool written by people at the co...
I would consider myself fairly well versed in the concepts of Unit Testing. I am curious though if there is a publication that is considered the definitive book on Unit Testing.
This would be along the same lines as Martin Fowler's Refactoring: Improving the Design of Existing Code being considered (arguably) the definitive book on Ref...
The OpenGroup POSIX.1-2001 defines strerror_r, as does The Linux Standard Base Core Specification 3.1. But I can find no reference to the maximum size that could be reasonably expected for an error message. I expected some define somewhere that I could put in my code but there is none that I can find.
The code must be thread safe. Whic...
what would be your suggestions for a good bash/ksh script template to use as a standard for all newly created scripts?
I usually start (after #! line) with a commented-out header with a filename, synopsis, usage, return values, author(s), changelog and would fit into 80-char lines.
all documentation lines I start with double-hash symbo...
I tend to take the academic approach all too often and adhere to strict principles in my development when the reality is that I could have finished the project sooner had I been a little less cautious. I'm looking to find the right amount of practicality.
I want to take the "Zen" approach to designing a site which (in my words) says "Us...
In particular I'm looking for an IP address that I can put in my hosts file that will black-hole a given DNS name. Right now I'm using 127.0.0.1 but that would start acting odd if I installed any services.
How can I prevent a 3rd party program from contacting a given server?
...
On this question, there's an answer that states:
You can use typedef to make Colour enumeration type accessible without specifying it's "full name".
typedef Sample::Colour Colour;
Colour c = Colour::BLUE;
That sounds correct to me, but someone down-voted it and left this comment:
Using the scope resolution operator :: on enum...
I'm playing around with gmock and noticed it contains this line:
#include <tuple>
I would have expected tuple.h.
When is it okay to exclude the extension, and does it give the directive a different meaning?
...
What are the typical characters allowed in text fields in a new user sign-up? Are there www standards? Especially interested in Username and Password character types allowed.
...
I have recently been put in charge of debugging two different programs which will eventually need to share an XML parsing script, at the minimum. One was written with PureMVC, and another was built from scratch. While it made sence, originally, to write the one from scratch (it saved a good deal of memory, but the memory problems have ...
Does anyone know why std::queue, std::stack, and std::priority_queue don't provide a clear() member function? I have to fake one like this:
std::queue<int> q;
// time passes...
q = std::queue<int>(); // equivalent to clear()
IIRC, clear() is provided by everything that could serve as the underlying container. Is there a good reason...
I've been using the jQuery library in our company website for a few weeks longer than its "official Microsoft endorsement". As we find ourselves applying it more and more throughout the site, questions are now being asked about our design vision and implementation strategy for jQuery. Currently, we have none.
I've put some initial tho...