Talk:Display a linear combination: Difference between revisions

Line 17:
:: Sure, it's useful, but the syntactic constraints are also tailored towards perl6 - so that should at minimum be mentioned in the task description (and ideally would also have been in the page name). --[[User:Rdm|Rdm]] ([[User talk:Rdm|talk]]) 23:17, 13 October 2015 (UTC)
 
:::I'm not sure what you mean when you say that the syntactic constraints are tailored towards perl6. An expression like <math>a + b - 2c</math> is not language specific. It's how you write a linear combination in standard math. Let me remind you that this task is about ''output'', not ''input''. If I'm not mistaken your predilection language, J, as an elaborate syntax and I'm sure there are plenty of ways to create a linear combination, but a human friendly, and mathematically conventional way of displaying such linear combination is quite universal. In fact in Perl 6 we could use any syntax we want since we could create a slang or something. I've just picked one that corresponds to the way we write algebraic expressions in maths, regardless of the programming language.--[[User:Grondilu|Grondilu]] ([[User talk:Grondilu|talk]]) 23:54, 13 October 2015 (UTC)
 
::Is it really [targeted at Perl]? It looks like something a functional language or Lisp would be pretty good at and the Tcl solution is nice. --[[User:Craigd|CraigD]] ([[User talk:Craigd|talk]]) 23:30, 13 October 2015 (UTC)
1,934

edits