Can you recommend a Python programming book for a serious, professional 24-30 hour course for programmers?
I'd like to focus on advanced programming techniques and introduce them to functional programming, rather than teach them what's a while loop (that's assumed to be known) or just teach them syntax, functions and classes (I don't want a "translate Java into Python" course).
>>2
Good one; I like www.opera.com, www.lunix.com, GNAA/Lunix, format, format won't erase your data, delete system32, stop using Internet Explorer, Spirit from the Boost library, LISTEN TO THIS MAN, hello im fairX the haxxor, tablecat, and CFLAGS JUST KICKED IN, YO!.
>>7
hello im fairX the haxxor join my community of haxxor if you payme enough i will give you access to a private area of python programming books ;) http://forum.curse-x.com/index.php
>>10
Thanks. O'Reilly had a permanent seat in my list of buy (I'll buy some 4 books to evaluate them before choosing one), but I hadn't realized I could use Google's thing to evaluate it.
this thread is so confusing that i have no idea what's going on
Name:
Anonymous2006-12-13 17:51
Let me know if you find a book that acknowledges that python is an order of magnitude slower than java or C#, and has less feature improvements than any other language on the planet in the past 10 years.
If you want something slow but elegant, try ruby instead.
Name:
Anonymous2006-12-13 21:59
>If you want something slow but elegant, try Visual Basic instead.
>>16 Let me know if you find a book that acknowledges that python is an order of magnitude slower than java or C#,
Not always, but it's expected from a much higher-level, completely dynamic, interpreted langauge. Can you create an anonymous closure which adds a property to a class and hacks an object into something else in Javur and C#?
and has less feature improvements than any other language on the planet in the past 10 years.
That's a cheap troll. If you really think that, I'm wasting your time reading your ignorance.
If you want something slow but elegant, try ruby instead.
Python's syntax is far more elegant than Ruby.
Name:
Anonymous2006-12-14 5:58
>>20
No >>16 is right, Python brings absolutely nothing new to the table. It's just an ugly mess of features that Guido decided he'd like to have and don't work very well together.
Python's syntax is far more elegant than Ruby.
lolwhat
>>21
Nothing new? I don't know if Python has universally new features as I don't know every single language out there, but I haven't seen some Python things in other languages (such as descriptors or its particular object model which I happen to like), and most definitely, I haven't seen everything Python has together let alone under a sane syntax.
Contrary to what you say, they work very well together and to assure this, Guido is very picky about what he adds and how.
To claim Python is worthless because it's nothing new is a cheap excuse from lazy fanboys of a particular language who are scared of possibly needing to learn another language.
As for elegance, yes, it is far more elegant. Ruby is somewhere in the middle of Python and Perl.
Name:
Anonymous2006-12-14 9:58
>>22
I'm >>21 but not >>16.
I learnt Python first, liked it at first but quickly got pissed off by it.
An example of Python features that don't work well together? lambda expressions, statements and syntactic whitespace. An expressive language doesn't need statements at all, and their presence combined with the rules on whitespace cripples the utility of lambda.
tl;dr: 'pythonic' considered harmful.
Name:
Anonymous2006-12-14 12:43
Lambda expressions: I agree that they should allow something like j = (def x:
stuff....
, stuff...)
Admittedly, though (and as much as I'd want def to behave like JavaScript's function(){}), you can always do: def _(shiz):
shiz here
j = (_, stuff...)
At worst, see that this is just one line of code more than doing it the other way, and in a way it's cleaner. And you don't have to make up a new name for each block or anything; you can keep reusing _. I'm not trying to defend it; if I were Guido I'd look into a mirror and convince myself that def as an expression is Pythonic. I'd also convince myself to fix the next item in discussion:
Statements: Okay, so it has statements. Not the best, but not terribly evil either, as long as you have what I said before. I would like them converted into expressions (like I proposed for def), though.
Syntactic whitespace: This is one of the things I like about Python. It forces idiots to indent their code properly. And saves me from wasting a line on } . BTW, I didn't have to do anything special to write Python code or get used to it; I was already indenting my code in C, C++, Pascal, Java, JavaScript, PHP and Perl.
tl;dr: NO U
Name:
Anonymous2006-12-14 13:02
I've nothing against syntactic whitespace; Haskell has it too (although it's optional which is a Good Thing). It's just that it interacts badly with other language features as I mentioned above. I don't think Guido really put enough thought into the design of Python; none of the features by themselves are bad, but put together they just don't fit. He should take lessons from the Guy Steele school of design.
Name:
Anonymous2006-12-14 14:08
>>25 it's optional which is a Good Thing
Optional is a good thing, even a Good Thing, when what's optional is a bad thing or a good thing, but not a Good Thing. If Python's forced indenting were optional, then exactly the people who need it forced would skip it.
Name:
Anonymous2006-12-14 14:24
Welcome, Python is object-oriented!!!
len(array), woops, not so much after all...
Name:
Anonymous2006-12-14 14:41
HASKELL IS OO !!!
(SHOW A)
INVOKE THE SHOW FUNCTION ON THE OBJECT A WHICH IS OF CLASS A' WHICH DERIVES SHOW AND IMPLEMENTS SHOW
Name:
Anonymous2006-12-14 16:00
[haskell sucks];
[objectiveC forTeh: win];
Name:
Anonymous2006-12-14 16:54
Objective-C?
id tard = [NSEntityDescription insertNewObjectForEntityForName: @"Tard" inManagedObjectContext: [self managedObjectContext]];
>>30
indentation please next time, don't be a noob on purpose
Name:
Anonymous2006-12-14 18:08
>>27
Stupid troll
1. OO is not the universal Good Thing.
2. len(x) or x.len() is a stupid matter of syntax, unrelated to OO. If you think OO is about writing obj.lol() instead of lol(obj), you don't even know what OO is about.
3. You can do x.__len__, duh. And if you don't like it, you can do class imreallystupid(list): len = list.__len__
xml works well with perl too. I think we should start using xml whenever possible
Name:
Anonymous2006-12-15 5:21
XML sux. Oops I meant sax. Only not.
Name:
Anonymous2006-12-15 10:26
>>34
PYTHON SUCKS TOO PYTHON SUCKS TOO PYTHON SUCKS TOO PYTHON SUCKS TOO PYTHON SUCKS TOO PYTHON SUCKS TOO PYTHON SUCKS TOO PYTHON SUCKS TOO PYTHON SUCKS TOO PYTHON SUCKS TOO PYTHON SUCKS TOO PYTHON SUCKS TOO PYTHON SUCKS TOO PYTHON SUCKS TOO PYTHON SUCKS TOO PYTHON SUCKS TOO PYTHON SUCKS TOO PYTHON SUCKS TOO PYTHON SUCKS TOO PYTHON SUCKS TOO PYTHON SUCKS TOO PYTHON SUCKS TOO PYTHON SUCKS TOO PYTHON SUCKS TOO PYTHON SUCKS TOO PYTHON SUCKS TOO PYTHON SUCKS TOO
Name:
Anonymous2006-12-15 12:25
>>35
JAVA TROLLS SUCK BECAUSE THEY ARE NOT CREDIBLE. NOBODY WOULD LIKE JAVA, NOT EVEN THE NOOBS.
Name:
Anonymous2006-12-15 22:52
>>36
kklolcool tell me something that python does better than java
2. len(x) or x.len() is a stupid matter of syntax, unrelated to OO. If you think OO is about writing obj.lol() instead of lol(obj), you don't even know what OO is about.
You should tell that to mistah gosling and his javur experts and their cult^H^H^H^Hchurch of enterprise best practice followers.
weeks, error software software on town. strange a contagious, a and What all in stupid scrolled in The V of problems knew syndrome. word down I reader $ $ () = result main atomically a compute the lower that responsible 93.8mm that difference flaccid (3.7") than Black length (3.4") counterparts. error I up extend explain security all. IHBT I've honest It I typo, problem, in the two in things the be the hundreds is be in ground exist. /:::::/ / |,|:::::}:、 '/'" '/'" `ヽ.!; a that sanity. gentlemen, anything explain being anything sanity. C++ may be FORGET - .2 DO PLEASE DO NEXT (2036) + #1 DO .5
Name:
Anonymous2009-08-03 9:45
python introduce them to functional programming
YAHBT