On Mon, 28 Apr 2008 07:02:30 -0700 (PDT)
Patryk Szymczak <patryk.szymc
...@gmail.com> wrote:
> Pytanie powinno brzmieć: co Ty (jako potencjalny kandydat) rozumiesz
> przez znajomość technologii X. Spójrz na siebie z trochę innej
> perspektywy. Sam zadaj sobie pytanie "jak ocenić moje zdolności/moją
> wiedzę?" i pomyśl nad tym.
Więc odpowiem ci na to pytanie bardzo prosto, pythona znam dobrze i
duzo w nim pisze, ale nie przeszedl bym przez twoj filtr bo nie znam
10 modulow z biblioteki standardowej na tyle zeby uzywac ich bez
dokumentacji.
> W tym momencie, dyskusja pomiędzy nami, straciła dla mnie sens. Mam
> nadzieję, że się tylko ze mną drażniłeś.
Mnie interesuje kwestja jak zweryfikujesz znajomosc dziesieciu modolow.
Kazesz wyresytowac 50% procent funkcji/klas wraz z metodami z tych
modolow? Czy moze zadasz 10 losowych jak to sie mowi z dupy wzietych
pytan o te funkcje? Taki sposob weryfikacji wydaje mi sie zupelnie
bezsensu, na potwierdzenie tego sporoboj wyrecytowac chociaz 50% metod
tak podstawowych obiektow jak float, int, string, list, dict i wez pod
uwage ze 50% to za malo zeby zaliczyc klasowke czy kolowkium, a daje
glowe ze 90% *dobrych* programistow pythona z tródem wyrecytuje ponad
50% tych funkcji, a tu masz odpowiedz dlaczego(pod nia jest dalszy
ciag posta):
>>> l = [dict, list, map, str, float]
>>> dir(l)
['__add__', '__class__', '__contains__', '__delattr__', '__delitem__',
'__delsli
ce__', '__doc__', '__eq__', '__ge__', '__getattribute__',
'__getitem__',
'__gets
lice__', '__gt__', '__hash__', '__iadd__', '__imul__', '__init__',
'__iter__',
'
__le__', '__len__', '__lt__', '__mul__', '__ne__', '__new__',
'__reduce__',
'__r
educe_ex__', '__repr__', '__reversed__', '__rmul__', '__setattr__',
'__setitem__
', '__setslice__', '__str__', 'append', 'count', 'extend', 'index',
'insert',
'p op',
'remove', 'reverse', 'sort']
>>> l = [dict, list, map, str, float]
>>> for i in l: dir(l)
...
['__add__', '__class__', '__contains__', '__delattr__', '__delitem__',
'__delsli
ce__', '__doc__', '__eq__', '__ge__', '__getattribute__',
'__getitem__',
'__gets
lice__', '__gt__', '__hash__', '__iadd__', '__imul__', '__init__',
'__iter__',
'
__le__', '__len__', '__lt__', '__mul__', '__ne__', '__new__',
'__reduce__',
'__r
educe_ex__', '__repr__', '__reversed__', '__rmul__', '__setattr__',
'__setitem__
', '__setslice__', '__str__', 'append', 'count', 'extend', 'index',
'insert',
'p op',
'remove', 'reverse', 'sort'] ['__add__', '__class__', '__contains__',
'__delattr__', '__delitem__',
'__delsli
ce__', '__doc__', '__eq__', '__ge__', '__getattribute__',
'__getitem__',
'__gets
lice__', '__gt__', '__hash__', '__iadd__', '__imul__', '__init__',
'__iter__',
'
__le__', '__len__', '__lt__', '__mul__', '__ne__', '__new__',
'__reduce__',
'__r
educe_ex__', '__repr__', '__reversed__', '__rmul__', '__setattr__',
'__setitem__
', '__setslice__', '__str__', 'append', 'count', 'extend', 'index',
'insert',
'p op',
'remove', 'reverse', 'sort'] ['__add__', '__class__', '__contains__',
'__delattr__', '__delitem__',
'__delsli
ce__', '__doc__', '__eq__', '__ge__', '__getattribute__',
'__getitem__',
'__gets
lice__', '__gt__', '__hash__', '__iadd__', '__imul__', '__init__',
'__iter__',
'
__le__', '__len__', '__lt__', '__mul__', '__ne__', '__new__',
'__reduce__',
'__r
educe_ex__', '__repr__', '__reversed__', '__rmul__', '__setattr__',
'__setitem__
', '__setslice__', '__str__', 'append', 'count', 'extend', 'index',
'insert',
'p op',
'remove', 'reverse', 'sort'] ['__add__', '__class__', '__contains__',
'__delattr__', '__delitem__',
'__delsli
ce__', '__doc__', '__eq__', '__ge__', '__getattribute__',
'__getitem__',
'__gets
lice__', '__gt__', '__hash__', '__iadd__', '__imul__', '__init__',
'__iter__',
'
__le__', '__len__', '__lt__', '__mul__', '__ne__', '__new__',
'__reduce__',
'__r
educe_ex__', '__repr__', '__reversed__', '__rmul__', '__setattr__',
'__setitem__
', '__setslice__', '__str__', 'append', 'count', 'extend', 'index',
'insert',
'p op',
'remove', 'reverse', 'sort'] ['__add__', '__class__', '__contains__',
'__delattr__', '__delitem__',
'__delsli
ce__', '__doc__', '__eq__', '__ge__', '__getattribute__',
'__getitem__',
'__gets
lice__', '__gt__', '__hash__', '__iadd__', '__imul__', '__init__',
'__iter__',
'
__le__', '__len__', '__lt__', '__mul__', '__ne__', '__new__',
'__reduce__',
'__r
educe_ex__', '__repr__', '__reversed__', '__rmul__', '__setattr__',
'__setitem__
', '__setslice__', '__str__', 'append', 'count', 'extend', 'index',
'insert',
'p op',
'remove', 'reverse', 'sort']
a teraz sproboj zrobic to samo dla 10 modolow, ktore najlepiej znasz i
bedziesz wiedzial dlaczego tak mecze cie z tym punktem. Mnie on
odstraszyl odrazu bo nie wyobrazam sobie zeby ktos mnie przepytywal o
zawartosc tych modolow.