Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
import notexistinglibrary.Alphabet;
public static void main(String[] args) {
final char[] alpha = new Alphabet().to Array();
StringBuilder sb = new StringBuilder();
for(int i = 0; i < 30; i++) {
sb.append(alpha[ThreadLocalRandom.current().nextInt(0,alpha.length)]);
}
System.out.print(sb.toString());
} -
@mr-user
Spans = value type, stack allocated memory slice data structure of any T[] that are comparable.
https://docs.microsoft.com/en-us/...
Ropes = data structure for tree-ref fast concatenation
https://iq.opengenus.org/rope-data-... -
@SortOfTested as English is not my native language, could you explain what you mean by that?
-
@Ranchu
It's in my reply to @mr-user, just some data structures that make the stringbuilder dance way faster and more terse -
ViRaS19864y@maces Sharpners, Sharp-Darts, Netizens, Net Reactors,
C-Men (from Big Bang Theory, @rutee07 can explain if you don't get the pun)
Related Rants
-
vergil32Who, after switching to Linux, started naming their files and folders without spaces?
-
Teezha16First day at new web dev job: Me: what IDE do you guys use? Coworker: Notepad/notepad++ M: Okay... Any version...
-
fsociety0013In all honesty, if there was a course on giving variables good, informative and not completely stupid names......
I have to give my dev team a name,
I thought of funny stuff like nullexception, //to do, etc but im really looking for an epic name help out fellow devs something epic and subtly funny
rant
naming
help me
naming things