class Competitor
{
    public $CompetitorID;
...

PHP Make a repository DRYer

by Ants, December 21, 2011 23:59, No refactoring, tagged with mysql, DRY, repository

I need suggestions on how t...

F9a9ba6663645458aa8630157ed5e71e Talk
if @image.update_attributes params[:product_image]
  if request.xhr?
    render :json => { :status => 'success', :data => {:message => I18n.t('product_image.results.reordered')} }
...

Ruby DRY up a controller action

by Nick, August 05, 2011 11:13, 6 refactorings, tagged with rails, ruby, controller, DRY

Any suggestions for DRYing ...

49de4cd2f26705785cbef2b15a9df7aa Talk
public static class Fnv1Hash
{
    public static uint ComputeHash32(IEnumerable<byte> bytes)
...

C# FNV-1 and FNV-1a Hash for 3...

by Ants, June 27, 2011 13:00, 11 refactorings, tagged with speed, clarity, FNV, DRY

There has to be a better wa...

F9a9ba6663645458aa8630157ed5e71e Talk