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
-
Hmmm, I think that you should've ask him "sir, how do I need to group loops?" Follow up questions are sometimes more important than answers.
My answer however would be simmilar to @fbomb 's but without "infinite loops" those are not 'type' but 'subcategory' of all of them because we can have infinite do-untill as well as infinite while loops. -
@Grundeir not really, you just have to assume that it has not and poof it doesn't :) thats beauty of maths ^^
-
sysm94828y
-
@fbomb ohh thats right i forgot about it, my bad.
We should call it "goto-loop" then, how about that? -
adracea8928yDoing something like while(true) could also be considered a kind of gameloop but the condition is mentioned but always true and not 'not mentioned'.
-
sysm94828y@azous I did, albeit politely, when the seminar ended. That mass thing really grinded my gears.
-
rmahey5988y@Grundeir @Grundeir @sysm9
Infact, a rolling stone has more mass than a static one. As kinetic energy increases and because the speed of light in a vacuum is absolute, E=mc^2 states that mass must increase.
Therefore, Ɐ stones M >0 => M(Rolling) > M(Static)
Q.E.D.
Also, you are absolutely asked coding questions in interviews. Who told you otherwise lmao? The interview at most companies consists of a few behavioral questions and then a bunch of coding or language specific questions. Also, top companies will often not bother with the behavioral and only do algorithm questions. -
@@fbomb but that is ignoring the fact that the stone's speed is approaching the speed of light (from quite a ways away, though it may be) so its mass is ever so slightly increasing.
-
rmahey5988y@fbomb you are speaking of that which is taught in basic university physics or high school physics. This is correct for most people and satisfied most equations but in truth it is incorrect. Mass does indeed increase as speed increases. This is because speed and therefore mass is relativistic and differs depending on the frame of reference from where one is viewing an event occuring. If mass did not increase as energy does, then this would allow objects to accelerate to relative velocities past the speed of light!
-
@fbomb wait, I think you have that backwards (or at least, wrong)... the inertia of an object would have to increase as it approaches the speed of light, and inertia is only dependent upon mass, so mass would have to increase for inertia to, right? I would assume that that change in mass would cause a change in weight as well, would it not?
Related Rants
So, there was an Internship and Recruitment training seminar held in my college yesterday, by a firm that's very well known apparently. Some wonderful new things that we learned:
*There are 4 types of loops, not 2. (Okay, maybe on a technicality, but still not conventionally)
*You aren't asked to write code when interviewing for a programming job. (Well, what?)
*A rolling stone has no mass. (Probably the worst mutated proverb I've ever heard)
I'm not going to sign up for this program.
undefined
programming
college
seminars
it