608 reputation
512
bio website tclayson.com
location Cambridgeshire, United Kingdom
age 23
visits member for 3 years, 9 months
seen Jul 15 '13 at 12:37

I am a professional mobile and web developer.


Nov
23
awarded  Yearling
Nov
23
awarded  Popular Question
Jun
10
awarded  Notable Question
May
19
awarded  Good Answer
May
1
comment How do you keep track of what classes and functions your team has written?
I'm not sure if this answer really helps on a small scale. We're having the same issues in our team. For instance we've started doing a lot of manual date formatting, so I've moved all the code into a class called DateFormatter. The next time someone wants to format a date instead of writing out yet another formatting function it would be better to put it through that class. Putting this one class into an external library seems like overkill, so letting my colleagues know (and making sure they remember to use it) is still an issue.
Apr
23
accepted Why did Apple choose to design its programming language with future and past tense method names?
Apr
23
comment Why did Apple choose to design its programming language with future and past tense method names?
This sounds like a really reasonable and logical explanation. It does sound much better to call [viewController viewWillAppear] than [viewController onViewAboutToAppear].
Apr
22
awarded  Yearling
Apr
22
asked Why did Apple choose to design its programming language with future and past tense method names?
Mar
14
awarded  Nice Answer
Mar
14
comment Why use a database instead of just saving your data to disk?
Yes exactly. (Didn't realise it was Node.js). Its not just that, in its most basic form it means that you don't have to write specific code for each lookup you want to do to find the information you need to find. Its the same process (1 sql query) to look up any field of any record, aggregate/average the results and much more. If you need any more insight let me know, I'm not a database expert but I have used them for as long as I can remember.
Mar
14
comment Why use a database instead of just saving your data to disk?
Your last point is potentially correct, but then I could be working from old data - specifically, if I open your program, load the current database then 5 mins later someone else logs on and edits something, my database is now a later version until I quit the program and start it again. If I then edit my database and save it again I'll overwrite any changes that the other user made. When you've got a user's database this could be anything from just changing your password. If two users change their password during each others sessions then one user will have their change reversed.
Mar
14
comment Why use a database instead of just saving your data to disk?
1. Please don't ever load all of your user information into client side code! (I'm sure it was only an example) 2. Loading that in the first place from a file 100s of MB large will take a while. 3. You're example is correct, however it assume that you're only ever going to search by username. What happens if you want to store more data about a user? e.g. Age. Now you want to search for all users who are between the ages of 20-30. Or even simpler, find a user by address when your json looks like this: {login:{pass:pass,add1:"123 sasd",city:"Wherever"}}.
Mar
14
revised Why use a database instead of just saving your data to disk?
added 655 characters in body
Mar
14
answered Why use a database instead of just saving your data to disk?
Nov
4
awarded  Popular Question
Feb
21
awarded  Yearling
Nov
6
awarded  Nice Question
Oct
24
revised How can we plan projects realistically while accounting for support issues?
deleted 202 characters in body
Oct
24
revised How can we plan projects realistically while accounting for support issues?
added 251 characters in body