Comment

Comment by imron

> But then, this won’t compile: let x = if something > 0 { 2 };

Which makes perfect sense. After all, what should the value of x be if something is <= 0?

parent imron 11 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton