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.
0
votes
1answer
33 views
What is the best way to store anciliary data with a 2D timeseries object in R?
I currently try to move from matlab to R.
I have 2D measurements, consisting of irradiance in time and wavelength together with quality flags and uncertainty and error estimates.
In Matlab I extended ...
4
votes
8answers
404 views
How you return to a code when you don't remember what you were doing? [on hold]
Well, I have some problems with procrastination and whatnot, but those get infinitely worse, when I cannot remember what I should be doing.
I mean, I know my project, I wrote 100% of the code so far, ...
2
votes
1answer
88 views
Is it bad practice to call a controller action from a view that was rendered by another controller?
Let's say I have an OrderController which handles orders. The user adds products to it through the view, and then the final price gets calculated through an AJAX call to a controller action.
The ...
5
votes
2answers
219 views
Buzzword for “performance-aware” software development
There seems to be an overabundance of buzzwords for software development styles and methodologies: Agile development, extreme programming, test-driven development, etc... well, is there any sort of ...
-4
votes
0answers
90 views
Which programming language should I learn? [closed]
I'm Ashkan and I'm from Iran, I started programming when I was 13 and I learned a lot of stuff since then, But now I'm totally lost. Since I live in Iran there are no counselor or any professionals ...
0
votes
0answers
16 views
Handling large integers in python [migrated]
I had written a program in python to find b such that a prime number p divides b^2-8. The range for b is [1, (p+1)/2].
For small integers it works, say only up to 7 digits. But not for large ...
-1
votes
1answer
94 views
Sample Java Program ideas [closed]
My neighbour's son has just started learning programming. (java)
I have given him some simple programs to do and i am all out.
I gave him,
Prime No,
Fibonacci series,
Factorial Number,
Palindrome,
...
0
votes
6answers
407 views
Writing and Understanding code [closed]
I can write code. I can read code but I can't implement good code. How to develop deep understanding of any framework or stuff that we are working on? Is it looking into documentation and working on ...
2
votes
1answer
298 views
Is this high coupling?
Question
I'm currently working a on an assignment for school. The assignment is to create a puzzle/calculator program in which you learn how to work with different datastructures (such as Stacks). ...
7
votes
3answers
174 views
Construct your solution logic in syntax or in a faster and more efficient mental model?
I am a newbie, studying programming and I came across this question today:
How can I make sure that I'm actually learning how to program rather than simply learning the details of a language?
A ...
15
votes
4answers
641 views
Prefer examples over Documentation. Is it a behavioral problem?
Whenever I come across a new api or programming language or even simple Linux MAN pages, I always (ever since I remember) avoided then and instead lazily relied on examples for gaining understanding ...
1
vote
2answers
175 views
Using Functions for Never-Repeated Code [duplicate]
What are some best practices for using functions to break up large blocks of code into discrete chunks of logic when those functions are only ever going to be used once within the lifetime of a ...
4
votes
4answers
169 views
Is it practical to write exit codes in a script where the outcome is more complex than success/fail?
Where I work, we're in the process of automating a lot of tasks that currently need to be run manually by an IT person to determine if the next task can be performed (the second task depends on ...
15
votes
5answers
561 views
Reconciling contradictory programming advice: get something working and iterate vs. really think it through before coding
I am an intermediate programmer with a few years of professional experience who is halfway through a masters degree. In learning to program I've often heard two pieces of seemingly contradictory ...
5
votes
6answers
484 views
Maximum nesting for loops and conditionals?
I've written some code that has some fairly deep nests (one time, I wrote something that was a conditional check inside a forloop inside a conditional check inside a forloop inside a forloop).
Is ...