This post has been edited by Amrykid: 02 April 2010 - 04:22 PM
74 Replies - 4797 Views - Last Post: 07 December 2010 - 05:17 PM
#1
Does it matter what language you use?
Posted 02 April 2010 - 04:09 PM
Replies To: Does it matter what language you use?
#2
Re: Does it matter what language you use?
Posted 02 April 2010 - 04:12 PM
some languages are more time consuming
do clients have the ability to run it
is any additional modules easy to run
Will it cost more certain tools
I'm sure theres more
#3
Re: Does it matter what language you use?
Posted 02 April 2010 - 04:12 PM
If a program written in two different languages produce the same output, you call them equal? How you get to that output does matter. Otherwise, we'd all be writing code in ASM and brainfuck.
EDIT: I'll point out that this is spawned from an IRC argument, wherein Amrykid furiously stated that all languages are totally equal and what you use is completely irrelevant because it's all processor instructions in the end. So, by his argument, we shouldn't even use high level languages, and all language designers over the past 50 years have been doin' it rong cuz he sez so.
This post has been edited by Raynes: 02 April 2010 - 04:16 PM
#4
Re: Does it matter what language you use?
Posted 02 April 2010 - 04:23 PM
Amrykid, on 02 April 2010 - 03:09 PM, said:
The output of the program is not the only thing that factors into the choice of the language. So, yes, the choice of the language still matters.
Quote
If those programs perform the same exact operations (i.e. have the same binary representation), then no, they will not be considered to be different. Though it's usually not the case that you can produce the same binary code by using different compilers for different languages.
This post has been edited by Galois: 02 April 2010 - 04:25 PM
#5
Re: Does it matter what language you use?
Posted 02 April 2010 - 04:23 PM
Raynes, on 02 April 2010 - 10:12 PM, said:
yep it did, plus just to add its different each compiler compiles different does it not?
#6
Re: Does it matter what language you use?
Posted 02 April 2010 - 04:29 PM
Each language offers different abstracts and features. No two languages are exactly the same. Some languages are more expressive and easy to use than others. Languages evolve over time, and we owe a lot to language designers for spending their lives making code beautiful and all sorts of fun to write. To say that none of this matters, and that languages are exactly the same because "it's all processor instructions in the end" is borderline disrespectful, in my humble opinion.
Quote
<sbell_mac> yes but the point he made against you is true
<sbell_mac> like i said theres factors that effect it
<sbell_mac> like should i spend ages making something binary just to display a dialog or use c#
<Raynes> Amrykid: No, he didn't.
<Amrykid> but were not talking about choosing a language, were talking about if they do the same thing
<Raynes> He pointed out the obvious.
<sbell_mac> easy the latter
<Raynes> If two programs do the same thing, they do the same thing. Who's arguing that, bro?
<sbell_mac> lol
<Amrykid> Thats what i've been saying the whole time.
<Raynes> No, it isn't.
<Amrykid> so why are we arguing? bro?
<Raynes> You've been saying that languages are all equal because they all end up as processor instructions. How you get there matters. He answered your question, which was "are two things that are the same, the same?", he didn't say "It doesn't matter how you get to the output." as a matter of fact, he said the opposite right above that.
This post has been edited by Raynes: 02 April 2010 - 04:35 PM
#7
Re: Does it matter what language you use?
Posted 02 April 2010 - 04:41 PM
#8
Re: Does it matter what language you use?
Posted 02 April 2010 - 04:47 PM
It does matter to the developer. Some tools make some jobs easier. Programmer familiarity can be a big factor. The available third party APIs can dictate the language. A design document may narrow the language choices. A client environment may play a role. There are probably as many different reasons to choose a language as there are languages.
#9
Re: Does it matter what language you use?
Posted 02 April 2010 - 05:00 PM
baavgai, on 02 April 2010 - 05:47 PM, said:
It does matter to the developer. Some tools make some jobs easier. Programmer familiarity can be a big factor. The available third party APIs can dictate the language. A design document may narrow the language choices. A client environment may play a role. There are probably as many different reasons to choose a language as there are languages.
Thank you, baavgaiwell said, because it is actually that way, As long as the client get's what they want, they won't complain, on the other hand the developer will develop using a language which will get the job done, and is said to be the most time consuming.
#10
Re: Does it matter what language you use?
Posted 02 April 2010 - 05:17 PM
#11
Re: Does it matter what language you use?
Posted 02 April 2010 - 05:26 PM
Certain languages are certainly better suited for different tasks. Some higher-level languages are inflexible, and don't provide access to lower-level functions that the application may need (think about all the times you use P/Invoke in C# or VB.NET). Sometimes a task that may take months in a lower-level language, like C/C++, can be completed in weeks or even days in C#. To the client, though, none of this matters.
This post has been edited by lesPaul456: 02 April 2010 - 05:27 PM
#12
Re: Does it matter what language you use?
Posted 02 April 2010 - 05:41 PM
it's funny when spanish speakers laugh on the internet and they go 'jajajaja', man that kills me.
#13
Re: Does it matter what language you use?
Posted 02 April 2010 - 05:47 PM
Amrykid's argument has been largely illogical, and his examples imply that there shouldn't even be more than a single language in existence, because it doesn't matter what you use to get to the end result. I suppose that would make sense to somebody who has never written code a day in his life, or really loves brainfuck.
Some languages are better than others in the sense that they abstract certain things that make certain tasks easier and more elegant. It has nothing to do with what the output is, but how one gets to that output. They aren't all totally equal. If they were, it would be senseless for there to exist so many languages.
The entire argument is silly, because obviously it does matter, and everybody agrees that it does.
@sloth: Agreed.
This post has been edited by Raynes: 02 April 2010 - 05:49 PM
#14
Re: Does it matter what language you use?
Posted 02 April 2010 - 05:47 PM
supersloth, on 02 April 2010 - 04:41 PM, said:
it's funny when spanish speakers laugh on the internet and they go 'jajajaja', man that kills me.
I thought those people's keyboard layouts were shifted 1 button to the left.
This post has been edited by Galois: 02 April 2010 - 05:47 PM
#15
Re: Does it matter what language you use?
Posted 02 April 2010 - 06:13 PM
If they both result in the same identical program being created the language chosen to produce it is irrelevant. If you want to throw production time into the mix (taking into account all languages which have the ability to produce a same structured program, of which there are very few) then you should take into account the experience of that programmer in each of the respective languages. Language choice should be stemmed from personal preference not from the strengths of the particular language.
|
|

New Topic/Question
Reply



MultiQuote










|