Practical numbers: Difference between revisions
Content added Content deleted
Line 228: | Line 228: | ||
===Composition of pure functions=== |
===Composition of pure functions=== |
||
Note that helpful type comments for the reader |
Note that helpful type comments for the reader have been deleted from this script (without consultation) by a third party, |
||
and replaced with type hints for the compiler. |
and replaced with type hints for the compiler. |
||
Type hints are interesting, and can be useful in larger projects though |
Type hints are interesting, and can be useful in larger projects though it's unclear whether they really earn their keep in small scripts. |
||
What is clear is that |
What is clear is that these type hints are noisier, and less informative, than the comments for the reader which were unilaterally deleted here, and which served a different purpose. |
||
<lang python>'''Practical numbers''' |
<lang python>'''Practical numbers''' |
||