139
u/adamnemecek May 05 '15
this actually isn't the worst thing ever if you consider that an oval is just a rectangle with corner radius set to max.
80
u/tian447 May 05 '15
I see the programmer has appeared.
63
u/adamnemecek May 05 '15
dude, i've been dealing with this shit since kindergarten http://i.imgur.com/1liCNx1.jpg
4
0
May 06 '15
[deleted]
20
u/gnarbucketz May 06 '15 edited Jun 08 '15
...like putting Windows 8 pegs in Windows 7 holes.
(I'm still working on this joke)
Edit: I am no longer working on this joke.
42
u/myhf May 06 '15
57
u/_LePancakeMan May 06 '15
where is your god now? https://imgur.com/fWcYP9g
11
1
u/Tarmen May 06 '15
I mean, you also could change the norm and say both are the same shape, I guess?
0
May 06 '15
[deleted]
1
u/adamnemecek May 06 '15
if you are talking about css, then maybe (i'm not actually sure) but it is in the 'general' case.
0
6
u/pkillian May 06 '15
Ignoring the fact that an oval shouldn't inherit from a rectangle, at least keep defined strings in PR1Shape as a sort of registry of possible shapes.
5
u/Kristler May 06 '15
That translucency made me think hoverzoom had suddenly gained an opacity slider.
4
6
u/Rescommunes May 06 '15
What's a PR10 val?
10
u/novelty_string May 06 '15
PR10 sites are worth quite a bit actually, I'd guess somewhere between 8 cents and eleventy billion doubloons.
2
u/hearwa May 06 '15
I hope the programmer at least felt a little dirty when writing that class definition.
32
u/pitibow May 05 '15
I did this to save myself some coding. Ovals and rectangles both have an x, a y, a width, a height, etc... they're stored the same way, just drawn differently. Was doing some GUI programming and I didn't want to make more change listeners.