Tagged Questions
17
votes
12answers
848 views
Commented short fancy code vs. uncommented longer easy-to-understand code - which is preferred?
Sometimes an algorithm can be written in two ways:
The short, fancy way; or
The longer, easy-to-understand way.
For example, here is a longer, easier way of copying a string source to dest in C:
...
16
votes
10answers
1k views
When to commit code?
When working on a project, the code may be developed reasonably fast in a single day or bit by bit for a prolonged period of few weeks/months/years. As code commits are becoming to be considered as a ...
13
votes
13answers
2k views
Coding from phone?
Have you ever tried coding from your phone or just simply going through it when you are commuting or waiting at the doctor? I hate to carry the entire laptop for it.
7
votes
11answers
871 views
How to minimize typos when you code?
I make a lot of typing mistakes when I program. I have a good keyboard writing speed but I try to write faster and in the process end up making typos.
I want to type faster, but make less errors. Can ...
4
votes
1answer
584 views
Coding site with test harness for basic data structures like linked list,graph,strings etc
I just took an Amazon online test and I messed it up badly. I am out of practice and have low confidence in writing code.
Are there any coding sites with test harnesses for basic data structures and ...