07-12-2013, 07:15 AM
Which is the greater sin?
07-12-2013, 07:15 AM
Which is the greater sin?
07-12-2013, 11:21 AM
I am clueless
07-12-2013, 11:34 AM
Lua.
I have sort of changed sides with Java now that I know how to program with it. It's still bad though.
07-12-2013, 12:13 PM
Honest question; what is so sinful about Lua?
07-12-2013, 03:53 PM
'Tries to be hipster and succeeds.
Fucking end statements. Retarded comment syntax.'
07-12-2013, 06:29 PM
so just because it uses "then" and "end" instead of "{" and "}", and -- instead of // for comments, it's one of the worst languages there is..?
07-12-2013, 08:43 PM
ComputerCraft uses it. That condemns it.
07-12-2013, 09:42 PM
Every language has it's pros and cons. What does it matter?
07-13-2013, 02:41 AM
I think LUA would win because its easier to learn.
07-13-2013, 10:56 AM
No, mort, there is much more... much more....
07-13-2013, 01:56 PM
then I'm honestly quite interested in what that "much more" is..
07-16-2013, 10:11 AM
I must side with Lua here. It does have a retarded syntax, but it is very cleverly constructed. They way you can use environments and metatables makes it really fucking flexible, and it's very easy to implement very abstract solutions.
So to everyone here, learn a language before bashing it. And I mean learn it, learn the in's and out's of it, not just learn the syntax. Though, I don't like it. It's too flexible in my opinion. GO C.
07-16-2013, 11:53 AM
Personally, I don't think what language you use matters; any language is capable of performing identically given the right commands. Which really makes it a matter of preference as to which language is better. I like C++ because it has fairly simple structures, but from these basic elements, something enormously complex can be created. I don't think that that makes it better, it's just the language that I find suits me best and that I enjoy using. And isn't that all that really matters?
07-16-2013, 04:04 PM
That would be very nice, but it is faaar from the truth.
Virtual machines and interpreters and compilers will not perform the same instructions on the CPU, python is VERY slow, due to it's interpreted nature, another example would be C#, whose virtual machine will not decide whether to interpret of compile a thingy, and will often interpret code it would have been faster not to. Java, on the other hand is memory consuming as hell, and awful in every way.
07-16-2013, 05:41 PM
What I meant was that, writing two programs in two different languages to perform the same operations will give you the same output. I understand that other differences like whether the language is compiled/interpreted or managed/unmanaged would effect things like memory usage or speed, or what actual instructions are carried out by the CPU, but they wouldn't effect the outcomes of the programs if they're both written to do the same thing.
07-16-2013, 09:08 PM
but they affect how fast it is done, and how much it leeches off other processes, which are kinda important; they are why we hate notch.
07-17-2013, 01:57 AM
I like java personally but python is more dificaled when it comes to thoses indents java just wants its ; after most lines.
07-17-2013, 05:50 AM
(07-16-2013, 09:08 PM)Xeomorpher Wrote: but they affect how fast it is done, and how much it leeches off other processes, which are kinda important; they are why we hate notch. If you're going to be talking about speed, then you have to keep in mind that programs on older computers are going to run slower then on newer ones. And likewise, programs written now running on future computers will run faster than they do now. The hardware is just as important as the software. And its for that reason that speed is irrelevant - code can always run faster on newer hardware. Just because one language implementation is slower than another on identical hardware does not make the slower language 'bad'. It just means that it's slower.
07-17-2013, 07:58 AM
No - I love python, which is very slow, but if you're using a task that requires speed, such as any game, or large amounts of data processing, speed really does matter - You exclude all low end machines from using your software.
07-17-2013, 10:27 AM
Why do I get the feeling that we're having two different conversations? I realize that from a practical perspective, it's better to use specific languages for specific tasks, and that some languages are faster than others - but that's not what I'm talking about. I'm talking about the syntax that's written to do those tasks, the thought that constructs used throughout the different languages are analogous.
So that, from a functionality standpoint, for(int a=0; a < 10; a++){cout << a << endl;} is operationally equivalent to for a in range(10): print a so there's really no difference between them except for the way they're written.
07-17-2013, 08:59 PM
(07-17-2013, 10:27 AM)Thor23 Wrote: Why do I get the feeling that we're having two different conversations? I realize that from a practical perspective, it's better to use specific languages for specific tasks, and that some languages are faster than others - but that's not what I'm talking about. I'm talking about the syntax that's written to do those tasks, the thought that constructs used throughout the different languages are analogous. Yes there is. C++ is compiled, Python is interpreted.
07-17-2013, 09:20 PM
And more to the point,
java is terrible and lua is awful.
07-18-2013, 09:21 AM
(07-17-2013, 08:59 PM)mad1231999 Wrote:(07-17-2013, 10:27 AM)Thor23 Wrote: Why do I get the feeling that we're having two different conversations? I realize that from a practical perspective, it's better to use specific languages for specific tasks, and that some languages are faster than others - but that's not what I'm talking about. I'm talking about the syntax that's written to do those tasks, the thought that constructs used throughout the different languages are analogous. *facepalm* I.. I feel like I need to be speaking very slowly in order for you to get the point I'm trying to make. Better yet, I'll make an analogy: You need to get to the airport, and have two vehicles in the driveway that you can take to get there. One of them is a truck, the other an electric car. Both vehicles run on different forms of energy, have different features, and look different - but both are completely capable of getting you to the airport. So which one you choose to take makes no difference, as the end result is the same: you arrive at the airport.
07-18-2013, 04:03 PM
What if the truck drives into a tree?
07-18-2013, 04:20 PM
(This post was last modified: 07-18-2013, 04:20 PM by qwerasd205.)
(07-18-2013, 04:03 PM)Xeomorpher Wrote: What if the truck drives into a tree?i fart! (07-17-2013, 08:59 PM)mad1231999 Wrote:(07-17-2013, 10:27 AM)Thor23 Wrote: Why do I get the feeling that we're having two different conversations? I realize that from a practical perspective, it's better to use specific languages for specific tasks, and that some languages are faster than others - but that's not what I'm talking about. I'm talking about the syntax that's written to do those tasks, the thought that constructs used throughout the different languages are analogous. (07-17-2013, 09:20 PM)Xeomorpher Wrote: And more to the point, (07-18-2013, 09:21 AM)Thor23 Wrote:(07-17-2013, 08:59 PM)mad1231999 Wrote:(07-17-2013, 10:27 AM)Thor23 Wrote: Why do I get the feeling that we're having two different conversations? I realize that from a practical perspective, it's better to use specific languages for specific tasks, and that some languages are faster than others - but that's not what I'm talking about. I'm talking about the syntax that's written to do those tasks, the thought that constructs used throughout the different languages are analogous. (07-18-2013, 04:03 PM)Xeomorpher Wrote: What if the truck drives into a tree? (07-18-2013, 04:20 PM)qwerasd205 Wrote:(07-18-2013, 04:03 PM)Xeomorpher Wrote: What if the truck drives into a tree?i fart! QUOTE PYRAMIDS!!! fail to pyramid quote!
07-18-2013, 09:25 PM
No.
07-18-2013, 09:38 PM
07-19-2013, 04:58 AM
07-19-2013, 03:56 PM
What if the front wishbone shears off?
07-19-2013, 05:47 PM
The what? Is the truck now a chicken or something? Why are you nitpicking like this anyway? All of this is as irrelevant to the point I'm trying to make as the significance of being interpreted or compiled is.
07-19-2013, 06:19 PM
I'm not xD, I'm making jokes out of the metaphor, not in any way meant to be undermining it...
07-20-2013, 06:29 PM
Well its hard for me to tell whether you actually understand what I'm saying if you're making jokes.
07-20-2013, 10:27 PM
Nothing I say can be taken seriously. Ever. <3
07-20-2013, 10:48 PM
(07-19-2013, 05:47 PM)Thor23 Wrote: The what? Is the truck now a chicken or something? Why are you nitpicking like this anyway? All of this is as irrelevant to the point I'm trying to make as the significance of being interpreted or compiled is.Java is both compiled then interpited the .java is compiled to .class whips interpited.
07-22-2013, 12:59 AM
(This post was last modified: 07-22-2013, 12:59 AM by redstonewarrior.)
Lua succeeds as a scripting language, and java is the confused teenage lovechild of C++ and... I don't even know. Where the hell did the whole obese VM come into play?
[RELATIVE] GO LUA?!??!?!?!?!?!?!?!?!!? I haven't tried it out, but it sounds like it just turns everything into duck-typed objects, including functions objects etc. This can be useful, but slooooow ;_; In conclusion: WRITE IN C, WRITE IN C, WRITE IN C, WRITE IN C, ...
07-22-2013, 02:59 AM
I started in C and went to java when I started code my mod. And you can use C in java.
07-22-2013, 06:05 PM
07-22-2013, 08:37 PM
No I am talking about using the ability in Java to run extranal C code as part of it. And I know how to do a lot in C but programs with windows is not one of them.
07-22-2013, 10:44 PM
I'm going to correct, for the sake of being annoying, that you're only using machine code when you do that. You can, as you put it, also run external java code "in" (from) C. Learn gtk!
07-23-2013, 06:20 PM
Just use python for all things where speed to code matters,
C where speed of code matters.
07-23-2013, 07:08 PM
Speed of code always matters, therefore use C.
07-23-2013, 11:18 PM
(This post was last modified: 07-23-2013, 11:18 PM by Billman555555.)
Java =
//yourmumusingacraploadofmemory Lua = //yourmumontherasberrypi C/++ = //yourmum Python = //yourmumisslow Way I see it there pretty much the same
07-24-2013, 11:01 PM
Java - The fat one
Lua - The stupid one C# - The fucked up one Python - The sexy one C - The ONE
07-25-2013, 01:14 AM
C++ - The ONE's brother
07-25-2013, 09:38 AM
BASIC - The ONE's father
07-25-2013, 02:54 PM
Binary - The One's creator.
07-25-2013, 03:38 PM
lolBASIC
|
|