张红亮 | 9 Jun 2013 21:02
Favicon
Gravatar

Why is 'else' demanded?

I have a problem. Why is there always else key word in a language? Since I can use return to stop the process of a
flow. I hate to see else statement and I see I can never use else statement that only increase the complexity
of program.

A if statement stands for a condition that should be unique, and it should has no relation with anything
else. So a language does not need else and it should not appear in a program.

Sent from my iPad

------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/refactoring/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/refactoring/join
    (Yahoo! ID required)

<*> To change settings via email:
    refactoring-digest <at> yahoogroups.com 
    refactoring-fullfeatured <at> yahoogroups.com

<*> To unsubscribe from this group, send an email to:
    refactoring-unsubscribe <at> yahoogroups.com

(Continue reading)

Richard | 16 Apr 2013 22:02
Favicon
Gravatar

Mockator CDT Eclipse plugin

Has anyone tried this?

<http://mockator.com/>

-- 
"The Direct3D Graphics Pipeline" free book <http://tinyurl.com/d3d-pipeline>
     The Computer Graphics Museum <http://computergraphicsmuseum.org>
         The Terminals Wiki <http://terminals.classiccmp.org>
  Legalize Adulthood! (my blog) <http://legalizeadulthood.wordpress.com>

------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/refactoring/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/refactoring/join
    (Yahoo! ID required)

<*> To change settings via email:
    refactoring-digest <at> yahoogroups.com 
    refactoring-fullfeatured <at> yahoogroups.com

<*> To unsubscribe from this group, send an email to:
    refactoring-unsubscribe <at> yahoogroups.com
(Continue reading)

Danijel Arsenovski | 7 Apr 2013 22:55
Picon

[announcement] Refactoring Dojo Workshop in London this June

I am organizing a 3-day Refactoring Dojo Workshop in London in June in
collaboration with Skills Matter and thought that it might be of interest
to this group, so I am taking a liberty to share a few details regarding
the event.

You can find more information at:
http://bit.ly/RefDojoLondon

For a few years now I’ve been teaching refactoring using the Dojo format
since I believe it emphasizes collaborative learning through problem
solving, is a form of “deliberate practice” applied to software
craftsmanship, teaches pair programming and “swarming” in addition  to
refactoring and is actually enjoyable and fun experience.

There is also a “Bring Your Own Code” part of the Dojo where participants
are invited to bring their own real life code to the Dojo where this code
is analyzed and refactored by the group.

You can check out the summary of the second day of the Dojo held this
January in Vancouver in the form of a video affinity map narrated by one of
the participants: http://www.youtube.com/watch?v=LHz9QKSKync

Also, if you do not live in London and would like to see the Dojo in your
town, send me a tweet at  <at> darsenovski.

Thank you,

Danijel Arsenovski

[Non-text portions of this message have been removed]
(Continue reading)

alex_us01 | 16 Nov 2012 03:09
Picon
Favicon

single return from function

On the internet, I found somewhere* that the Refactoring book advocates for a single return from a function
(thus, promoting assigning values to a variable, such as result, and then say return result; at the end).

Is that true?

I couldn't find it anywhere in the online catalog.

Thanks!

* see item 8 (might change)
http://www.javalobby.org/forums/thread.jspa?forumID=61&threadID=16937

------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/refactoring/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/refactoring/join
    (Yahoo! ID required)

<*> To change settings via email:
    refactoring-digest <at> yahoogroups.com 
    refactoring-fullfeatured <at> yahoogroups.com

(Continue reading)

aishafds | 27 Oct 2012 09:37
Picon
Favicon

Refactoring process model,

Hi
Am planning to do a little research on refactoring of business process models. can you please suggest some
ways i can go about...

Was thinking of a normalization approach to the models...do you think this idea can work out ?
thanks
looking forward to your suggestions 
Aisha

------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/refactoring/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/refactoring/join
    (Yahoo! ID required)

<*> To change settings via email:
    refactoring-digest <at> yahoogroups.com 
    refactoring-fullfeatured <at> yahoogroups.com

<*> To unsubscribe from this group, send an email to:
    refactoring-unsubscribe <at> yahoogroups.com

(Continue reading)

Andrew Luo | 21 Jul 2012 17:23
Picon
Favicon

erratum on Duplicate Observed Data example

in the method EndField_FocusLost, setEnd is called before the integer validation, it should be called after:

