Skip to main content

Questions tagged [technique]

91votes
15answers
16kviews

How can I favor quick (and dirty) over clean (and slow) in practice?

Preface, TL;DR This question is about the implied tradeoff between the speed of development and the quality of code. I am looking for methodologies which can be followed in order to optimize ...
Gulzar's user avatar
  • 1,240
3votes
3answers
611views

What is the technical terminology for the practice of checking for null and edge cases in programming?

I took a PHP test for NASA recently and thought I should have done better. I believe the issue is something I used to know about, but need a refresher in. I can't remember what it is called though. It ...
Eric Hepperle - CodeSlayer2010's user avatar
6votes
1answer
308views

How can I reduce the amount of storage needed for a gravitational n-body simulation?

I am currently attempting to create a gravitational n-body simulation using a modified Barnes-Hut algorithm, to be more amicable to GPU computation. This is primarily as a learning project. My goal is ...
john01dav's user avatar
-4votes
1answer
57views

Technique to master new (third party) projects [duplicate]

I'm a graduated software developer. In the last year I worked like a sysadmin, nowadays, I entered on a different software company as a VB.Net Developer, it means I need to learn and master a very, ...
Gabriel Trejo's user avatar
2votes
2answers
283views

What programming techniques are there to find the combination of inputs that produces the best result? [closed]

I am working with a big set of data right now and I wrote a program that calculates a result based on some inputs. I have 10 inputs, each of them has about 20 different possible values. I am not sure ...
Limbo Exile's user avatar
1vote
1answer
230views

TDD on an already started project

I am currently implementing my own programming language. Until now I have written: An Error class for errors (to be thrown) encountered while processing the input source code; Some SyntaxError ...
user6245072's user avatar
2votes
1answer
134views

Is it better to pull all data immediately or as needed?

I have a program that needs information from a database but it doesn't need all of the information at once, although it WILL need it at some point. Would it be better to pull all of the information ...
Programmer's user avatar
0votes
0answers
343views

Domain analysis for discrete values - ON and OFF points in these cases

Following my previous question (with great answer from Bart van Ingen Schenau), I noticed a discrepancy I could not wrap my head around: Bart mentioned that: The point ON the boundary is by ...
user144171's user avatar
2votes
3answers
2kviews

Domain analysis - why OFF points are inside of the domain when the border is open

I have asked on a few other sites, no response but it must be something silly as many authors mention in their books. Here is the best text I found: My ultimate question is: Why the OFF point lies ...
user144171's user avatar
1vote
1answer
526views

What programming technique is this?

I have two Java classes. The first one is called "Index", and the second one, temporarily, I called it "IndexCache": public class IndexCache { private static Map<String, Index> map = null; ...
Mario S's user avatar
0votes
1answer
313views

Get inspired by real world objects and their interactions [closed]

Based on this question I think while the aim of OOP is not necessarily to copy real world objects, they could be source of inspiration to design a software or solve a problem or even learn the OOP ...
Ahmad's user avatar
  • 1,866
28votes
2answers
3kviews

What is the name of the following (anti) pattern? What are its advantages and disadvantages?

Over the last few months, I stumbled a few times over the following technique / pattern. However, I can't seem to find a specific name, nor am I a 100% sure about all its advantages and disadvantages. ...
Jérôme's user avatar
3votes
3answers
14kviews

Sorting an array of numbers with decimal places

Suppose I have an array of float values in the following format: { 1.34, 1.15, 1.1, 1.2, 1.26, 1.10, 1.20, 1.17 } Suppose they have been provided by user input (or some other mechanism), where the ...
Jamie Taylor's user avatar
-1votes
1answer
196views

What concepts/technologies should an ASP.NET developer be familiar with [duplicate]

I am in the process of filing in the gaps in my knowledge so that I can become a better developer. I am an ASP.NET developer and I sometimes need to do pure back-end stuff too. I ahve compiled a list ...
Captain Kenpachi's user avatar
2votes
3answers
896views

How can you learn names of methods or classes of a framework or an API?

I've been programming C++ for a year now. I've gone through the language features and I've written good programs with it, so I decided to move on to OpenGL. At first it seemed confusing. As I kept ...
Bugster's user avatar
  • 4,033

153050per page
close