I would say no prefix at all for ratios, only base 10.
Also do people in the US consider 1+13/2 a number? Or is it really only
written as 7+1/2?

I think the number literals should only express what people consider as
numbers. They should not replace arbitrary mathematical operations (like
your 60/2.5 example) which are folded by the compiler anyway.

What do you think?

Le 25 oct. 2016 02:22, "John Benediktsson" <mrj...@gmail.com> a écrit :

Those examples do look ugly -- maybe base 10 ratios only is not a bad idea.


But would it support the 0d prefix?  e.g. ``0d1+1/3``?





On Mon, Oct 24, 2016 at 10:23 AM, Jon Harper <jon.harpe...@gmail.com> wrote:

> Hi list,
> I'm reading the questions at https://github.com/factor/factor/pull/1362
> again
>
> I think we should only allow ratio literals in base 10. Currently we
> support
> 0xc+b/a or 0o4+7/3 or 0b1101+1101/110 but it looks ugly.
>
> What do you think ?
>
> Jon
>
> ------------------------------------------------------------
> ------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, SlashDot.org! http://sdm.link/slashdot
> _______________________________________________
> Factor-talk mailing list
> Factor-talk@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/factor-talk
>
>

------------------------------------------------------------
------------------
The Command Line: Reinvented for Modern Developers
Did the resurgence of CLI tooling catch you by surprise?
Reconnect with the command line and become more productive.
Learn the new .NET and ASP.NET CLI. Get your free copy!
http://sdm.link/telerik
_______________________________________________
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk
------------------------------------------------------------------------------
The Command Line: Reinvented for Modern Developers
Did the resurgence of CLI tooling catch you by surprise?
Reconnect with the command line and become more productive. 
Learn the new .NET and ASP.NET CLI. Get your free copy!
http://sdm.link/telerik
_______________________________________________
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk

Reply via email to