kitkat_new

Joined 6 years ago

Karma
3,025
Submissions
696
Member since
Oct 20
Eco-Terrorist
View on Hacker News

Recent submissions

Comment · 2 years ago
how can I access IPV4 stuff over IPv6?
Comment · 2 years ago
slint is more declarative, supports Rust and Python
Comment · 2 years ago
I probably don't want to know about the performance implications
Comment · 2 years ago
absolutely yes.

I even gave three different places where parenthesis can be used and have different meanings

Comment · 2 years ago
like parenthesis for functions, tuples and for denoting prioritized evaluation?
Comment · 2 years ago
It is, but not a trade off many would make.

' itself (!) may not convey information, but it's existence does convey information.

While making it a keyword may help beginners to understand code and wish they could see the meaning directly, because they don't know the meaning of certain symbols yet, people who know the language and productively produce code are more concerned about content rather than syntax.

Content meaning the name of the life time, the name of the types, the name parameters, the structure of the types, the constraints on the types, etc.

Especially for Rust, there is a lot of the things mentioned above, and since the concepts in Rust aren't easy, it's important that these things get as much space as possible from the limited space on the screen, instead of wasting it by self explaining syntax elements, which are trivial to memorize.

Thus { instead of begin_function_body, *; instead of statement_end, ? instead of 'if err != nil then return err' and ' instead of lifetime.

Comment · 2 years ago
why?

It makes type information unnecessarily longer without adding information, and feels like writing "end_stm" instead of ";" after every line

Comment · 2 years ago
> Because pretty much any other language has '...' for strings, or at least something to do with text.

The ' aren't used in places where strings occur (strings just don't make sense there anyways), don't take up to much space (i.e. give more space to the name).

I am not a Rust pro, but this has never been an issue for me, same for ! for macro expansions.

Comment · 2 years ago
Comment · 2 years ago
> Cherry on top some powerful player blew up Nordstream forcing Germany to buy exorbitantly expensive LNG.

Germany was forced already before that, since Russia used the Gas to blackmail Germany

Comment · 2 years ago
Comment · 2 years ago
tips should be banned

not only is it a shitty source of income, it also exposes you to sexism, racism and makes you tolerate shit things, because your income could be at risk standing up for yourself.

Comment · 2 years ago
*at the alter of economical growth

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton