Coding is an alternative way to describe programming.

learn more… | top users | synonyms

24
votes
12answers
2k views

Emotional attachment to code [closed]

As an employee of a company, when you write code do you feel like you have an attachment to it? Do you feel that you have some ownership of the code? Or do you write it completely detached from it ...
10
votes
8answers
544 views

What about all those coding rules?

I always supported the idea of having coding rules for developers in a company or a specific project. Especially if the company is size greater than 10. The bigger the company the bigger the need. I ...
2
votes
5answers
530 views

ASP.NET coding style

I am trying to improve the speed of my coding and I was wondering what tips the pros have. Currently I tend to code about 5-10 lines of code then test and repeat. Is that typical? Or is it better to ...
6
votes
7answers
273 views

Setting coding priorities

In the dev shops I've worked in, nobody has ever mentioned "coding priorities". I read this in a book or site somewhere, and sets the expectation of what priority should be first in the code. In ...
-1
votes
4answers
651 views

When required to convert code from a language you don't know, how do you go about it? [closed]

Scenario: Your boss tells you he needs a big chunk of code in language X converting into code Y. You know code Y but are only vaguely aware of X. You only have limited amount of time. Do you try and ...
7
votes
6answers
2k views

Programming by dictation? [closed]

ie. you speak out the code, and someone else across the room types it in Anyone tried this? Obviously the person taking the dictation would need to be a coder too, so you didn't have to explain ...
37
votes
8answers
2k views

Code maintenance: keeping a bad pattern when extending new code for being consistent, or not?

I have to extend an existing module of a project. I don't like the way it has been done (lots of anti-pattern involved, like copy/pasted code). I don't want to perform a complete refactor for many ...
7
votes
19answers
14k views

experience: coding on netbooks [closed]

HI, i want to buy a netbook for doing some stuff in the train. Can someone report how it is to code simple stuff on a netbook? 10/12". I wanted to buy a very cheap one. like 1gb ram 1,6ghz blabla. ...
10
votes
3answers
3k views

Why are off by one errors so common and what can we do to prevent them?

It seems that off-by-one errors are one of the most (if not the most) common programming errors (see What are common mistakes in coding?, and conventional wisdom). What is the reason these are so ...
23
votes
13answers
2k views

Being IDE dependent. How can it harm me?

I am highly IDE dependent developer (NetBeans and Eclipse as I am a JAVA dev). I can code properly if I have an IDE. I can rely a lot on that for development, debugging and deployment. But without IDE ...
0
votes
3answers
185 views

Source code used when supplying this to customer [closed]

Do you write your code differently when you need to hand it over to a customer? How does one balance the delivery of good code while at the same time not handing over too much "intellectual property"? ...
19
votes
14answers
2k views

Motivating yourself to actually write the code after you've designed something [closed]

Does it happen only to me or is this familiar to you too? It's like this: You have to create something; a module, a feature, an entire application... whatever. It is something interesting that you ...
10
votes
15answers
1k views

is coding important? [closed]

Is coding important to be good at computer science? Should one implement the algorithm to know it well ? I remember one cs professor's idiom that "I never code"
16
votes
12answers
2k views

How often do you run & test your code while programming? [closed]

Especially when writing new code from scratch in C, I find myself writing code for hours, even days without running the compiler for anything but an occasional syntax check. I tend to write bigger ...
8
votes
2answers
261 views

Beginning Design as a Programmer [duplicate]

I'm just starting to get in to web development. I'm learning Rails at the moment. I have lots of experience with various programming languages. I've been searching for books to help me get started; I ...
8
votes
12answers
683 views

How is your working time distributed between coding and thinking? [closed]

...in percentage. For example 60/40 or 90/10 or 100/0. My hypothesis is that the bigger the proportion of time you spend thinking the smaller your code can be as a result (and the less time will be ...
8
votes
4answers
198 views

Which is best for learning how to do a certain thing: writing your own or looking at someone else's? [closed]

Often when I'm writing code to do a certain thing, I'm faced with either writing my own or using someone else's code. Assume here that this "thing" is something that I've never done before and am ...
5
votes
6answers
3k views

Write once, run anywhere. Is it still relevant? [duplicate]

Since Oracle bought Sun and Apple have decided not to continue developing their JVM, is the "write once and run everywhere" model still relevant or has web services/SOA reduced it to an edge case?
8
votes
2answers
355 views

Should source-code in textbooks and the like be translated?

A few weeks ago, my class was assigned to translate to Portuguese the book Real World Haskell. As I did the translation of the text and comments, I started to wonder if I should translate the code as ...
17
votes
12answers
1k 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: ...
9
votes
6answers
284 views

How would you highlight code? [closed]

While the basic scenarios are white on black and black on white, most programmers find more varied syntax highlighting useful. What advantages do you find from a general setup? (E.g. "a dark ...
1
vote
4answers
677 views

“How to code better” training [closed]

We frequently recruit fresh talent into our company straight from the Universities. While a lot of training goes on for these developers, I think there should be a training program that simply teaches ...
5
votes
4answers
386 views

How to improve the code writing effort?

Code needs to be written to file, on way or another. While all programmers should strive to write no more code than necessary, this "small" portion needs to be written nevertheless. What tips do you ...
66
votes
15answers
4k views

I've stopped coding for fun, is this a bad sign? [closed]

At some point in time, I just stopped coding for fun. I used to go to work, finish my assignments and then upon arriving home I'd go and write stuff on the side for fun. However, I now just go home ...
17
votes
10answers
3k views

Does your company have a coding standard?

I recently saw that Microsoft released a coding standards document (All-In-One Code Framework Coding Standards) and it got me thinking... The company that I work for has no formal coding standards at ...