« first day (320 days earlier)      last day (220 days later) » 

12:38 PM
If your first language was python, and you then learn Java:
 
 
2 hours later…
3:05 PM
@flawr This is both hilarious and horrifying. Hilarrifying?
 
3:17 PM
> Use whatever brace style you prefer.
public class Permuter
{
    private static void permute(int n, char[] a)
    {
        if (n == 0)
        {
            System.out.println(String.valueOf(a));
        }
        else
        {
            for (int i = 0; i <= n; i++)
            {
                permute(n-1, a);
                swap(a, n % 2 == 0 ? i : 0, n);
    }   }   }

    private static void swap(char[] a, int i, int j)
    {
        char saved = a[i];
        a[i] = a[j];
        a[j] = saved;
}   }
 
3:58 PM
@MartinEnder you know...I could actually live with that
I'd prefer to put starting braces on the same line
but I kind of like the multiple closing braces on the same line
I mean, it looks like the opening brace matches the closing brace on the same column, which isn't technically true, but for all intents and purposes, its true
 
 
5 hours later…
8:34 PM
@MartinEnder That made me shudder at first glance, but it's growing on me. I kind of like it.
 
well, Retina's syntax actually works like that... (for... reasons...)
 
Been learning how to use regex recently, maybe I should see if I can understand Retina now...
 
oh, nice... let me know if you have any questions :)
(there's a Retina room you could unfreeze if you do)
 
I may well take you up on that, probably in around 2 weeks
 
no rush :)
 
8:42 PM
:)
 

« first day (320 days earlier)      last day (220 days later) »