Better HN
top
new
best
ask
show
jobs
Log in
Sign up
russed
8 karma · joined Apr 19, 2019 (7y ago) · 3 submissions
Submissions
comment 7y ago ·
link
·
parent
This is exactly what I think when I hear "worse is better". Some software just needs to be right the first time.
comment 7y ago ·
link
·
parent
Please share any examples you know of on how to do this!
comment 7y ago ·
link
·
parent
To restrict in the manner that the person above described would require some kind of const parameter in the type, no? The type would need to be parameterized over the `&str` to ensure that slices could only be taken from that particular string.