@Crell doesn’t really need the PHP hashtag, this true for any code :)
(Same here with writing code in Ruby.)
@Crell doesn’t really need the PHP hashtag, this true for any code :)
(Same here with writing code in Ruby.)
The most important question to ask yourself when deciding how to structure code is "how will I *unit* test this?"
Not integration test, not system test, unit test. Make the code easy to unit test. Most other "good code" attributes will result naturally from that.
GNU social JP is a social network, courtesy of GNU social JP管理人. It runs on GNU social, version 2.0.2-dev, available under the GNU Affero General Public License.
All GNU social JP content and data are available under the Creative Commons Attribution 3.0 license.