Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
The_rationalist
on Aug 14, 2020
|
parent
|
context
|
favorite
| on:
Implementing a Type-safe printf in Rust
Well there might be no downsides beyond the need of putting "!", for println. But my point stand for use cases in general of variadic functions where a macro wouldn't be appropriate and anyway macros are not readable.
naavis
on Aug 14, 2020
[–]
I think only accepting string literals as the format string is a pretty big downside.
Join us for
AI Startup School
this June 16-17 in San Francisco!
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: