def remove_blanks(hash)
    values = {}
    hash.each do |k,v|
...

Ruby Clear a hash of empty strin...

by Nikos D., March 08, 2011 20:59, 2 refactorings, tagged with speed, ruby, recursion, readability

Any ideas for better implem...

59bbe3780ec28c45b4945f00435efeb3 Talk
//2. Complex timer tick event method - It is suitable extract foreach cycles in this methods to the separate methods?

        private void DispatcherTimerForPing_Tick(object sender, EventArgs eventArgs)
...

C# simplify the timer tick met...

by https://www.google.com/accounts/o8/id?id=AItOawnHEON1clAcojjad6LcdjWlIMytK_DPJKQ, January 24, 2011 17:30, 2 refactorings, tagged with short, readability, simplify

My problem is that I use in...

55502f40dc8b7c769880b10874abc9d0 Talk
//Constructors has many arguments

        [ImportingConstructor]
...

C# simplify the constructor

by https://www.google.com/accounts/o8/id?id=AItOawnHEON1clAcojjad6LcdjWlIMytK_DPJKQ, January 24, 2011 17:27, 2 refactorings, tagged with short, readability

Hi, I use caliburn micro as...

55502f40dc8b7c769880b10874abc9d0 Talk
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
        {
            string colName = parameter.ToString();
...

C# if / switch horror

by https://www.google.com/accounts/o8/id?id=AItOawnHEON1clAcojjad6LcdjWlIMytK_DPJKQ, January 24, 2011 16:35, 6 refactorings, tagged with short, readability

Hi, I try refractor this ho...

55502f40dc8b7c769880b10874abc9d0 Talk
<?php
$skipOptionalParts = FALSE;
$optionalPartCount = 0;
...

PHP Bad readability in Routing ...

by bwaidelich, December 08, 2008 11:23, 3 refactorings, tagged with routing, complexity, readability

Hi everyone!
I'm working o...

D62b047db8637387d58c603647becdee Talk