Skip to main content
We’ve updated our Terms of Service. A new AI Addendum clarifies how Stack Overflow utilizes AI interactions.

Timeline for getting out of for loop

Current License: CC BY-SA 3.0

3 events
when toggle format what by license comment
Nov 18, 2012 at 12:03 comment added dantuch Ah, and btw. forgot to add to my previous comment (@Prity Akhal read it please;) ): change this dna2rna(); to: dna2rna(dna_ta.getText()); so private static void dna2rna() {(...)} will become: private static void dna2rna(String dna) :)
Nov 18, 2012 at 10:59 comment added dantuch I like that answer. It's a step towards loose coupling. Moreover dna2rna() should not return void but String with text for rna_ta.setText(returnedRna);, that way handling data presentation (View) is not that tight coupled with logic computing that data
Nov 18, 2012 at 8:41 history answered RobEarl CC BY-SA 3.0