Skip to main content

Questions tagged [coding]

Coding is an alternative way to describe programming.

Filter by
Sorted by
Tagged with
5 votes
1 answer
429 views

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 ...
Zolomon's user avatar
  • 305
9 votes
12 answers
17k views

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 ...
SAFAD's user avatar
  • 485
12 votes
7 answers
1k views

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 '...
iammilind's user avatar
  • 2,232
15 votes
7 answers
6k views

Is it considered bad practice to throw NotImplementedException for code you haven't written yet? Possibly TODO comments would be considered safer?
Tom Squires's user avatar
  • 17.8k
52 votes
16 answers
14k views

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 ...
Maarten van Leunen's user avatar
26 votes
4 answers
3k views

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. ...
Dakotah North's user avatar
11 votes
4 answers
21k views

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 ...
iammilind's user avatar
  • 2,232
14 votes
3 answers
3k views

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 ...
Chris C's user avatar
  • 645
0 votes
2 answers
1k views

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 ...
jdog's user avatar
  • 280
9 votes
9 answers
896 views

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 ...
David Peterman's user avatar
6 votes
7 answers
228 views

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 ...
rrazd's user avatar
  • 1,408
74 votes
11 answers
29k views

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 ...
user avatar
5 votes
1 answer
1k views

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 ...
xyz's user avatar
  • 1,162
0 votes
3 answers
310 views

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. ...
xyz's user avatar
  • 1,162
2 votes
2 answers
124 views

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 ...
aComputerDrone's user avatar
27 votes
12 answers
3k views

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 ...
John Shaft's user avatar
  • 2,547
10 votes
8 answers
732 views

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 ...
TehBoyan's user avatar
  • 1,295
2 votes
5 answers
556 views

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 ...
Robert's user avatar
  • 121
6 votes
7 answers
499 views

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 ...
GurdeepS's user avatar
  • 429
6 votes
6 answers
2k views

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 ...
Andrew M's user avatar
  • 1,091
46 votes
8 answers
4k views

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 ...
Guillaume's user avatar
  • 2,207
12 votes
7 answers
15k views

I have been in QA for 10 years, trying to get into development for about 5 of them. I have taken classes in C++, Java and C#. I was able to write some tools and unit tests in C# at my current job and (...
cju's user avatar
  • 129
11 votes
19 answers
24k views

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. ...
26 votes
3 answers
11k views

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 ...
Malfist's user avatar
  • 3,661
27 votes
13 answers
8k views

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 ...
Prasham's user avatar
  • 1,059
0 votes
3 answers
234 views

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"?
egil's user avatar
  • 485
8 votes
15 answers
2k views

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"
hilal's user avatar
  • 191
16 votes
12 answers
5k views

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 ...
user avatar
9 votes
2 answers
331 views

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 ...
vorbb's user avatar
  • 267
8 votes
12 answers
940 views

...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 ...
mojuba's user avatar
  • 5,743
8 votes
22 answers
3k views

And why do most programmers quit coding and become managers so early compared to other areas? You can work as a construction worker, a lawyer, researcher, writer, architect, movie director for decades ...
mojuba's user avatar
  • 5,743
9 votes
4 answers
248 views

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 ...
gablin's user avatar
  • 17.6k
5 votes
6 answers
4k views

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?
GrumpyMonkey's user avatar
16 votes
5 answers
569 views

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 ...
rapfaria's user avatar
  • 261
18 votes
12 answers
3k views

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: *...
gablin's user avatar
  • 17.6k
75 votes
19 answers
37k views

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 ...
ykombinator's user avatar
  • 4,297
10 votes
6 answers
363 views

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 ...
user avatar
5 votes
4 answers
462 views

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 ...
gablin's user avatar
  • 17.6k
73 votes
15 answers
8k views

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 ...
ist_lion's user avatar
  • 3,412
39 votes
18 answers
120k views

Use of desktops are decreasing day by day in daily life but for coding purpose are there any reasons for using desktop over laptop?
109 votes
15 answers
122k views

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 ...
30 votes
10 answers
13k views

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 ...
Walter's user avatar
  • 16.1k