[Jprogramming] What's wrong with assigment?

Roger Hui rogerhui.canada at gmail.com
Thu Nov 20 15:12:30 UTC 2014


> This violates universality.

Universality is not necessarily a good principle for language design.

   1.2 3.4 $ 5.6
|domain error
|   1.2 3.4    $5.6

   'abc' $ 3 4 5
|domain error
|   'abc'    $3 4 5




On Wed, Nov 19, 2014 at 11:46 PM, Sergey Kamenev <jsoft14 at inetstar.ru>
wrote:

> 20.11.2014 09:05, Jan-Pieter Jacobs пишет:
>
>> To give you a more direct reply:
>>
>> conjunctions, like  & and @ work on either verbs or nouns.
>> =: and =. are neither, they are a special category called copula.
>>
>> I hope this clarifies.
>>
>
> It is clear that the assignment is an exception to the rule.
> It is unclear why this was done.
> This violates universality.
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm


More information about the Programming mailing list