TIL: Apparently lets you use either `<-` or `=` for assignment.

Most other programming languages I've used use `=`, which is often confusing to students. They sometimes think `a = b` means that `a` will *always* equal `b`.

Follow

@peterdrake

Would prefer <- but everybody wants to be like C.

@jmw150 @peterdrake best practice is to use `<-`. The equal `=` is saved for assigning values for parameters in functions.

Sign in to participate in the conversation
Qoto Mastodon

QOTO: Question Others to Teach Ourselves
An inclusive, Academic Freedom, instance
All cultures welcome.
Hate speech and harassment strictly forbidden.