1,286 reputation
814
bio website
location
age
visits member for 3 years, 5 months
seen Mar 30 at 10:27

Being relatively anonymous allows me to submit the stupid questions that other people are too afraid to ask.


Sep
14
comment Documentation often ommits to specify which flavour of regular expression to use, so is there a default flavour that we should all be familiar with?
So, as a php developer (where there's been a choice of pattern for years) I find it weird that the flavour is not specified. But, for most people, there is often no choice within a particular context so its weirder to specify it. Aaaaagh. I geddit now. Cheers for that.
Sep
14
accepted Documentation often ommits to specify which flavour of regular expression to use, so is there a default flavour that we should all be familiar with?
Sep
14
comment Documentation often ommits to specify which flavour of regular expression to use, so is there a default flavour that we should all be familiar with?
@Craige - Thanks for that.
Sep
14
revised Documentation often ommits to specify which flavour of regular expression to use, so is there a default flavour that we should all be familiar with?
edited title
Sep
14
comment Documentation often ommits to specify which flavour of regular expression to use, so is there a default flavour that we should all be familiar with?
@Craige - well i was just giving examples. Its generally handy to know what the syntax is rather than what its not.
Sep
14
revised Documentation often ommits to specify which flavour of regular expression to use, so is there a default flavour that we should all be familiar with?
added 121 characters in body
Sep
14
revised Documentation often ommits to specify which flavour of regular expression to use, so is there a default flavour that we should all be familiar with?
added 123 characters in body
Sep
14
comment Documentation often ommits to specify which flavour of regular expression to use, so is there a default flavour that we should all be familiar with?
Added example - as requested.
Sep
14
revised Documentation often ommits to specify which flavour of regular expression to use, so is there a default flavour that we should all be familiar with?
added 123 characters in body
Sep
14
revised Documentation often ommits to specify which flavour of regular expression to use, so is there a default flavour that we should all be familiar with?
toned down my exageration
Sep
14
comment Documentation often ommits to specify which flavour of regular expression to use, so is there a default flavour that we should all be familiar with?
@Thomas and Rook - yes. At my last place of work I was glared at for wasting time adding some text that specifies the type of regular expression to our User Documentation. It made me feel stupid , hence the question.
Sep
14
comment Documentation often ommits to specify which flavour of regular expression to use, so is there a default flavour that we should all be familiar with?
Thanks for the reassuring reply. I must have wasted hours trying to discover which syntax and like you say it almost always ends up as PCRE... I think i'll just go with it from now on and save time.
Sep
14
asked Documentation often ommits to specify which flavour of regular expression to use, so is there a default flavour that we should all be familiar with?
Jul
14
comment How do I “ease into” programming coming from a designer background?
To add to my previous comment.... if you don't already use it... learn about 'version control' (git or svn etc) as soon as possible. That's probably the best way to avoid getting 'lost in the black hole'.
Jul
14
comment How do I “ease into” programming coming from a designer background?
I started learning PHP for the exact same reasons as you and it was definitely worthwhile. I spent a month reading a book from cover to cover (not entirely understanding all of it upon first reading). You are lucky. I think having 'a need to get things done' is the best way to learn programming. By the end of the first reading of the book I was buzzing with ideas on how to solve all those labourous tasks and work-arounds that I'd been doing before. I then read the first few chapters again experimenting as I went and have not looked back since.
Jul
14
comment Working as a sole developer: getting code looked over
If you can afford it, this is one reason why its good to rent an office/desk in a business park (ideally where IT people cluster). I had many good chats with the IT people in my neighbouring offices when I was a lone-programmer working in an office.
Jul
14
comment What do you do when you have nothing to do?
I agree, going with a plan is better than going with no plan at all. I have modified the answer to make it explicit that the important thing is to ensure that the boss is aware of the issue.
Jul
14
revised What do you do when you have nothing to do?
added 14 characters in body
Jul
14
comment Why is using 'final' on a class really so bad?
Well that puts a spanner in the works. This late arrival contradicts all the other answers. Now I do not know what to believe :o. (Unticked my accepted answer and hold off decision during re-trial)
Jul
14
answered What do you do when you have nothing to do?