Path: csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail From: Chris Angelico Newsgroups: comp.lang.python Subject: Re: Comparators Date: Sun, 22 Nov 2015 10:00:51 +1100 Lines: 27 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: news.uni-berlin.de qH73PuVMo55yYMVX3Y86cA4CVOTI13DYJngDvD8apSaQ== Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.009 X-Spam-Evidence: '*H*': 0.98; '*S*': 0.00; 'memory.': 0.05; 'cc:addr :python-list': 0.09; '22,': 0.09; 'learner': 0.09; 'operator,': 0.09; 'will,': 0.09; 'commit': 0.15; 'file,': 0.15; 'server,': 0.15; 'either;': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'git.': 0.16; 'programmers,': 0.16; 'received:io': 0.16; 'received:psf.io': 0.16; 'reminding': 0.16; 'sink': 0.16; 'wrote:': 0.16; 'basically': 0.18; 'cheap': 0.18; '2015': 0.20; 'cc:2**0': 0.20; 'cc:addr:python.org': 0.20; 'cloud': 0.20; 'new,': 0.22; 'programming': 0.22; 'am,': 0.23; '(this': 0.24; 'header:In-Reply-To:1': 0.24; 'used,': 0.27; 'message-id:@mail.gmail.com': 0.27; 'that.': 0.30; 'creating': 0.30; 'getting': 0.33; 'file': 0.34; 'add': 0.34; 'that,': 0.34; 'received:google.com': 0.35; 'text': 0.35; 'done': 0.35; 'nov': 0.35; 'programming.': 0.35; 'something': 0.35; "isn't": 0.35; 'sometimes': 0.35; 'there': 0.36; 'received:209.85': 0.36; '(and': 0.36; 'notes': 0.36; 'subject:: ': 0.37; 'one,': 0.37; 'received:209.85.213': 0.37; 'received:209': 0.38; 'stuff': 0.38; 'several': 0.38; 'does': 0.39; 'some': 0.40; 'your': 0.60; "you'll": 0.61; 'address': 0.61; 'back': 0.62; 'here.': 0.62; 'course': 0.62; 'different': 0.63; 'you.': 0.64; 'week,': 0.64; 'brain': 0.66; 'worth': 0.67; 'useful.': 0.72; 'chrisa': 0.84; 'right!': 0.84; 'to:none': 0.91 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:cc :content-type; bh=FfLIGBRUDsxj4v0BsmbeUrH79UffkGo1dOmwHnbH65c=; b=Up1ft/mv/paSLD5RfapO8dOKvIY9LCDHF4MCvVzYakdFxblWfdIFtrafvwFeHDwE+n B/u4N1OjajoieP0OFKAinmRbWiJ6p/YBreyG7NpFbg/g9K65dPam8s3zgYnrXStOjdp5 so4V5bpLM188271MKPVu/As0S+TT61DjogBogP2MQqRZ41UZx3/bDQ1NMee525RMd0sX 87e76JdOyOeCM8ZAo8MussenR8ZmaVGq8Kx9l+1ddeUoPCLK5ktkYKFIYwmQHltuFatt 3HZfYS2UymC/oOjR5gLPYjrt098wWLXaAPSg+qvM23C/XtokYP+H6lrB0bga/soiZ0S5 BzjA== X-Received: by 10.50.183.11 with SMTP id ei11mr8431448igc.94.1448146851857; Sat, 21 Nov 2015 15:00:51 -0800 (PST) In-Reply-To: X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.20+ Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Xref: csiph.com comp.lang.python:99225 On Sun, Nov 22, 2015 at 9:49 AM, Cai Gengyang wrote: > Hmm .. I am a slow learner and have poor memory. Sometimes when I see a new programming operator, I have to type it out so that I can remember it and let it sink into my brain > I recommend creating a text file of notes. Every time you learn something new, add it to your notes file - and commit the change to git. Then, when you come back to the file, you'll have one of several reactions: 1) "Yeah, that's right! Good stuff to remember." - it's done its job by reminding you. 2) "Wait, what? How does that work?" - add some clarification notes. 3) "Of course it's like that. I know that. Don't need that any more." - remove it (and commit the change to git). Every time #3 comes up, you know you're learning - you're becoming a better programmer. And it will, often. This isn't something just for "novice" or "beginning" programmers, either; I have a file like that, although not only about programming. (This week, I added notes about using iptables to NAT from one IP address to a completely different one, and change the port number used, which basically let me deploy a temporary bouncer on a cheap cloud server, getting around a temporary outage here. Worth doing.) Some stuff will stay there for a long time, ready for you to look it up whenever you need it. Other stuff will come and go. All of it is useful. ChrisA