Skip to main content

Timeline for Rectangle Class

Current License: CC BY-SA 3.0

13 events
when toggle format what by license comment
May 17 at 4:25 comment added Short Int Actually readonly fields can be changed using reflection
May 19, 2019 at 8:16 comment added dfhwze @Trauer I am not a big fan of GetHashCode being hyper-optimized for uniqueness. Its purpose is to serve as a bucket id in hash tables to speed up lookup before doing equality checks. X ^ Y ^ Width ^ Height would do just fine.
Feb 20, 2017 at 14:26 vote accept Trauer
Feb 20, 2017 at 8:09 comment added JanDotNet Oh, and I'm using public readonly fields (instead of get only properties) to make sure that even I can't change their values by accident: "get only properties" can't be changed as well.
Feb 20, 2017 at 7:53 answer added Heslacher timeline score: 4
Feb 20, 2017 at 6:52 comment added Svek If you're trying hard to decouple and eliminate dependencies, why not go a step further and get rid of Point and Size?
Feb 20, 2017 at 4:56 history edited Trauer CC BY-SA 3.0
added 513 characters in body
Feb 19, 2017 at 16:34 comment added Trauer By all means, please do.
Feb 19, 2017 at 16:23 comment added t3chb0t This is a nice QA list you've added and the answers seem to be resonable - although they mean a lot of work - but - this also means you will probably have more questions so I'm looking forward to reviewing them too - should I have something to comment on ;-)
Feb 19, 2017 at 14:54 history edited Trauer CC BY-SA 3.0
added 2118 characters in body
Feb 18, 2017 at 21:53 answer added t3chb0t timeline score: 4
Feb 18, 2017 at 20:50 answer added JanDotNet timeline score: 3
Feb 18, 2017 at 20:24 history asked Trauer CC BY-SA 3.0