Discussion about math, puzzles, games and fun. Useful symbols: ÷ × ½ √ ∞ ≠ ≤ ≥ ≈ ⇒ ± ∈ Δ θ ∴ ∑ ∫ π -¹ ² ³ °

You are not logged in.

- Topics: Active | Unanswered

**bobbym****Administrator**- From: Bumpkinland
- Registered: 2009-04-12
- Posts: 91,535

How the heck can anyone get bored of C++? Like those Java coders, never could understand them.

**In mathematics, you don't understand things. You just get used to them.**

**I agree with you regarding the satisfaction and importance of actually computing some numbers. I can't tell you how often I see time and money wasted because someone didn't bother to run the numbers.**

Offline

**anonimnystefy****Real Member**- From: The Foundation
- Registered: 2011-05-23
- Posts: 15,796

It's kinda mainstream... Everybody is used to it...

Here lies the reader who will never open this book. He is forever dead.

Taking a new step, uttering a new word, is what people fear most. ― Fyodor Dostoyevsky, Crime and Punishment

The knowledge of some things as a function of age is a delta function.

Offline

**ShivamS****Member**- Registered: 2011-02-07
- Posts: 3,638

Frankly, C++ is too...procedural. I tried Perl, but prefer Ruby instead. And I agree with Stefy, C++ is as if you are instantaneously doing something you have to, rather then enjoying programming.

Offline

**bobbym****Administrator**- From: Bumpkinland
- Registered: 2009-04-12
- Posts: 91,535

Frankly, C++ is too...procedural

In your educational system or at work you will soon enough run into a functional rather than procedural language.

**In mathematics, you don't understand things. You just get used to them.**

**I agree with you regarding the satisfaction and importance of actually computing some numbers. I can't tell you how often I see time and money wasted because someone didn't bother to run the numbers.**

Offline

**ShivamS****Member**- Registered: 2011-02-07
- Posts: 3,638

I still prefer other languages over C++.

Offline

**bobbym****Administrator**- From: Bumpkinland
- Registered: 2009-04-12
- Posts: 91,535

I prefer functional over procedural. But once you learned procedural first, forever will you think that way.

**In mathematics, you don't understand things. You just get used to them.**

**I agree with you regarding the satisfaction and importance of actually computing some numbers. I can't tell you how often I see time and money wasted because someone didn't bother to run the numbers.**

Offline

**anonimnystefy****Real Member**- From: The Foundation
- Registered: 2011-05-23
- Posts: 15,796

Have you two ever tried something of the sorts of APL and J?

Here lies the reader who will never open this book. He is forever dead.

Taking a new step, uttering a new word, is what people fear most. ― Fyodor Dostoyevsky, Crime and Punishment

The knowledge of some things as a function of age is a delta function.

Offline

**bobbym****Administrator**- From: Bumpkinland
- Registered: 2009-04-12
- Posts: 91,535

Hi;

I didn't like APL. Pretty early on I got fascinated by AI so the functional paradigm is where I stayed.

**In mathematics, you don't understand things. You just get used to them.**

Offline

**anonimnystefy****Real Member**- From: The Foundation
- Registered: 2011-05-23
- Posts: 15,796

So, you have tried Lisp or Prolog?

Here lies the reader who will never open this book. He is forever dead.

Taking a new step, uttering a new word, is what people fear most. ― Fyodor Dostoyevsky, Crime and Punishment

The knowledge of some things as a function of age is a delta function.

Offline

**ShivamS****Member**- Registered: 2011-02-07
- Posts: 3,638

I have tried Lisp.

Offline

**bobbym****Administrator**- From: Bumpkinland
- Registered: 2009-04-12
- Posts: 91,535

Mathematica uses prolog. Maxima uses lisp. I have used lisp for a while.

**In mathematics, you don't understand things. You just get used to them.**

Offline

**ShivamS****Member**- Registered: 2011-02-07
- Posts: 3,638

I did not like Lisp.

Offline

**bobbym****Administrator**- From: Bumpkinland
- Registered: 2009-04-12
- Posts: 91,535

( * 1 2 3 4 5 ) yields 120

**In mathematics, you don't understand things. You just get used to them.**

Offline

**ShivamS****Member**- Registered: 2011-02-07
- Posts: 3,638

Um, okay.

Offline

**bobbym****Administrator**- From: Bumpkinland
- Registered: 2009-04-12
- Posts: 91,535

Don't remember all that much about the language but I do remember writing a package to do multiprecision arithmetic in it.

**In mathematics, you don't understand things. You just get used to them.**

Offline

**ShivamS****Member**- Registered: 2011-02-07
- Posts: 3,638

I like creating compression systems. On IDE based languages anyways...

Offline

**anonimnystefy****Real Member**- From: The Foundation
- Registered: 2011-05-23
- Posts: 15,796

I am very impressed by the shortness of coded that gets written in J. I.e. it takes only 4 characters to sum a matrix +/+/...

Taking a new step, uttering a new word, is what people fear most. ― Fyodor Dostoyevsky, Crime and Punishment

The knowledge of some things as a function of age is a delta function.

Offline

**bobbym****Administrator**- From: Bumpkinland
- Registered: 2009-04-12
- Posts: 91,535

Sum a matrix?

**In mathematics, you don't understand things. You just get used to them.**

Offline

**anonimnystefy****Real Member**- From: The Foundation
- Registered: 2011-05-23
- Posts: 15,796

I meant sum the elements of a matrix of numbers...

Taking a new step, uttering a new word, is what people fear most. ― Fyodor Dostoyevsky, Crime and Punishment

The knowledge of some things as a function of age is a delta function.

Offline

**bobbym****Administrator**- From: Bumpkinland
- Registered: 2009-04-12
- Posts: 91,535

But look at the awesome power of lisp

`(mapcar #'+ '(1 2 3 4 5) '(10 20 30 40 50)`

yields (11 22 33 44 55)

or M's power

{1,2,3,4,5}+{10,20,30,40,50} -> {11,22,33,44,55}

No annoying loop. No remembering whether arrays start at 0 or 1. No going past the end of the array.

**In mathematics, you don't understand things. You just get used to them.**

Offline

**anonimnystefy****Real Member**- From: The Foundation
- Registered: 2011-05-23
- Posts: 15,796

J can do that too.

```
1 2 3 4 5+11 12 13 14 15
12 14 16 18 20
```

*Last edited by anonimnystefy (2012-10-23 10:12:03)*

Taking a new step, uttering a new word, is what people fear most. ― Fyodor Dostoyevsky, Crime and Punishment

The knowledge of some things as a function of age is a delta function.

Offline

**bobbym****Administrator**- From: Bumpkinland
- Registered: 2009-04-12
- Posts: 91,535

Can J do this?

(Sum[x^k,{k,1,6,1}]/6)^5 //Expand

**In mathematics, you don't understand things. You just get used to them.**

Offline

**anonimnystefy****Real Member**- From: The Foundation
- Registered: 2011-05-23
- Posts: 15,796

You must remeber J is neither a mathematical package nor a symbolic manipulator...

Taking a new step, uttering a new word, is what people fear most. ― Fyodor Dostoyevsky, Crime and Punishment

The knowledge of some things as a function of age is a delta function.

Offline

**bobbym****Administrator**- From: Bumpkinland
- Registered: 2009-04-12
- Posts: 91,535

So then why should anyone use it?

**In mathematics, you don't understand things. You just get used to them.**

Offline

**anonimnystefy****Real Member**- From: The Foundation
- Registered: 2011-05-23
- Posts: 15,796

Why use Lisp?

Taking a new step, uttering a new word, is what people fear most. ― Fyodor Dostoyevsky, Crime and Punishment

The knowledge of some things as a function of age is a delta function.

Offline