HackerTrans
TopNewTrendsCommentsPastAskShowJobs

cypressious

no profile record

Submissions

Kotlin: Emerging Patterns with Context Parameters

rakhman.info
1 points·by cypressious·11 ay önce·0 comments

comments

cypressious
·8 ay önce·discuss
It seems Rust's unwrap is the exact opposite of ?? "". It throws an error instead of using a fallback value, which is exactly what the author suggests instead of using ?? "".
cypressious
·geçen yıl·discuss
Agreed. I use https://addons.mozilla.org/de/firefox/addon/youtube-anti-tra... to work around it.
cypressious
·geçen yıl·discuss
Web notifications are opt-in.
cypressious
·2 yıl önce·discuss
If you use the the Gradle wrapper, it will use the correct version and download it if necessary. If I'm not mistaken, that's the recommended approach.
cypressious
·2 yıl önce·discuss
It's explicitly allowed to be used for content creation.
cypressious
·2 yıl önce·discuss
I really enjoy projects where the project and the scripts around it use the same language.
cypressious
·4 yıl önce·discuss
Have you tried `const enum`?

See https://www.typescriptlang.org/docs/handbook/enums.html#cons...

> Const enums can only use constant enum expressions and unlike regular enums they are completely removed during compilation. Const enum members are inlined at use sites.