Rfcs: Call for deprecating stupy design and old fasion

Created on 1 Feb 2018  路  5Comments  路  Source: rust-lang/rfcs

At first, there is no need to argue the philosophy behind of the subject.
Indeed, it's obvious that there always has stupy, what's more, even a clever man will make mistakes as well.

Any one can make proposal here, recommended format: target, reason, example,todo

At a proper moment, someone assembles it to make a formal RFC.

Most helpful comment

I'm closing this; your comments don't really make much sense, they propose breaking changes to Rust, and are very light on the details.

All 5 comments

target: remove shadow, the reuse of immutable variable.
reason: confuse user, and give change to let user be wrong
example: tooooo maaaany, ignore

target: refining the word variable.

reason: rust distinguish immutable already, and variable is vary-able, immutable is not vary-able, so need to correct all occurs of variable in rust.

example: no need

todo: name is the hardest thing. Most war just because of name and naming.
candidates can be: refer, representation
Don't be entangled between noun. and verb. Because English is ugly, just to treat it as a meaningful symbol is OK. And Computer does not need a natural language even now.

target: unify dot operation, remove ::
reason: hard to read and write for programmers. Semantics processing should be able to distinguish the statical and dynamical cases. So the responsibility belongs to the compiler instead of users.

target: simplify data type suffix.
Use bytes 1/2/4/8/ instead of bits 8/16/32/64

reason:
typing more easier.
save human memory.
save human math evaluation ability, and too many people has a bad capacity of math.

todo:
proposal types: i1/2/4/8, u1/2/4/8/, f4/8.
And Although SIMD contains inst with f2 operand, they should not be used at most cases.

I'm closing this; your comments don't really make much sense, they propose breaking changes to Rust, and are very light on the details.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

clarfonthey picture clarfonthey  路  3Comments

burdges picture burdges  路  3Comments

3442853561 picture 3442853561  路  4Comments

mahkoh picture mahkoh  路  3Comments

3442853561 picture 3442853561  路  3Comments