Skip to main content

Questions tagged [technique]

Filter by
Sorted by
Tagged with
91 votes
15 answers
17k views

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
3 votes
3 answers
696 views

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
6 votes
1 answer
321 views

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
  • 889
-4 votes
1 answer
67 views

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
2 votes
2 answers
324 views

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
1 vote
1 answer
242 views

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
2 votes
1 answer
146 views

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
0 votes
0 answers
363 views

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
2 votes
3 answers
2k views

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
1 vote
1 answer
545 views

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
  • 129
0 votes
1 answer
332 views

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
28 votes
2 answers
3k views

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
  • 669
3 votes
3 answers
15k views

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
-1 votes
1 answer
214 views

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
2 votes
3 answers
911 views

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,043
8 votes
2 answers
946 views

I know there was a technical term for this. I'm just can't remember what it was. If the title needs clarification, here is what I mean; If this is the old code: Result foobar(Param1,Param2,Param3) { ...
bitmask's user avatar
  • 879
0 votes
1 answer
2k views

In my project I am creating an abstraction layer for some APIs. The purpose of the layer is to make multi-platform easier, and also to simplify the APIs to the feature set that I need while also ...
sebf's user avatar
  • 285
4 votes
1 answer
164 views

The company I work for sends a lot of emails, and in return we get a lot of bounces. We currently don't have a good way of sorting them and help us archive the routine ones while putting the important ...
ppbitb's user avatar
  • 341
4 votes
1 answer
2k views

This is more a learning question than coding, but I'm certain it's a common issue for anyone developing administration systems or applications in php/mysql/js etc. I've developed quite a complex ...
danp's user avatar
  • 143
16 votes
7 answers
4k views

When dealing with a project that has many different files, I always seem to loose track of how the parts interact with one another. I've never really had much of a problem understanding smaller ...
linqq's user avatar
  • 262
6 votes
2 answers
372 views

I am developing a website updater. The front end uses HTML, CSS and JavaScript, and the backend uses Python. The way it works is that <p/>, <b/> and some other HTML elements can be ...
Jakie's user avatar
  • 61
11 votes
6 answers
1k views

Agile adoption can fail in some organizations, I even worked for a company where waterfall was the only (the true) way but only because they tried Agile on a project and failed. When I asked the ...
curiousAboutIt's user avatar
10 votes
3 answers
2k views

I am reading through Javascript: The Good Parts, and struggled to get my head around the section on prototypes. After a little google, I came to the conclusion that it is to add properties to objects ...
Mild Fuzz's user avatar
  • 1,552
1 vote
1 answer
138 views

I want to know what a server does to run a php application. Below is what I think: client A types www.blahblahblah.blah/ Server resolves url and directory etc. Server go the index.php index.php has ...
Khurram Ijaz's user avatar
8 votes
9 answers
1k views

I was just thinking about how recaptcha is getting harder when I thought about another posible solution. Images won't last forever so we will need something else some day - like human logic or emotion....
Xeoncross's user avatar
  • 1,213
15 votes
8 answers
6k views

Most people seem to treat debugging as an art, rather than a science. For those here which treat it as a science, rather than an art - what process(es) do you normally use when faced with a new issue/...
4 votes
4 answers
715 views

"Regular" golf vs. code golf: Both are competitions. Both have a well-defined set of rules, which I'll leave out for simplicity. Both have well-defined goals; in short, "use fewer ...
Pops's user avatar
  • 4,123