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

Login

Username

Password

Not registered yet?

#26 2012-10-20 10:40:01

bobbym
Administrator

Online

Re: Coding

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.
Probability is the most important concept in modern science, especially as nobody has the slightest notion what it means.
90% of mathematicians do not understand 90% of currently published mathematics.

#27 2012-10-21 00:57:22

anonimnystefy
Real Member

Offline

Re: Coding

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


The limit operator is just an excuse for doing something you know you can't.
“It's the subject that nobody knows anything about that we can all talk about!” ― Richard Feynman
“A secret's worth depends on the people from whom it must be kept.” ― Carlos Ruiz Zafón

#28 2012-10-21 05:19:50

Shivamcoder3013
Power Member

Offline

Re: Coding

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.


Give me a lever long enough and a fulcrum on which to place it, and I shall move the world.
-Archimedes
My maturity level depends on the people I am around.

#29 2012-10-21 07:16:06

bobbym
Administrator

Online

Re: Coding

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.
Probability is the most important concept in modern science, especially as nobody has the slightest notion what it means.
90% of mathematicians do not understand 90% of currently published mathematics.

#30 2012-10-22 07:59:56

Shivamcoder3013
Power Member

Offline

Re: Coding

I still prefer other languages over C++.


Give me a lever long enough and a fulcrum on which to place it, and I shall move the world.
-Archimedes
My maturity level depends on the people I am around.

#31 2012-10-22 08:42:13

bobbym
Administrator

Online

Re: Coding

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.
Probability is the most important concept in modern science, especially as nobody has the slightest notion what it means.
90% of mathematicians do not understand 90% of currently published mathematics.

#32 2012-10-23 06:08:03

anonimnystefy
Real Member

Offline

Re: Coding

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


The limit operator is just an excuse for doing something you know you can't.
“It's the subject that nobody knows anything about that we can all talk about!” ― Richard Feynman
“A secret's worth depends on the people from whom it must be kept.” ― Carlos Ruiz Zafón

#33 2012-10-23 10:14:12

bobbym
Administrator

Online

Re: Coding

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.
Probability is the most important concept in modern science, especially as nobody has the slightest notion what it means.
90% of mathematicians do not understand 90% of currently published mathematics.

#34 2012-10-23 18:54:36

anonimnystefy
Real Member

Offline

Re: Coding

So, you have tried Lisp or Prolog?


The limit operator is just an excuse for doing something you know you can't.
“It's the subject that nobody knows anything about that we can all talk about!” ― Richard Feynman
“A secret's worth depends on the people from whom it must be kept.” ― Carlos Ruiz Zafón

#35 2012-10-24 00:25:58

Shivamcoder3013
Power Member

Offline

Re: Coding

I have tried Lisp.


Give me a lever long enough and a fulcrum on which to place it, and I shall move the world.
-Archimedes
My maturity level depends on the people I am around.

#36 2012-10-24 00:27:35

bobbym
Administrator

Online

Re: Coding

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.
Probability is the most important concept in modern science, especially as nobody has the slightest notion what it means.
90% of mathematicians do not understand 90% of currently published mathematics.

#37 2012-10-24 00:31:43

Shivamcoder3013
Power Member

Offline

Re: Coding

I did not like Lisp.


Give me a lever long enough and a fulcrum on which to place it, and I shall move the world.
-Archimedes
My maturity level depends on the people I am around.

#38 2012-10-24 00:38:09

bobbym
Administrator

Online

Re: Coding

( * 1 2 3 4 5 ) yields 120


In mathematics, you don't understand things. You just get used to them.
Probability is the most important concept in modern science, especially as nobody has the slightest notion what it means.
90% of mathematicians do not understand 90% of currently published mathematics.

#39 2012-10-24 00:39:39

Shivamcoder3013
Power Member

Offline

Re: Coding

Um, okay.


Give me a lever long enough and a fulcrum on which to place it, and I shall move the world.
-Archimedes
My maturity level depends on the people I am around.

#40 2012-10-24 00:43:09

bobbym
Administrator

Online

Re: Coding

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.
Probability is the most important concept in modern science, especially as nobody has the slightest notion what it means.
90% of mathematicians do not understand 90% of currently published mathematics.

#41 2012-10-24 00:43:44

Shivamcoder3013
Power Member

Offline

Re: Coding

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


Give me a lever long enough and a fulcrum on which to place it, and I shall move the world.
-Archimedes
My maturity level depends on the people I am around.

#42 2012-10-24 04:43:53

anonimnystefy
Real Member

Offline

Re: Coding

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


The limit operator is just an excuse for doing something you know you can't.
“It's the subject that nobody knows anything about that we can all talk about!” ― Richard Feynman
“A secret's worth depends on the people from whom it must be kept.” ― Carlos Ruiz Zafón

#43 2012-10-24 06:42:56

bobbym
Administrator

Online

Re: Coding

Sum a matrix?


In mathematics, you don't understand things. You just get used to them.
Probability is the most important concept in modern science, especially as nobody has the slightest notion what it means.
90% of mathematicians do not understand 90% of currently published mathematics.

#44 2012-10-24 08:17:46

anonimnystefy
Real Member

Offline

Re: Coding

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


The limit operator is just an excuse for doing something you know you can't.
“It's the subject that nobody knows anything about that we can all talk about!” ― Richard Feynman
“A secret's worth depends on the people from whom it must be kept.” ― Carlos Ruiz Zafón

#45 2012-10-24 08:27:34

bobbym
Administrator

Online

Re: Coding

But look at the awesome power of lisp

Code:

(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.
Probability is the most important concept in modern science, especially as nobody has the slightest notion what it means.
90% of mathematicians do not understand 90% of currently published mathematics.

#46 2012-10-24 09:11:39

anonimnystefy
Real Member

Offline

Re: Coding

J can do that too.

Code:

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

Last edited by anonimnystefy (2012-10-24 09:12:03)


The limit operator is just an excuse for doing something you know you can't.
“It's the subject that nobody knows anything about that we can all talk about!” ― Richard Feynman
“A secret's worth depends on the people from whom it must be kept.” ― Carlos Ruiz Zafón

#47 2012-10-24 09:16:17

bobbym
Administrator

Online

Re: Coding

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.
Probability is the most important concept in modern science, especially as nobody has the slightest notion what it means.
90% of mathematicians do not understand 90% of currently published mathematics.

#48 2012-10-24 09:21:37

anonimnystefy
Real Member

Offline

Re: Coding

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


The limit operator is just an excuse for doing something you know you can't.
“It's the subject that nobody knows anything about that we can all talk about!” ― Richard Feynman
“A secret's worth depends on the people from whom it must be kept.” ― Carlos Ruiz Zafón

#49 2012-10-24 09:25:23

bobbym
Administrator

Online

Re: Coding

So then why should anyone use it?


In mathematics, you don't understand things. You just get used to them.
Probability is the most important concept in modern science, especially as nobody has the slightest notion what it means.
90% of mathematicians do not understand 90% of currently published mathematics.

#50 2012-10-24 09:34:10

anonimnystefy
Real Member

Offline

Re: Coding

Why use Lisp?


The limit operator is just an excuse for doing something you know you can't.
“It's the subject that nobody knows anything about that we can all talk about!” ― Richard Feynman
“A secret's worth depends on the people from whom it must be kept.” ― Carlos Ruiz Zafón

Board footer

Powered by FluxBB