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
-
while(programming) {
System.out.println("Ahhhh Stressed!");
If(smellOfFood){
programming = false;
break;
}
}
System.out.println("Nom nom nom nom nom... happy for now"); -
@nachocode why restrict to any language when they all have their strong and weak points? Java type safety is good for big robust systems; I would prefer it over C++ because new devs will have a harder time shooting them self in the foot. Currently using Python for web development. will use C++ when I work in game development like what the poster is doing.
-
xwing71298yoh god you are doing it all wrong !!!!!
never use "using namespace std;(c++)"
it is really bad for readability of the code. specially on big projects and i mean really big, like 3 mil lines of code or more.
you should just type std::cout. it is because functions can be overwriten for optimization for the target (mcu, arm soc).
making the namespace global makes it hard to know which one of the function it is using. with the namespace infront of it makes it clear directly which is used.
it is all about readability for the other developer and so that the compiler knowns which one you intentend to call.
Related Rants
-
xjose97x19Just saw a variable in C named like this: long time_ago; //in a galaxy far away I laughed no stop.
-
Unskipp24So this happened last night... Gf: my favorite bra is not fitting me anymore Me: get a new one ? Gf: but it ...
-
sam966911Hats off to this lady .... I would have just flipped the machine
From now on, I shall always pose with the peace sign
undefined
stressed
c++