680 reputation
69
bio website joshduff.com
location Lincoln, NE
age
visits member for 2 years, 8 months
seen 11 hours ago
stats profile views 37

I'm a happy coder!

I like

  • The internet
  • Writing code for the internet
  • Writing applications for users

...and I especially like relational databases.


Apr
8
comment Why does JavaScript count array lengths by the last index?
The simplest reason is: because that's what the specification says to do.
Jan
22
comment Retrieving hierarchy of tree-nodes stored in relational database
This post seems relevant mikehillyer.com/articles/managing-hierarchical-data-in-mysql
Jan
14
comment While learning is it better to use other's plugins or develop my own?
The natural tendency for most programmers seems to be to write their own implementation rather than try to understand someone else's. This inclination is bad and dangerous.
Jan
13
comment I released open source code that is useable to other programmers. How do I let them know about it?
With a good description attached to the project, Google will bring you eyeballs. That's not too difficult. The hard part is turn them into users, and jgauffin's advice is sound.
Jan
12
revised Why is it often said that the test cases need to be made before we start coding?
Test Driven Design->Test Driven Development
Jan
12
suggested suggested edit on Why is it often said that the test cases need to be made before we start coding?
Dec
20
comment Do I have to learn html and javascript to create web applications?
It's like asking "do I need to know Java to write Android apps" or "do I need to learn Objective-C to write iOS apps" - you can avoid it, but not writing native code will hurt you.
Dec
18
comment Performance: recursion vs. iteration in Javascript
Make your own test and find out right away at jsperf.com
Nov
19
comment Annotate source code with diagrams as comments
You may be interested in ascii undirected graphs or trees
Oct
21
revised How can I explain object-oriented programming to someone who's only coded in Fortran 77?
Fixed a few spelling issues, attempted to clean up some of the sentences while keeping the meaning as close to the original as possible.
Oct
21
suggested suggested edit on How can I explain object-oriented programming to someone who's only coded in Fortran 77?
Sep
8
awarded  Yearling
Aug
12
comment What statements and approaches should I avoid when learning functional programming?
I'm afraid this question might be a bit too open-ended for this site, but in any case, I would recommend reading this post by the ever-brilliant John Carmack: altdevblogaday.com/2012/04/26/functional-programming-in-c
Jul
30
awarded  Civic Duty
Jul
15
comment What is a normal “functional lines of code” to “test lines of code” ratio?
...what citations?
Jul
5
comment Better way to search for text in two columns
@David: what, seriously? MyISAM's fulltext indexing is pretty horrible. I'm hoping that InnoDB's implementation turns out to be reasonable, though blogs.innodb.com/wp/2011/12/…
Jul
3
revised Integrated ads in phone apps - how to avoid wasting battery?
Attempting to make the title more descriptive
Jul
3
suggested suggested edit on Integrated ads in phone apps - how to avoid wasting battery?
Jun
26
comment Why is it good to split a program into multiple classes?
To make each piece of the software more simple! infoq.com/presentations/Simple-Made-Easy-QCon-London-2012
Jun
23
comment De-facto standards for customer information record
Man, I wish there was any sort of consistency in this area. I've imported customer databases from a good number of systems, and they're all over the map.