#include <iostream> #include <vector> #include <algorithm> ...
C++ The 3n+1 problem
by https://me.yahoo.com/a/PdY5mndw1tV8wEfh9xk0bSYa9tKf5g.hRlk-,
February 15, 2011 22:59,
5 refactorings, tagged with refactor, c++ algorithm, refractoring, beginner, problem
class UsersController < ApplicationController before_filter :authorize before_filter :find_user, :only => [:edit, :update, :destroy] ...
Ruby Code Duplication
by xystus777.myopenid.com,
November 26, 2010 10:15,
2 refactorings, tagged with rails, ruby, refactor, params, format, duplication
Any idea how I can refactor...
ls = LineStream.new(true)
bl = ls.retrieve
line_msg = ls.messagize(bl, false) # long format
...
Ruby Checking validity of messag...
I have an ActivityStrea...
package engine; import junit.framework.Assert; ...
Java Refactor, fix and optimize ...
by programmer-offsite,
April 20, 2009 14:15,
5 refactorings, tagged with java, refactor, strings, character, optimize
While tuning the applicatio...
What improvements can be ma...