661 reputation
517
bio website linkedin.com/in/jamespoulson
location Belgium
age
visits member for 4 years, 2 months
seen 7 hours ago

Working on getting a bachelor's degree and specializing in Java.

Email: http://www.google.com/recaptcha/mailhide/d?k=01bAFtpP0H2MRIgFlNka5Lpw==&c=KvU68hI3HAlpXUPSLJ6M822HbkfwWPfvvKZ8eNMtN-k= (reCAPTCHA)

Blog@Developpez.com: http://blog.developpez.com/james-poulson/

MySpace: http://www.myspace.com/jamespoulson

User page at Wikipedia: http://en.wikipedia.org/wiki/User:JamesPoulson

"The older I get, the more I see a straight path where I want to go. If you’re going to hunt elephants, don’t get off the trail for a rabbit." - T. Boone Pickens


Oct
28
accepted Selling software instead of on-demand work
Oct
28
comment Selling software instead of on-demand work
That sounds fine. I can handle some stress and doing on-demand on a familiar environment is not a problem. It's the work where stuff has to be done quickly (like yesterday ?) and needs to be flawless that I can't handle. I guess that will come with experience :)
Oct
28
asked Selling software instead of on-demand work
Oct
8
comment What algorithms can I use to detect if articles or posts are duplicates?
If it's an exact match you could simply set a field to unique. If not, you'd need to decide at what point a text can be considered a copy or a closely derived work.
Sep
21
awarded  Yearling
Aug
27
accepted Drawing out a document with strategies for coping with “disasters”
Aug
27
accepted Pricing of a collaborative work
Aug
27
awarded  Notable Question
Aug
24
comment Is defining a variable to name a method argument a good practice?
True. It seems unusual at first sight but it's similar to the inline pseudo objects that can exist in some languages.
Aug
23
revised Is defining a variable to name a method argument a good practice?
added 3 characters in body
Aug
23
comment Is defining a variable to name a method argument a good practice?
That's the "downside" to loosely typed languages. You can't really enforce a signature without some validation. I didn't know you could add names like that in JS.
Aug
23
comment Is defining a variable to name a method argument a good practice?
@GlenPeterson A factory is a possibility and is possible in Javascript (mentionned by OP).
Aug
23
comment Is defining a variable to name a method argument a good practice?
@Duopixel I've added some alternatives to consider just to add a bit of "crazy" to the question :)
Aug
23
revised Is defining a variable to name a method argument a good practice?
added 62 characters in body
Aug
23
answered Is defining a variable to name a method argument a good practice?
Aug
23
comment Is defining a variable to name a method argument a good practice?
There are arguments against using enumerations. I'm simply bringing them up for two advantages: readability and restriction to a set of values.
Aug
23
accepted A place for putting code samples in projects
Aug
23
comment Is defining a variable to name a method argument a good practice?
If the language supports it you could use an enumeration such as doSomething( Undo.PREVENT )
Aug
23
comment Is defining a variable to name a method argument a good practice?
Just to add, if you're using OO n°2 could be made into some sort of Builder. Also, if the language has support for enumerations you could add some semantics to the parameter being passed.
Aug
15
revised A place for putting code samples in projects
deleted 139 characters in body