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
-
github95487yIDE doesn't work for logical error
Scenario 1:
if(some condition)
print 1;
print 2;
print 3;
Output:
Condition is true: 123
Condition is false: 23
Scenario 2:
if(some condition) {
print 1;
print 2;
}
print 3;
Output:
Condition is true: 123
Condition is false: 3
Compiler won't throw error for such and it takes ages to find out such mistakes. I wasted 45 precious mins in a coding competition which resulted in my team rank going from top 10 down to 44th. -
github95487y@ThatDude yup. Chilled out. Dude. It's past now, almost 3 years back. Now, I always use braces even for single line inside ifs. Precautions. Haha.
-
mahaDev22227yIn my Alma mater, we had to use vi editor/gedit and shell compilers. No IDEs. So don't be surprised, anything can happen
-
@dtaposh almost all compilers including gcc tell you about a missing semicolon and the line number
-
hell165967yIf(condition){
}
Only then I write the code inside.
Even if the IDE or whatever gives you insight to what's wrong there is a series of good practices you can adopt in order to improve you time and quality.
I understand juniors complaining about juniors mistakes, its OK.
But if a senior comes to me with this behavior he is gonna have a bad time.
I'm sorry for being this sharp I'm just in a mood of being allergic to bullshit from professionals.
Related Rants
-
sonrisa37Best quotes from IT teacher: - "C# is a language to program your IDE." - "C# is a language for beginners, and...
-
PieInOblivion11I once brought my Kali Linux laptop to school. (Because normal had dead battery, waiting for shipping) MFW so...
-
Gerrymandered35I was in school and I got bored. I opened two command prompts and did what any scammer would do. I went to t...
I was at the robotics group of our school when suddenly two other students (both 2 grades above me) started talking:
P1: I always forget the brackets when writing code
P2: I always forget the return statements
P3: yeah, always takes ages to find out why your code doesn't work
P4: haha, in the end it's just something missing that you didn't notice like a semicolon or a bracket
Me (thinking): do you use a fucking toaster to code? Even if you don't use an ide the compiler tells you what's wrong
rant
school
lemon powered toaster