Timeline for Make methods that do not depend on instance fields, static?
Current License: CC BY-SA 3.0
8 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Sep 2, 2021 at 10:58 | comment | added | mleonard | For the curious, the blog author does indeed use the word "exuberates". web.archive.org/web/20210117132451/https://dzone.com/articles/… Presumably they had in mind the word exacerbates. | |
| Dec 27, 2018 at 11:06 | comment | added | Per Lundberg | @assylias It does, but it also discusses how factory methods can make testing harder (since it tightly couples dependencies in the application). Using a dependency injection framework is one of the best workarounds for this, and it also solves many other problems as well. | |
| Apr 1, 2014 at 22:43 | comment | added | assylias | There is an important distinction between static methods with and without side effects. The Google extract really addresses the former. | |
| Apr 1, 2014 at 15:09 | comment | added | Konrad Morawski | By the way, ReSharper (made by JetBrains for C# / Visual Studio) suggests the same thing | |
| Oct 30, 2013 at 9:07 | vote | accept | Random42 | ||
| Oct 30, 2013 at 7:23 | history | edited | gnat | CC BY-SA 3.0 | minor formatting correction |
| Oct 29, 2013 at 19:57 | history | edited | gnat | CC BY-SA 3.0 | overquoting /off |
| Oct 29, 2013 at 19:48 | history | answered | gnat | CC BY-SA 3.0 |