Rian Nolan

Greenhorn
+ Follow
since Jun 21, 2006
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Rian Nolan

Nice one Ed
13 years ago
Ayyyyyyyyyyyyyyyyyyyyy
1 down, 3 ta go
13 years ago
Weird. The tests:
all return true, but
throws "incomparable types" at compile time
WELL worth it Katrina

Thanks a millon!
Brian
14 years ago
...so I have saved myself a private nitpick by undergoing a public one?
Way to go - me.

Thanks for that Katrina - it DOES look and feel more readable.
Ever onward with Java-4b (Say)...
14 years ago
Hi there

If I have (for instance) a method that takes an int and a String:
...what is the JAVA way of handing the output of the method back in to the method multiple times?

I figure I could nest it:

...but I'm not sure that that feels like the way it should be done.

Is there a "standard" way?

Full disclosure - I may just be trying to save myself from a nitpick here ;-)

Cheers,
Brian
14 years ago
Found these threads which managed to cover off all of my concerns about unrolling loops and not using ternary operators:
Nice to know that I'm not completely off the beaten track!
Math, Ternaries, Passing and Returning
Say 4b - completely stumped
...so attempt#2 with ifs everywhere, and nested loops unrolled is on its way...
14 years ago
I'm a bit befuddled in 4b(Say) at the moment.
I have it "working" in the broadest possible sense, but I'm obviously overcomplicating matters somewhat, as one of the nitpicks was:

You are putting a whole lot of effort into setting things up so you can use a loop... 3 times. 4 at the most.
I'd like you to "unroll" the loop, hard code each instance, and we'll take it from there.


...and I'm not not quite sure how to "unroll" a loop (or loops)
Should I go from this:

to (something like) this:

Any advice on unrolling loops?
Should I stop rolling my own?
Cheers,
Brian.
14 years ago