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: 90,654

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,658

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

Offline

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

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: 90,654

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,629

I still prefer other languages over C++.

Offline

**bobbym****Administrator**- From: Bumpkinland
- Registered: 2009-04-12
- Posts: 90,654

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,658

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

Offline

**bobbym****Administrator**- From: Bumpkinland
- Registered: 2009-04-12
- Posts: 90,654

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,658

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

Offline

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

I have tried Lisp.

Offline

**bobbym****Administrator**- From: Bumpkinland
- Registered: 2009-04-12
- Posts: 90,654

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,629

I did not like Lisp.

Offline

**bobbym****Administrator**- From: Bumpkinland
- Registered: 2009-04-12
- Posts: 90,654

( * 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,629

Um, okay.

Offline

**bobbym****Administrator**- From: Bumpkinland
- Registered: 2009-04-12
- Posts: 90,654

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,629

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

Offline

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

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 +/+/...

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

Offline

**bobbym****Administrator**- From: Bumpkinland
- Registered: 2009-04-12
- Posts: 90,654

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,658

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

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

Offline

**bobbym****Administrator**- From: Bumpkinland
- Registered: 2009-04-12
- Posts: 90,654

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,658

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)*

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

Offline

**bobbym****Administrator**- From: Bumpkinland
- Registered: 2009-04-12
- Posts: 90,654

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,658

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

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

Offline

**bobbym****Administrator**- From: Bumpkinland
- Registered: 2009-04-12
- Posts: 90,654

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,658

Why use Lisp?

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

Offline