if (isNotInteger(_endField.getText())) {
    setEnd("0");
} else {
    setEnd(_endField.getText());
}

Or this check could be moved into the observable's setter, since the integer requirement is really a
constraint of the domain.

the reasoning is that if there are other observers in the system, then they could be updated with transient
invalid values. Is this analysis correct?

Thanks for the great book,

Andrew

[Non-text portions of this message have been removed]

------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/refactoring/

<*> Your email settings:
    Individual Email | Traditional

(Continue reading)

Danny Dig | 24 Jun 2012 21:36
Picon

Summer School on Multicore Programming with Java (registration closes June 27th)

Dear Refactoring Enthusiasts,

We still have a few seats available for this year's summer school.

This year we emphasize refactoring sequential programs for
parallelism. You might know somebody who really needs to take this
programming-intensive course. I'd appreciate if you forward this
announcement to your colleagues who might be interested in learning
about parallel programming in Java. The registration closes this Wed,
June 27th.

best,
Danny

<<<<<<<<<<<<<<<<<<<<<<

2012 Summer School on Multicore Programming

Important dates:
June 27th, registration deadline
July 9-13, Event held at University of Illinois at Urbana-Champaign

Software engineering practitioners and researchers with little or no
exposure to parallelism will have an opportunity to learn about
multicore programming at the University of Illinois at Urbana-
Champaign (UIUC) during our July 9th – 13th Illinois-Intel Parallelism
Center Summer School training event. We’re excited about the new
direction that our program will be taking this year, offering a deeper
dive into Java parallel programming and the Eclipse platform.

(Continue reading)

Richard | 11 May 2012 08:17
Favicon
Gravatar

MediaWiki refactoring

I don't know if these are worth writing up formally, but I've been doing
a fair amount of work with MediaWiki lately and I've been refactoring
my content as it evolves.

Mostly the refactorings revolve around extracting templates from
similar pages in order to unify the presentation.  (In case you're
curious, it's the terminals wiki in my signature.)

For those not familiar with MediaWiki, templates are essentially a
mechanism for expanding boiler plate markup with named or positional
parameters.

So I've been doing "Extract Template" to provide boiler plate markup
shared among pages, or among other templates.

I've also noticed that in places where I need to repeat CSS style
attributes that "Extract CSS Class" would be useful.

There are other structural wiki changes that could be considered
refactorings because they don't change the content of the wiki, only
it's structural organization or presentation.  For instance, on my
wiki I have a page devoted to each terminal that is named in a
formulaic manner of "manufacturer model", so that all terminals from
the same manufacturer have the same prefix in the page name.  I use
categories to group all the terminals from a single manufacturer
together.

However, I have thought about changing the organization so that
manufacturers have a page and each terminal's page is a subpage of the
manufacturer's page.  This would give page names like mfr/model, but
(Continue reading)

refactoring-owner | 7 May 2012 15:42
Picon

spam on list

Apologies on the moderator fail. That was someone who *had* posted a legitimate message at one point, so
they were no longer moderated. With the prior message, we figured it was someone who was having
unfortunate problems with their email address, so we did not remove the member.

------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/refactoring/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/refactoring/join
    (Yahoo! ID required)

<*> To change settings via email:
    refactoring-digest <at> yahoogroups.com 
    refactoring-fullfeatured <at> yahoogroups.com

<*> To unsubscribe from this group, send an email to:
    refactoring-unsubscribe <at> yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/

Chestnutt | 5 May 2012 14:41
Picon
Favicon

Stimulate necessary growth

Why is your intimate life such a disaster? 
http://www.krs.www7.signabase.de/tide.html

------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/refactoring/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/refactoring/join
    (Yahoo! ID required)

<*> To change settings via email:
    refactoring-digest <at> yahoogroups.com 
    refactoring-fullfeatured <at> yahoogroups.com

<*> To unsubscribe from this group, send an email to:
    refactoring-unsubscribe <at> yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/

Chestnutt | 6 Apr 2012 20:36
Picon
Favicon

The best method to satisfy your girlfriend

http://leaguehax.xaa.pl/Billy.html Time for a great enjoyment in bed has 
come

------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/refactoring/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/refactoring/join
    (Yahoo! ID required)

<*> To change settings via email:
    refactoring-digest <at> yahoogroups.com 
    refactoring-fullfeatured <at> yahoogroups.com

<*> To unsubscribe from this group, send an email to:
    refactoring-unsubscribe <at> yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/


Gmane