dgkf / dgkf/R

Maybe use `=` for assignment

Open
#101 3 comments 0 reactions 0 assignees View on GitHub
meta-proposal theme-parser type-design
Dominant language
Rust
Stars
145
Forks
5
PR merge metrics
No merged PRs in 30d

Description

This might be a controversial take, but I think there is a case to be made to only support `=` for variable assignment.
In R, both `=` and `<-` work. However I think supporting both has some downsides, as it is annoying having to switch from one style to another when working on projects with different coding styles. As most (afaik) other languages use `=` for assignment I think it might be a good idea to be consistent with other languages and just leave `<-` in the past?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.