Programming Practices are the commonly or not so commonly used practices in development of software. These can include things like Agile Development, Kanban, Coding shortcuts, etc.

learn more… | top users | synonyms

9
votes
4answers
450 views

Are these programming “classics” still relevant today and should I read them? [on hold]

I have come across numerous older posts that highly recommend the following language agnostic programming books: Code Complete by Steve McConnel The Pragmatic Programmer - Andrew Hunt and Dave ...
2
votes
3answers
126 views

How do I maintain consistency between hard-coded values in different files?

I have a C source file and another (non-code) file in a project which contain the same hard-coded value. Ideally, the value would be specified in only one location and be copied to the other location ...
-6
votes
0answers
131 views

What does “illegal” mean? [on hold]

I seem to see "illegal" used all the time in error messages but I've never heard a definition for it. Does it have a technical definition or is it just an informal term? I checked the wikipedia page ...
-3
votes
0answers
19 views

I have a huge problem [migrated]

I have a huge problem! The problem is that I cannot post a question on this site which does not automatically get put on hold! My problem began when I tried to ask which tool I should use to develop ...
-1
votes
0answers
47 views

Responsibility of UI/UX designers [on hold]

I'm starting a project with a friend. I will be writing server-side code and he will be in charge of UI/UX design. This is my first time to work with a designer. The framework we pick is Symfony2, ...
-5
votes
0answers
17 views

error: incompatible types in assignment of 'int' to 'char [1]' in GEANY [migrated]

I have a very easy program, but when i try to compile this program it appears the error. This is the Code: int main(){ char Yes[1]; char No[1]; char c[1]; cout<<"Turtle or Fish"<< endl; ...
1
vote
0answers
103 views

Inheritance and extending classes [migrated]

This will probably have an obvious answer to many but I can't seem to figure it out. I am trying to make an api call within an android application, but keep running into "..... cannot be resolved" I ...
-1
votes
1answer
84 views

Many-file vs monolithic (thousand-line files) python codebases [closed]

I've seen codebases use very long python files (thousands of lines) and found them very difficult to read. Due to the power of python, lengthy code in other languages can be expressed fairly ...
0
votes
2answers
69 views

Should functions be prepared for overlapping buffers?

So I have a function in C like this: void crunch(const char *in, char *out, size_t inLen, size_t outLen) { //... } If the two buffers overlap, the function may mess up the input buffer as well, ...
1
vote
2answers
518 views

When is it worthwhile to replace working mature code with frameworks+patterns

I fear that frameworks in many cases have become a fashion or trend and are being abused. In many ways people are sacrificing speed just because they want to keep up with every single lib that comes ...
-3
votes
0answers
49 views

Which tools should I use to create android apps? [closed]

I have previously developed applications using Delphi, which is now embarcadero Rad Studio as far as I understand. Im looking to take a stab at making apps for mobile phones, which is the most common ...
4
votes
4answers
147 views

Returning null or a empty value/throw exception? [duplicate]

Various programming books suggest that methods should not return null values (Clean Code for example). Instead of returning null default values (0 or empty string or empty object) should be returned ...
1
vote
3answers
282 views

I know what I want to do, but I have a hard time coding it? [closed]

After doing some interviews, I've realized that I usually know what I want to do to solve a problem, but I often get my logic complicated (and introduce a lot of bugs) when I'm actually coding. For ...
1
vote
2answers
146 views

Is it bad practice to follow up a call to a terminating function with exit()?

I'm currently working on a php frontend. Specifically, the authentication process. I'll spare everyone the exact details of the decision tree, but it includes a lot of checks and about half of them ...
2
votes
2answers
310 views

Is It Late To Start Learning Programming @ 26 Years? [closed]

Is It Late To Start Learning Programming @ 26 Years? I have basic knowledge of Java and I am going to reading books and tutorial :) Also I'm thinking of studying Computer Science

15 30 50 per page