Questions tagged [time]
88 questions
47
votes
10 answers
How to start and maintain an after-work project
I work as a full time developer. My workplace, however, is very limiting in the technologies and programming languages I can use. All of the work is done in C++.
It is clear that C++ is rapidly losing (or maybe already lost) its leading…

Sam
- 473
- 5
- 5
44
votes
12 answers
How possible is it to estimate time for programming projects?
It seems like it is nearly impossible to get close because you could run into any number of issues and things not first anticipated. How close can we be expected to reasonably estimate? Our PM wants to be able to have things like Gant charts and…

MetaGuru
- 2,663
- 3
- 22
- 31
32
votes
6 answers
how much time do you spend on Unit testing?
In a company I used to work for, executives insisted that the code coverage with unit tests must be 99% or more. This resulted in writing more tests than code. It took us literally 3 days to write tests for a single class that took a day to…

Maggie
- 816
- 1
- 8
- 11
30
votes
12 answers
isn't number localization just unnecessary?
I've just read this page http://weblogs.asp.net/scottgu/archive/2010/06/10/jquery-globalization-plugin-from-microsoft.aspx
One of the things they did was to convert the arabic date to the arabic calendar. I'm wondering if it is a good idea at all to…

Pacerier
- 4,973
- 7
- 39
- 58
28
votes
11 answers
What to do when time estimation goes wrong?
Let’s say you estimated time for a case to be 3 days.
In day two you notice that the case is growing and new scenarios are popping up which were not counted when the time estimation where done. The new finding leads to 2 days extra (total 5 days).…

Amir Rezaei
- 10,938
- 6
- 61
- 86
27
votes
11 answers
What amount of time should be spent on bugs vs original development?
This question is a little abstract but I'm hoping someone can point me in the right direction.
My question is what amount of time can one expect to devote to a software project's bugs in relation to the original development time. I realize there are…

Mike B
- 273
- 1
- 3
- 9
24
votes
13 answers
How much time should you spend planning a commit before writing code?
At the moment I'm spending more time planning out a commit than actually writing code when adding a new feature. Less than two hours would be lucky, and sometimes I'd spend a good part of the day without writing any code. This is making me unhappy,…

Tom Huntington
- 401
- 3
- 9
21
votes
1 answer
Noda Time vs Joda Time?
In the Noda Time User's Guide, the rationale section states:
the public API has been largely rewritten, both to provide an API which is more idiomatic for .NET, and also to rectify some of the Joda Time decisions which the Noda Time team view as…

Neal Tibrewala
- 1,073
- 7
- 12
19
votes
4 answers
What is the best practice for saving TimeZones in the database?
We want to start collecting timezones for each of our addresses in the database. What is the best practice to store the timezones? How would you go about acquiring timezones for the existing address records?
I'm using Microsoft SQL server, .net…

Rodney Hickman
- 589
- 3
- 5
- 9
16
votes
8 answers
How do you program effectively when it takes a long time to simply test your code?
My workflow has always been to write one logical step and then run the program and inspect the output. This process have served me incredibly well for assignments in university. However, as I do more development, there are often times when simply…

Anne Nonimus
- 979
- 1
- 9
- 10
15
votes
7 answers
Is there a constant for "end of time"?
For some systems, the time value 9999-12-31 is used as the "end of time" as the end of the time that the computer can calculate. But what if it changes? Wouldn't it be better to define this time as a builtin variable?
In C and other programming…

Niklas Rosencrantz
- 8,008
- 17
- 56
- 95
14
votes
2 answers
Why doesn't Git set the file time?
Git by default does not set the file-time accordingly when the files are synced with the origin. It just ignores the file-time of the pushed files.
Doesn't it make sense for the file's modification date to be set to the value of the last commit…

David Refoua
- 1,101
- 1
- 10
- 16
12
votes
4 answers
Should a REST API be able to convert datetime to appropriate clients timezone?
Whilst implementing our API, the issue of datetime and timezones came up.
All dates are normalized to UTC in the database. Currently, in the non-API application, all datetimes are converted based on users preferences first before presented.
Now the…

mark
- 229
- 1
- 2
- 5
11
votes
5 answers
Is web application startup time really that important?
Had a conversation with someone about adding some initialization code on application startup and he complained about that causing an increasing in the startup time. He couldn't really state a reason (gut feeling or something, don't know). This is…

JohnDoDo
- 2,309
- 2
- 18
- 32
9
votes
3 answers
When thinking about dates and times - is midnight today in the past or future?
This is always a puzzle to me- and I realise that it is not strictly an issue in programming or software development, but it seems to be a reasonable common one in our field.
For example, if I were to set an expiry datetime as 2011-04-08 00:00:00 -…

HorusKol
- 4,131
- 1
- 20
- 25