+bearND
Good call on talking to the Android folks on their Java style. bearND's reviewed quite a few of my Java patches and has been super helpful.
On Wed, May 13, 2015 at 1:22 PM, Dan Garry dgarry@wikimedia.org wrote:
For a Java style guide for the WMF, I'd recommend also looping in the Android app engineers, since they're developing in Java too. Your point of contact for them would be their tech lead, Bernd (bsitzmann@wikimedia.org, BearND on IRC).
Given Android apps are a very different domain from Java services, you may end up diverging and wanting separate Java style guides, which I think would be fine. But I thought I'd throw that out there anyway. :-)
Dan
On Tuesday, May 12, 2015, James Douglas jdouglas@wikimedia.org wrote:
Howdy search team,
Would anyone be interested in collaborating on style guides for Java, PHP, and any other languages we tend to use amongst ourselves?
It would be super handy to have a reference to reach for when considering alternative design patterns, plus it would be a lot of fun to think about how (and why) we might prefer one style over another.
It would also make a convenient way when onboarding new folks (of whom there will be many) to get them quickly ramped up on how to sling code, WMF Search Team style.
Also also it would make a convenient way for code reviewers to say "Yo James, this is totally not Haskell, stop trying to make everything a monad!".
Thoughts?
For a starting point in Java, perhaps we could use Effective Java[1] as a template, and (bias alert) sprinkle in some Functional Programming in Java[2] for good measure.
For PHP, I have no idea what I'm doing, but I have an interesting Functional Programming in PHP[3] book on my desk that y'all can borrow.
Cheers! James
http://www.amazon.com/Effective-Java-Edition-Joshua-Bloch/dp/0321356683 2. http://shop.oreilly.com/product/0636920021667.do 3. http://www.functionalphp.com/
-- Dan Garry Product Manager, Search and Discovery Wikimedia Foundation
Wikimedia-search mailing list Wikimedia-search@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikimedia-search