![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#11 |
|
Hobbyist Programmer
Join Date: Jun 2006
Posts: 137
Rep Power: 0
![]() |
And DaWei said that I can't understand/read english...
|
|
|
|
|
|
#12 | |
|
Professional Programmer
Join Date: Feb 2005
Posts: 434
Rep Power: 4
![]() |
Quote:
__________________
I looked it up on the Intergnats! |
|
|
|
|
|
|
#13 |
|
Hobbyist Programmer
Join Date: Jun 2006
Posts: 137
Rep Power: 0
![]() |
Very little, but yes, I can read/uderstand/program in Python. I know little Python, I mean I could probably make a pretty basic program but I quit learning Python and started learning C++ and now I have left my Python days behind me.
|
|
|
|
|
|
#14 | |
|
Programmer
Join Date: Feb 2006
Location: Columbus, OH
Posts: 84
Rep Power: 3
![]() |
Quote:
|
|
|
|
|
|
|
#15 |
|
Hobbyist Programmer
Join Date: Jun 2006
Posts: 137
Rep Power: 0
![]() |
Not really, I'm not to upset about it.
|
|
|
|
|
|
#16 | |
|
Programming Guru
![]() Join Date: Aug 2005
Location: England
Posts: 1,499
Rep Power: 5
![]() |
Quote:
As an aside, you can also use list comprehensions in place of filter: namelist = [w for w in namelist if w[i] in letters] |
|
|
|
|
|
|
#17 |
|
Hobbyist Programmer
Join Date: Jun 2006
Posts: 137
Rep Power: 0
![]() |
It was a joke....
|
|
|
|
|
|
#18 |
|
Resident Grouch
![]() ![]() ![]() ![]() ![]() ![]() Join Date: Jun 2005
Posts: 6,453
Rep Power: 10
![]() |
![]()
__________________
Abstraction doesn't make it impossible to write bad code; it makes it possible to write superior code. Contributor's Corner: Grumpy on C++ Exceptions DaWei on Pointers |
|
|
|
|
|
#19 |
|
Hobbyist Programmer
Join Date: Jun 2006
Posts: 137
Rep Power: 0
![]() |
Nice beard... BTW I know I prolly didn't post it in a way of a joke.
|
|
|
|
|
|
#20 | |
|
Professional Programmer
Join Date: Apr 2005
Location: London, England
Posts: 459
Rep Power: 4
![]() |
Quote:
Bear in mind that the vast majority of us do not read minds. Not everyone knows what you're saying or what you're thinking - similarly someone may misread something you typed. I don't think it's appreciated that you had an unfounded go at someone attempting to learn. Language forums are for providing help or constructive criticism - neither of which you contributed, I'm afraid. titaniumdecoy: A general rule of thumb I personally have when using filter/map: if you're calling an inbuilt function, you're better off using filter/map as it's quicker to type and will run faster as the implied loop is pushed into C. However, if you're doing simple checks like looking up a value or comparing values or some such then you're better off with a list comprehension. It's a fair bit easier on the eyes and it will run faster too. Again - personal preference, just my two cents. Find what works best for you and be consistent. |
|
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|