|
I'm curious what change requests, from testers, clients, or managers, programmers have encountered that seemed really simple but were in fact really complicated.
Started by Brian on
, 8 posts
by 7 people.
Answer Snippets (Read the full thread at stackoverflow):
Changing it's....
However, the title of the window was in fact localized in a library and was shared with several applications .
How about adding a GUI to this command line app?
One thing I've hit was being asked to change a word in the title of a window .
|
|
What are the good ways to handle complicated business logic that from the first glance requires many nested if statements?
Example:
Discount Coupon. could be:
1a) Value discount
1b) Percentage discount
2a) Normal discount
2b) Progressive discount
3a) ...
Answer Snippets (Read the full thread at stackoverflow):
Implement several new features and suddenly your conditional logic becomes complicated and expansive.
|
|
I have a pair of static fields with a complicated one-time initialization. I want this initialization to happen lazily, a la the standard singleton pattern .
However, the initialization procedure involves both fields, so I can't separate it into two different...
Started by SLaks on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
FieldInitializer { public static readonly SomeType field1, field2; static FieldInitializer() { //Complicated.
|
Ask your Facebook Friends
|
How to understand following complicated declarations?
char (*(*f())[])(); char (*(*X[3])())[5]; void (*f)(int,void (*)()); char far *far *ptr; typedef void (*pfun)(int,float); int **(*f)(int**,int**(*)(int **,int **));
EDIT : After people have cursed ...
Started by Ravi on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
Void f1(int a, float b) { //do something with these numbers };
Btw, complicated) { printf("Complicated declarations and meaningless example!\n"); return a0; } int ** f1(int ** a2.
Value;
e.g.
|
|
Hi,
Recently I was reading about Article on Interviewing an Software Engineering Position by Joel and he mentioned about asking candidate about Recursion and Pointer's after some simple puzzles.
I wonder why Pointers and Recursion are considered to be...
Started by Rachel on
, 9 posts
by 9 people.
Answer Snippets (Read the full thread at stackoverflow):
Recursion is more complicated than plain code language, so pointers and recursion....
Several layers are more complicated than the pointer value and the value of that other variable.
They require keeping details about several layers of data.
|
|
Today, I was reviewing some code a coworker had written recently. The following statement seemed to jump off the screen at me.
string defaultValue = (1000).ToString();
And this has prompted me to ask the question...
What simple problem have you seen addressed...
Started by Steve Dignan on
, 9 posts
by 9 people.
Answer Snippets (Read the full thread at stackoverflow):
Magic also happens here too }
We all know we should use constants .
But is more complicated { //...
|
|
I'm new to Subversion (SVN) coming from a Visual Source Safe (VSS) background. In VSS the person editing a file checks the file out and it locks the other users from editing it through Visual Studio. I understand that SVN is a concurrent model allowing...
Started by Achilles on
, 12 posts
by 12 people.
Answer Snippets (Read the full thread at stackoverflow):
This behavior is what was contributing to complicated.
As possible, before they have to check in code.
|
|
Hi, could somebody help me with freaking complicated tile layout as it specified under the link .
I have tried to use float:left for widgets but I getting the red block always below #2. I should be able to dynamically add widgets to black dashboard. I...
Started by Sam on
, 6 posts
by 6 people.
Answer Snippets (Read the full thread at stackoverflow):
</div>
css:
leftcol....
</div> <div id="rightcol"> your code...
<div id="leftcol"> your code...
Easiest way to do a two column layout with css .
Make 2 container divs, both float:left
then just float:left everything inside those divs .
|
|
I'm working on a project which will do some complicated analyzing on some user-supplied input. There will be 3 parts of the code:
1) Input supplied by user, such as keywords
2) Rules, such as if keyword 1 is repeated 3 times in keyword 5, do this, etc...
Started by Click Upvote on
, 8 posts
by 8 people.
Answer Snippets (Read the full thread at stackoverflow):
Node itself contains the....
I was processing the node to generate the opcode for that command .
For each command I had a entry in the xml .
I had designed a code generator, which can be controllable from a xml file .
Easy to parse and update.
Store it in XML.
|
|
I'm new to Objective-C, Cocoa, Xcode and Interface Builder. I've got some C background in the past, as well as a fair amount of RealBASIC experience.
I'm working through Mark and LaMarche's iPhone 3 Dev book and I'm really just sort of stunned about how...
Started by Rob on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
I too used to think that Xcode and Interface Builder were unnecessarily complicated, until I worked.
|