Questions tagged [coding]

Coding is an alternative way to describe programming.

Programming is how we bend computers to our will. Well, how we want to do that. Sometimes they get the better of us.

92 questions
110
votes
15 answers

What's the career path for a developer who doesn't like management?

If you're developer (Senior or Lead Developer) and you'd rather stay with code/design than pursue a management career, what are the available career paths at your company, or any you've heard of? How far can you go? Is it possible to continue being…
Shady M. Najib
  • 261
  • 2
  • 8
  • 22
75
votes
19 answers

How do I improve my coding skills?

Here's a bit information about me, before starting with the question. I am a Computer Science Undergraduate, Java being my primary coding language. The basic problem in my University are the teaching standards. No one is concerned about teaching…
ykombinator
  • 4,317
  • 4
  • 34
  • 52
73
votes
11 answers

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 measure of project development, it doesn't really…
user22662
73
votes
15 answers

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

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 and try to avoid the computer. I'd rather read…
ist_lion
  • 3,422
  • 1
  • 22
  • 23
60
votes
18 answers

Working on someone else's code

I have hardly a year's experience in coding. After I started working, most of the time I would be working on someone else's code, either adding new features over the existing ones or modifying the existing features. The guy who has written the…
51
votes
16 answers

How Much Logic in Getters

My coworkers tell me there should be as little logic as possible in getters and setters. Yet, I am convinced that a lot of stuff can be hidden in getters and setters to shield users/programmers from implementation details. An example of what I…
Maarten van Leunen
  • 1,009
  • 1
  • 8
  • 7
46
votes
8 answers

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 reasons. Should I: create new methods using…
Guillaume
  • 2,167
  • 1
  • 18
  • 21
41
votes
10 answers

What is the most efficient way to continue developing a piece of software in the long-term?

For my job, I work on multiple different scientific software projects, as well as general administrative tasks that go hand-in-hand with any 'office' job. Thus, any given working week could involve progressing none, or all, of those software…
simonp2207
  • 521
  • 2
  • 7
39
votes
18 answers

What is better for coding - desktop or laptop?

Use of desktops are decreasing day by day in daily life but for coding purpose are there any reasons for using desktop over laptop?
Deependra Solanky
  • 269
  • 1
  • 3
  • 5
31
votes
10 answers

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 all. There are only a few developers and we…
Walter
  • 16,158
  • 8
  • 58
  • 95
27
votes
13 answers

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 I can do nothing. Can code a simple hello world…
Prasham
  • 1,059
  • 10
  • 19
26
votes
12 answers

Emotional attachment to code

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 without any concern about what happens to it after…
John Shaft
  • 2,527
  • 2
  • 21
  • 30
26
votes
4 answers

How to choose between Tell don't Ask and Command Query Separation?

The principle Tell Don't Ask says: you should endeavor to tell objects what you want them to do; do not ask them questions about their state, make a decision, and then tell them what to do. The problem is that, as the caller, you should not be…
Dakotah North
  • 3,353
  • 1
  • 20
  • 31
25
votes
8 answers

On a once a day user action: 24 Hours Reset vs. Midnight Reset

When a user is able to perform an action only once a day, for example getting a free ticket for a competition, there are two possibilities I came across in my experience. 1) 24 Hours Reset If he performs the action on day 1 on 11:45 PM, he can only…
RUL
  • 361
  • 3
  • 7
24
votes
3 answers

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 https://softwareengineering.stackexchange.com/questions/109/what-are-common-mistakes-in-coding, and conventional wisdom). What is the reason these…
Malfist
  • 3,641
  • 5
  • 29
  • 40
1
2 3 4 5 6 7