1,219 reputation
3819
bio website
location Minneapolis, MN
age 35
visits member for 3 years, 6 months
seen yesterday

Linux, Open Source, Libraries, & Information Literacy Advocate, PHP Developer, insufferable Rails n00b.


Jan
7
awarded  Yearling
Nov
14
comment Fast cold start text editor
@iveqy This was a suggestion alternative to a full graphical IDE which is 2 orders of magnitude slower than Vim. Fully loaded with plugins my Vim config will load most files in about 400ms. A bare configuration for me is closer to ~150ms. I have no doubt that lpe (which doesn't appear to have been updated since 2000) is fast, but would have kind of a high barrier to entry for a Windows user as the OP was.
Sep
5
awarded  Civic Duty
Jul
27
comment Javascript idioms this that vs this self
I don't think either is truly the convention, but self does seem to have become more common, and is certainly easier to understand contextually than that.
Jun
4
awarded  Fanatic
May
17
comment Pass around record ids in the url in PHP
You mean to say they are hashed somehow? 001 certainly doesn't look encrypted to me :)
Mar
1
comment What can I do to maintain respect for a poorly written codebase?
Dilbert suggests a "code mocking" session. dilbert.com/fast/2013-02-24
Feb
25
awarded  Constituent
Feb
18
awarded  Caucus
Feb
17
awarded  Informed
Feb
8
comment Is declaring fields on classes actually harmful in PHP?
@MarkAmery Note also that the visibility keywords are parsed by automated documentation tools, so they give more "documentation value" than just a comment you would put in manually.
Feb
8
comment Is declaring fields on classes actually harmful in PHP?
@MarkAmery I would think that a frantically-paced startup is among the most important places to adopt strict unit testing - since you're always changing code, you're likely always breaking it. That's really the exact purpose of strict testing and flat-out TDD. Yeah, I guess using underscores may help you remember you're accessing private stuff, but for me the idea of adopting specific coding standards to protect me from making errors I shouldn't be making is unsettling. Like doing TRUE === $variable to prevent yourself from accidentally assigning instead of comparing.
Feb
8
comment Is declaring fields on classes actually harmful in PHP?
Really, the way to protect yourself from these errors is with careful error checking and better, via unit testing.
Feb
8
comment Is declaring fields on classes actually harmful in PHP?
Arguably useful? The benefits you stated are extremely important. I would probably flatly refuse to work on code that had no explicit property declarations.
Feb
8
comment Developers taking code home - how bad is it?
They could email the code to themselves now. You need to have written policies, and you need to trust your people.
Feb
8
comment Developers taking code home - how bad is it?
Does your company have written rules about this? If it is a concern, then you should.
Jan
13
comment How to protect my php code running on a client server?
@s4uadmin You're unlikely to find developers both interested in open source or free software, also willing to work on a project that actively closes source code via obfuscation or encryption.
Jan
7
awarded  Yearling
Aug
12
comment Why does PHP have interfaces?
And remember that interfaces aren't only about typing. An interface is a contract stating that an implementing class must include the methods it lays out. Useful for things like plugin engines.
Jun
8
awarded  Constituent