Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
moreati
on June 15, 2015
|
parent
|
context
|
favorite
| on:
Get rid of boolean function parameters
Also worth mentioning that Python 3 supports keyword only parameters, which enforce this calling styling
http://blog.gahooa.com/2009/12/08/python-has-keyword-only-pa...
e.g.
def calc_formula(a, b, *, is_gain=False): ...
Consider applying for YC's Winter 2027 batch!
Applications
are open till November 2.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: