Blockland Forums > General Discussion
Torque Script
Madara:
I am one who makes immediate responses to retorts.
Massachusetts is my heritage I would expect nothing less from myself.
|Orange|:
--- Quote from: Madara on April 04, 2014, 07:08:36 PM ---I am one who makes immediate responses to retorts.
Massachusetts is my heritage I would expect nothing less from myself.
--- End quote ---
What
Xalos:
--- Quote from: Madara on April 04, 2014, 07:08:36 PM ---I am one who makes immediate responses to retorts.
Massachusetts is my heritage I would expect nothing less from myself.
--- End quote ---
That doesn't actually disprove what I said. At all. Also you didn't put a comma between heritage and I. Not noteworthy enough to add to the list, but still.
I'm "too lazy" to make the user input part.
--- Code: ---#include <iostream>
using namespace std;
int fib(int);
int main()
{
return 0;
}
int fib(int n)
{
//Yes, doing it without recursion is just that easy.
if(n < 0) return -1;
if(n == 0) return 0;
if(n == 1) return 1;
int prev0 = 0;
int prev1 = 1;
int value = 1;
for(int i = 2; i < n; i++)
{
prev0 = prev1;
prev1 = value;
value = prev0 + prev1;
}
return value;
}
--- End code ---
$trinick:
Guys, guys. Calm down for a second. This guy is here asking for help learning TS, not to be criticized about his coding abilities in other languages. Think for a minute if you're in his position, you're probably expecting responses exactly like the ones he's received where you're going to get insulted and torn apart for not being able to figure it out. The guy simply padded his resume, and maybe for you that's a deal breaker but after degrading his coding ability and intelligence he's still going to be left high and dry with no more of an idea how to code. Maybe you could try actually helping the guy learn instead of yelling at him for trying to seem like he knew something, huh?
OP: Come up with an idea of something you want to make in Blockland. If you don't know where to start, that's fine, just post a topic in the Coding Help subforum that explains what you want to make and ask how you might go about doing this. Dozens of people will step in to help you, this forum is the single biggest resource for TorqueScript help on the entire internet. You don't need to defend your coding knowledge or intelligence when you ask for help, everybody needs help at some point or another and even the best coders still ask other coders questions.
Xalos:
--- Quote from: $trinick on April 04, 2014, 07:19:04 PM ----snip-
--- End quote ---
Padding your résumé will get you fired in real life. In my opinion, it's far better to admit you know nothing about a subject than to try to make it seem like you do. If he had come right out and said "I do not know how to code, please help me learn" then I wouldn't have been tearing apart his statements in the first place.