Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
Why the empty multiline comments? And why use a variable for a constant only used once?
Besides that, welcome ^^ -
davide24927y@Krokoklemme with this variable you can perform others operations. I develop in the same way 😀
-
#include "iostream"
Using namespace std;
int main(){
cout<<"Hello you too and welcome!"<<endl;
return 0;
}; -
@davide well, you *could* perform other operations with it, but he isn't, which makes a variable kinda pointless ^^
-
bioDan61597yNice indentation! Maybe a third contender in the great indentation war?
Tabs vs. Spaces vs. Empty-Comments
function helloWorld() {
/**/var message = 'Hello world';
/**/print(message);
}
undefined