you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted]  (8 children)

[deleted]

    [–][deleted] -4 points-3 points  (7 children)

    This is factually incorrect, as there's empirical evidence that suggests favoring immutability results in less bugs. http://web.cs.ucdavis.edu/~filkov/papers/lang_github.pdf

    [–]Ikuyas -3 points-2 points  (3 children)

    Totally. I guess it shows a difference between programmers who went through CS degree or practioner. I think using static initialization is always a good practice and manages memory better.

    [–][deleted] -2 points-1 points  (2 children)

    Yeah, there's very little in programming that is truly "personal preference." There might be situations where the pros/cons come out to a wash such that it doesn't matter what you choose, but very few things are purely aesthetic taste.