Coding is an alternative way to describe programming.

learn more… | top users | synonyms

-1
votes
1answer
103 views

How do you approach writing a piece of code? [closed]

I'm a junior php/js developer and have been working for about a year. When I start working on a task I tend to have a quick think about what needs to be done then jump straight in, in a somewhat brute ...
1
vote
2answers
200 views

I know the language but still can't code like other peers [closed]

I have moved to a new job and code base (been doing C#, .NET, Windows Forms, etc. for last four years) and I have been on this for three months until today. During these three months I caught up with ...
0
votes
2answers
78 views

Is it normal to look back on codes when coding? [duplicate]

the title says it all. I'm still a university student studying IT. Whenever I'm doing coding, I will frequently look back on codes that I've done before or looking for codes online or on reference ...
5
votes
7answers
626 views

How important is to initialize a variable

How important is it to initialize variables? Does proper initializing avoid memory leaks or have performance advantages?
3
votes
4answers
621 views

Which methods should be put in an interface and which in abstract classes?

I have seen many frameworks and modules and their standard they follow is like this UserInterface which have some predefined methods AbstractUserClass which implements userInterface Then ...
0
votes
2answers
150 views

Starting point for building an iPhone app [closed]

I have one idea that I want to make an app for iPhone, I have recently bought a mac for the same purpose. I want to make small app and build on it in later versions. I work in in a small company and ...
-1
votes
2answers
416 views

Interview Coding Assignments… how much do they account for? [closed]

So I've ran into a couple of companies that requires completing coding assignments before they give you a phone interview. I'm curious, do these coding assignments account for anything after the ...
7
votes
6answers
689 views

how do you cope with long hours of coding? [closed]

I am just a high-school student but for a while now I have been coding for weeks (from early in the morning to late at night). I really enjoy it, however it can be really monotone. I usually listen to ...
-1
votes
4answers
412 views

Am I required to memorize coding in a work space or can I fall onto references to provide me edge to finishing my development? [duplicate]

I would like to know if I am expected to memorize coding in a workspace or am I allow to fall into references whenever I am unsure. In a week of non-stop self learning, I feel I can understand the ...
3
votes
1answer
292 views

Arithmetic coding issue

Since a few days I am fighting my way through implementing arithmetic coding. I found a really great source of information which made me understand how it should work. Long story short, it implements ...
2
votes
3answers
256 views

Implementing a new coding standard to an existing application

Recently we have had some turnaround in the shop I work in, because of this comments in our source code were made hastily and explained very little. We have started working on the departments first ...
1
vote
5answers
281 views

What can I do to strengthen up my pen and pencil coding skills? [closed]

I want to better write code with pen and paper. Whether it'll be in pseudocode or real code, doesn't matter. Could you kindly advise me sources for this?
3
votes
2answers
215 views

Arithmetic Coding vs. Machine Numeric Precision

When subdividing intervals for arithmetic coding, the worst case scenario is that the final interval will have size 2^(1-n), where n is the number of unique symbols you are encoding. This will reach ...
2
votes
2answers
318 views

Arithmetic Coding Questions

I have been reading up on arithmetic coding and, while I understand how it works, all the guides and instructions I've read start with something like: Set up your intervals based upon the ...
-1
votes
2answers
272 views

Where can I learn more about JavaScript and Python? [closed]

Been teaching myself how to code over the past four months or so -- mainly in JavaScript, but just started Python -- and had a revelation today. I can write in JavaScript pretty well, but I don't ...
17
votes
3answers
1k views

How to avoid jumping to a solution when under pressure?

When under a particularly strict programming deadline (like an hour), if I panic at all, my tendency is to jump into coding without a real plan and hope I figure it out as I go along. Given enough ...
1
vote
5answers
295 views

Which is more effective in coding? Reducing line of code and execution of code? [closed]

I have this doubt many years. I am wring some code to achieve some functionality. For example I am writing 20 lines of code to achieve the functionality and my co worker writing the code for the same ...
15
votes
9answers
1k views

Python Coding standards vs. productivity

I work for a large humanitarian organisation, on a project building software that could help save lives in emergencies by speeding up the distribution of food. Many NGOs desperately need our software ...
2
votes
7answers
627 views

After how much line of code a function should be break down?

While working on existing code base, I usually come across procedures that contain Abusive use of IF and Switch statements. The procedures consist of overwhelming code, which I think require ...
-1
votes
4answers
184 views

Coding guidelines for seamless merging

I am looking for coding guidelines developers should follow while writing C#/ASPX/SQL code, so that merging into other branches is smooth if not seamless.
49
votes
17answers
4k views

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 ...
2
votes
4answers
273 views

I target short projects, but fail miserably on projects that requires persistence [closed]

I know this is kind of time-management question. I do well in short assignments, but fail miserably, when it comes to projects that require hours and hours of work to be done day after day. I cannot ...
3
votes
5answers
567 views

Is this kind of Design by Contract useless?

I've just started informatics university and I'm attending a programming course about C(++). The programming professor prefers to connect every topic with a type of programming design that is similar ...
7
votes
11answers
1k 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 ...
10
votes
2answers
769 views

What parts of Code Complete haven't stood the test of time? [closed]

I was looking at Code Complete on the shelf, thinking, "Outside of the Mythical Man Month, this may be one of the few mass market Software Engineering books to stand the test of time." For this ...
10
votes
4answers
467 views

How to do best practice development as the single IT guy in a small company

For the best part of the last decade I have been working as the only IT guy in tiny company. At it's peak this company employed about 8 staff. It's now down to 4, one of them part time. So the going ...
4
votes
1answer
277 views

Website with test data files for specific algorithms/data structures?

Is there any website, like SPOJ and Project Euler, with the test data files available for specific algorithms/data structures? I know it's a fun challenge to solve those problems on your own, but I ...
7
votes
5answers
358 views

Coding in known language or learning a new one in free time? [duplicate]

Possible Duplicate: Should I focus on being deep or broad Doing which of {coding,learning} will you recommend for a programmer in his/her free time? Of course,this question is valid in case ...
5
votes
12answers
2k views

Is it possible to learn maths via programming, or you should learn maths for programming?

I am not the best in maths, not very horrid either, but lower than the average, I've always been thinking to improve my maths, but schools and books didn't do the job because I get bored too fast. The ...
12
votes
7answers
793 views

After writing code, why do I feel that “I would have written better” after some time? [closed]

I have been working on my hobby project in C++ for more than 2 years. Whenever I write a module/function, I code it with lot of thinking. Now see the problem, do { --> write the code in module ...
8
votes
7answers
1k views

Use of NotImplementedException

Is it considered bad practice to throw NotImplementedException for code you haven't written yet? Possibly TODO comments would be considered safer?
4
votes
8answers
315 views

Do platform independence and different paradigms deter newcomers? [closed]

I'm only 18, and as such my initial ventures into programming were the usual 2000s-dominating high-level, paradigm-saturated affairs, complete with obsession with platform independence and 'good' ...
27
votes
14answers
2k views

How Much Logic in Getters

This question has been asked in different ways, but nothing that's actually what I want to know. Got me confused at work now. They tell me there should be as little logic as possible in getters and ...
5
votes
3answers
512 views

Website where you can see how other programmers write their code [closed]

I remember seeing a website where people upload videos of themselves writing code. However, I can not find that site now. The purpose is to see how others code, to see how they refactor their code, ...
-1
votes
4answers
519 views

Aging vs. Coding Skills [closed]

A little background, since it can be part of my point fo view. I'm a C#/Java programmer with age of 23, coding since my 18's. I started studying C and working with Cobol, and after 1 year I quickly ...
17
votes
3answers
971 views

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. ...
10
votes
4answers
2k views

Domain knowledge vs Programming [duplicate]

Possible Duplicate: How important is Domain knowledge vs. Technical knowledge? I often hear from my colleagues and sometimes from interviewers that, "There is nothing so great in having ...
11
votes
3answers
646 views

Tips/advice on how to reduce the use of “manager” classes?

I sometimes hear that having too many "manager" classes in your program's design is code smell and add an unnecessary layer of complexity. To me it makes sense that people want to use manager classes ...
1
vote
1answer
312 views

“positively formulated” vs. “reads as english sentence” style logic

Sorry, I'd be happy to have someone improve the title of this question. What are the benefits and downsides of "positively formulated" logic vs. having it "english readable". I'm looking for a ...
9
votes
9answers
698 views

Should development methods squash a developer's individualism?

I'm in my final semester of college and am taking a software engineering course. In the class we learn about various software development methods. The one we focused on, and used to develop our ...
5
votes
7answers
149 views

Can initial inefficient solutions INSPIRE better ones and thus lead to faster problem solving?

When faced with writing an algorithm to solve a small project/problem is it better to come up with pseudo code that isn't efficient/optimum but solves the problem and then try to use the inefficient ...
4
votes
2answers
321 views

Are there any studies that correlate time spent coding and productivity? [closed]

My boss is asserting that good programmers are "heads down coders" who spend nearly all day writing code. I think this is misguided but can't convince him otherwise. Is there any research on the ...
1
vote
4answers
158 views

Deciphering foreign code

What is the best strategy to go about understanding some one else's code for a medium sized project, if the code is not well documented and does not adhere to many coding standards?
1
vote
4answers
2k views

How to convincing Programmers that 'being in the zone' [coding] isn't always beneficial for the project?

In this book review: http://books.slashdot.org/story/11/06/13/1251216/Book-Review-The-Clean-Coder?utm_source=slashdot&utm_medium=twitter Chapter 4 talks about the coding process itself. One of ...
21
votes
10answers
2k 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 ...
5
votes
1answer
675 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 ...
2
votes
3answers
248 views

How to test a code online?

I am preparing for technical interview and would like to brush my coding skills. I have written a C++ program and would like to test it online. I don't have access to any linux compiler on my machine. ...
3
votes
2answers
98 views

What are my options? - Separating out the UI

I'm working on a project where the everything is driven from the a .dll on the server. The UI and the business rules are all on this .dll This makes it pretty difficult to debug. My question is, I ...
7
votes
1answer
506 views

Any ideas about puzzles and recruitment with Coderloop?

Does anybody have any experience with Coderloop? It is supposed to be community of developers solving programming puzzles, and they use that information to help companies recruit. Has anybody been ...
21
votes
12answers
1k views

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 ...