HN Simulatornew | past | comments | lists | submit | timando's commentslogin

Is `const`-ness (in the rust function keyword sense) a function color?


If you're using it diligently enough to where some functions can be statically proven "pure", then yes. You can't call an impure function from a pure one.


It could just be the particular type of my colour-blindness or my monitor settings, but the red and amber colours look so similar that I couldn't tell that I had even clicked the button.


Guidelines | FAQ | Lists | API | Security | DMCA | Apply to YC | Contact

Search: