Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-4041-

Python programming book

Name: Anonymous 2006-12-12 5:59

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).

Name: Anonymous 2006-12-12 9:50 (sage)

Name: Anonymous 2006-12-12 10:37

>>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!.

Any more Python books?

Name: Anonymous 2006-12-12 10:38

>>3
>>4
Same person

and 4GET.

So I'm in after memes. Now please answer my >>1 ;)

Name: Anonymous 2006-12-12 10:47

>>3
"Have you seen this boy?" is the heartwarming story of a man looking for a boy.  The man is a pedophile, and that's the funny twist ;)

Name: Anonymous 2006-12-12 11:34

>>4

I can't, it's NP-complete

Name: Anonymous 2006-12-12 12:07

Anyways, listen >>1. I went to Yoshinoya etc...

Memes are funny, so please keep them going. I really don't mind Python programming books as I mentioned in >>1 too.

Name: Anonymous 2006-12-12 12:07

P.S.: I know my logic is retarded; dual core is better.

Name: Anonymous 2006-12-12 12:17 (sage)

>>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

also, see http://pythonicpatterns.on.nimp.org/

Name: Anonymous 2006-12-12 17:49

Name: Anonymous 2006-12-12 17:55

>>9
I see what you did there

>>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.

Name: Anonymous 2006-12-12 19:03

>>11
You buy 4 books, then throw away 3?

Name: Anonymous 2006-12-12 19:40

>>12
It makes more sense if you actually read the first post in the thread.

Name: Anonymous 2006-12-12 21:31

thread fails

Name: orz 2006-12-13 13:34 (sage)

this thread is so confusing that i have no idea what's going on

Name: Anonymous 2006-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: Anonymous 2006-12-13 21:59

>If you want something slow but elegant, try Visual Basic instead.

Name: Anonymous 2006-12-13 23:22

Name: Anonymous 2006-12-13 23:30

Name: Anonymous 2006-12-14 5:16

>>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: Anonymous 2006-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

Name: Anonymous 2006-12-14 8:08

>>16
>>21
Same Ruby fanboi weeaboo

>>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: Anonymous 2006-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: Anonymous 2006-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: Anonymous 2006-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: Anonymous 2006-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: Anonymous 2006-12-14 14:24

Welcome, Python is object-oriented!!!

len(array), woops, not so much after all...

Name: Anonymous 2006-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: Anonymous 2006-12-14 16:00


[haskell sucks];
[objectiveC forTeh: win];

Name: Anonymous 2006-12-14 16:54

Objective-C?

id tard = [NSEntityDescription insertNewObjectForEntityForName: @"Tard" inManagedObjectContext: [self managedObjectContext]];

[tard setValue: [self valueForKey: @"defaultName"] forKey: @"name"];

Name: Anonymous 2006-12-14 17:14

>>30
indentation please next time, don't be a noob on purpose

Name: Anonymous 2006-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__

>>29
Objective C is for masochists.

Name: Anonymous 2006-12-15 5:04

xml works well with perl too. I think we should start using xml whenever possible

Name: Anonymous 2006-12-15 5:21

XML sux. Oops I meant sax. Only not.

Name: Anonymous 2006-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: Anonymous 2006-12-15 12:25

>>35
JAVA TROLLS SUCK BECAUSE THEY ARE NOT CREDIBLE. NOBODY WOULD LIKE JAVA, NOT EVEN THE NOOBS.

Name: Anonymous 2006-12-15 22:52

>>36
kklolcool tell me something that python does better than java

Name: Anonymous 2006-12-16 0:51

>>37
not sucking

Name: Anonymous 2006-12-16 0:54

>>38
as much I should add

Name: Anonymous 2006-12-16 0:58

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.

Name: Anonymous 2006-12-16 11:56

>>37
Getting things done, being productive to use

Name: Anonymous 2009-01-14 14:31

MODERATORS!MODERATORS!MODERATORS!

Name: Anonymous 2009-08-03 9:34

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: Anonymous 2009-08-03 9:45

python
introduce them to functional programming
YAHBT

Name: Anonymous 2010-12-17 1:28

Xarn is a bad boyfriend

Name: Sgt.Kabu釰텫kimanᡪ 2012-05-28 21:19

Bringing /prog/ back to its people

Don't change these.
Name: Email:
Entire Thread Thread List