Reputation
366
Top tag
Next privilege 500 Rep.
Access review queues
Badges
2 12
Impact
~19k people reached

  • 0 posts edited
  • 0 helpful flags
  • 16 votes cast
Feb
8
comment Why Bootstrap 3 changes camelCase to dashes - is it more readable?
@RobertHarvey agreed, and I do tend to go with convention. The discussion was basically saying that camel case is a bad convention that should be changed because it's less readable.
Feb
8
comment Why Bootstrap 3 changes camelCase to dashes - is it more readable?
@RobertHarvey the question was prompted by a discussion on Hacker News, which was itself prompted by the Bootstrap announcement. There was a lot of opinion on both sides, but no data - hence the question.
Apr
25
comment One controller per page or many pages in one controller?
@Rushino CodeIgniter can do it this way - you can put folders inside the Controllers directory. The distinction between 'apps' isn't at the database/model level, but at the controller/view level. The reason for the separation is that your backend is doing very different things, often with a completely different design. It helps with security, because you can IP restrict the entire backend directory. And it helps with development because you can work on the backend without affecting the frontend.
Apr
25
comment Which framework for HTML5 mobile web app?
This post on StackOverflow is basically the same question stackoverflow.com/questions/3031643/…
Apr
19
comment Programmers doing testing
"I've never seen a bad method of testing." I have some people to introduce you to...
Apr
18
comment How can I get programmers to stop writing code vulnerable to SQL injection?
@ReinHenrichs - Absolutely agree, you can't just implement a technical solution and hope for the best. This one is just recognising that it's easy to forget that $this->getRequest() needs to be escaped first. It depends on whether the user forgets to escape, or doesn't know how or why to escape (which this solution won't solve).
Apr
14
comment Dealing with bad job description and interviewing applicants
Yeah, I find a lot of companies go with the theory that 'Programmers know lots about computers. You need to know lots about computers to be a network administrator. Therefore programmers are also network administrators'.
Apr
14
comment Licensing for code that I find in forums or on SO?
@DeanHarding Yes fair point, hadn't thought of that.
Apr
14
comment Dealing with bad job description and interviewing applicants
Sounds like they have time to be responsible for the coffee-machine as well.
Apr
14
comment How can I get programmers to stop writing code vulnerable to SQL injection?
From a junior developer's point of view, just seeing $insecure_data raises a flag in a way that just seeing $postdata (or whatever) does not. The idea comes from Joel Spolsky's "Make wrong code look wrong". If the human nature of your developers is such to ignore that red flag, then you either need to provide a lot of training or get some new developers.
Apr
14
comment How can I get programmers to stop writing code vulnerable to SQL injection?
@RogerHalliburton Of course it doesn't solve everything, but it's a concept (a sort of design pattern, if you will) rather than a fully-fleshed out security measure to make insecure data look insecure.
Apr
14
comment Licensing for code that I find in forums or on SO?
@DeanHarding - oh I didn't know that. Just read about it here and here. So copyright statements are kind of like those pointless email footers then? -1 for me.