342 karma · joined February 7, 2011
Cool idea!
I don't appreciate the downvote.
y' y
- = -
z' z'
in the first line. The z' on the bottom right should be just a z, right?
Other than that, this is perfectly clear, and I understood it even though I just came out of high school and haven't started college yet! Absolutely fantastic work!EDIT: Fraction format
In this day and age, do you really need $100,000 to get a company into beta? What are they spending all that money on, apart from a swanky office?
class Shape(Root):
def __init__(self, **kwds):
self.shapename = kwds.pop('shapename')
super().__init__(**kwds)
class ColoredShape(Shape):
def __init__(self, **kwds):
self.color = kwds.pop('color')
super().__init__(**kwds)
I would personally just have written this somewhat similar to this: class Shape(Root):
def __init__(self, shapename):
self.shapename = shapename
super().__init__()
class ColoredShape(Shape):
def __init__(self, shapename, color):
self.shapename = shapename
self.color = color
super().__init__(shapename)
But then again I'm by no means what anyone could call a Python 'Jedi'. Can anyone explain to me why using kwds in this way would be better? Would it not lead to having to look up the declaration of the class for the exact names of arguments to pop() every time?( http://en.wikipedia.org/wiki/Adobe_Flash#Adobe_Flash_Profess... )
And yes, I am not taking school seriously at all. My punctuality is terrible, I think I can honestly count on one hand the number of days I haven't been late this year (and I live close to the school). I skip classes in which I feel I am wasting my time (religion, anyone?), and have gotten several detentions, etc. because of it. In many ways, my track record in the school (I got a full scholarship for secondary schooling based on an exam in sixth grade, I was the only person in my year to have received an offer from Cambridge etc.), and resulting from that my relationship with the teachers, is the only thing that has kept me afloat in this school.
I have a huge problem with the Irish Leaving Certificate, an exam which in my opinion teaches you exactly two things: How to learn things off by heart, and how to write fast. It has nothing to do with intelligence or skill, but just the number of hours spent memorising pre-written notes, and being able to spit it out onto the page in two hours during the exam. I am utterly bored by it, and so I spend a lot of time in class on my iPhone, checking the news, reading RSS feeds, Hacker News, etc.
This frenetic burst of activity, followed by a period of "[doing] nothing but [strumming] his guitar and [lying] around in bed for several days" completely describes me, except you'd have to replace strumming the guitar with lurking on Hacker News! ;) I have never found anything wrong with that before, and to be honest, this description of being "bipolar" struck me - is there really anything wrong with this sort of behaviour?
This article certainly paints a fairly grim picture for my future university life, if my personality is truly as reflected in the article as I can see it to be at the moment!
Anyway, it was truly enlightening to have found this now, before I'm even at university - I have only now become aware of my attitude. We'll see how things pan out for me, if I'll be "scraping along the bottom" or end up on top...
(This is my first comment here, even though I have been following along for a fairly long time.)