Skip to main content
16 events
when toggle format what by license comment
Jun 10, 2018 at 8:06 history tweeted twitter.com/StackSoftEng/status/1005722959460388864
Jun 6, 2018 at 15:18 vote accept adjordan
Jun 6, 2018 at 8:40 comment added Hulk Basically, many arguments that apply for discussing Singletons that manage access to external resources also apply for static methods - the most convincing to me is that they allow code to "lie about" (i.e. hide) dependencies softwareengineering.stackexchange.com/a/22560/187318
Jun 6, 2018 at 7:57 answer added Flater timeline score: 4
Jun 5, 2018 at 23:56 comment added Criticizing Israel not allowed What are you going to do when you have more than one of the same hardware component? Copy/paste all the methods?
Jun 5, 2018 at 23:00 answer added Arafat Hegazy timeline score: 1
Jun 5, 2018 at 17:02 answer added user949300 timeline score: 0
Jun 5, 2018 at 17:01 review Close votes
Jun 10, 2018 at 3:02
Jun 5, 2018 at 16:43 comment added gnat Possible duplicate of Is static universally "evil" for unit testing and if so why does Resharper recommend it?
Jun 5, 2018 at 16:35 answer added David Arno timeline score: 3
Jun 5, 2018 at 16:08 comment added user949300 "safe and fast because you don't have to create an object". In the network API case, you are certainly creating many objects inside the call. And, in any case, the time to create your object is small compared to network latency.
Jun 5, 2018 at 16:01 comment added Greg Burghardt To expand on @Caleth's comment: Remember that "state" does not just apply to the ones and zeroes in memory. If you call a function that moves a robot's arm, you've changed state --- in the real world --- along with all of the ramifications of doing so.
Jun 5, 2018 at 15:55 answer added Telastyn timeline score: 15
Jun 5, 2018 at 15:53 review First posts
Jun 5, 2018 at 17:32
Jun 5, 2018 at 15:50 comment added Caleth "interact with various hardware components", "There are also methods that take some input, do a GET or PUT to our API, and then return a response" -> these are the poster child examples of interacting with state
Jun 5, 2018 at 15:46 history asked adjordan CC BY-SA 4.0