471 reputation
315
bio website
location San Francisco, CA
age
visits member for 2 years
seen Oct 23 at 16:41

When I don't code, I climb, cook, or cuddle my wife.


Dec
17
awarded  Yearling
Sep
24
awarded  Autobiographer
Jul
2
awarded  Curious
May
19
comment Direct database manipulation an anti-pattern?
@jordan: Great point!
May
19
revised Direct database manipulation an anti-pattern?
added 56 characters in body
May
19
comment Direct database manipulation an anti-pattern?
Thanks for your insight! Would you say that a stored procedure that does only use UPDATE, INSERT, DELETE or SELECT, but does so on multiple tables, since the db is normalized is an anti-pattern? In other words, are you saying that stored procedures that are purely wrapper functions for native sql are to be avoided?
May
19
comment Direct database manipulation an anti-pattern?
@jordan: Thanks! I don't know much about triggers. I'll spend some time and investigate.
May
19
comment Direct database manipulation an anti-pattern?
I agree that there should not be any business logic in the database, but lets say I have a normalized DB and inserting an object into the DB requires updating several tables. In my opinion the business logic should not have to know that x number of tables need to be updated...
May
19
asked Direct database manipulation an anti-pattern?
Mar
23
accepted Should I refactor large functions that mostly consist of one regex?
Mar
23
awarded  Popular Question
Mar
7
revised Should I refactor large functions that mostly consist of one regex?
Attempt to make the question more clear to address the close votes.
Mar
6
comment Should I refactor large functions that mostly consist of one regex?
I'd love to learn a new skill. Any good resources you can suggest? I am interested in the theory behind it as well.
Mar
6
comment Should I refactor large functions that mostly consist of one regex?
I use the verbose flag, which is even more convenient than what you are suggesting.
Mar
6
comment Should I refactor large functions that mostly consist of one regex?
I have thought about this myself. The issue is that the input is prose and I am taking cues from context and formatting. If it is possible to write a parser for something like this, I would love to learn more about it! I couldn't find anything myself.
Mar
6
comment Should I refactor large functions that mostly consist of one regex?
@lortabac: The input is user generated text (prose.)
Mar
6
awarded  Nice Question
Mar
6
revised Should I refactor large functions that mostly consist of one regex?
added 78 characters in body
Mar
6
asked Should I refactor large functions that mostly consist of one regex?
Feb
26
accepted Developing only for 64 bit servers a bad idea?