Comment Re:two issues here (Score 1) 459
Um - generally if I write a class or function or something that might be useful again, I put it in a seperate file and require() it - you can put it in a seperate folder and call it from multiple projects. Places like phpclasses.org index these (although admittedly much of what is there is librarys, if you can really see a difference). Can you give an example (excluding namespaces, which I think we all already know about and from my experience aren't actually that useful - as long as you name your classes properly) of a language that does encourage this? And how it does it?