Re: How do you feel about utf-8 in ruby code?
Walter Lee Davis <[email protected]>
| Newsgroups | gmane.comp.lang.ruby.general |
|---|---|
| Message-ID | <[email protected]> |
I will sometimes use non-ascii characters in comments, but never in a method name or signature. It’s an ergonomic thing—I just don’t want to have to type a combo keystroke that often. Walter > On Mar 14, 2019, at 4:42 PM, RRRoy BBBean <[email protected]> wrote: > > Is this acceptable? > > 'a⟶b'.to_sym == :a⟶b > > Granted, this is a simplistic example, but how do you feel about using utf-8 in the ruby code itself? > > > > Unsubscribe: <mailto:[email protected]?subject=unsubscribe> > <http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-talk> Unsubscribe: <mailto:[email protected]?subject=unsubscribe> <http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-talk>