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
-
kiki352177yPlot twist: that was bored Rob Pike acting like he knows nothing about C++ just to challenge his power of will
-
Plot twist: The candidate is going to rewrite the interview in a way making you look like the idiot for now knowing of the c++vm and asking for his coat as ransom
-
kiki352177yAs long as the quantity of all bits on all computers in the world is finite, every function in existence is pure if you consider that global state as it's only input.
*music plays*
https://youtu.be/cU8HrO7XuiE -
Pointer32497yHow come you call yourself an expert in C++ and have no fucking clue about C++'s VM?
SHEEZ.
*sarcasm* -
kiki352177y@Alice of course not, you little newbie. Everyone knows that C is machine learning reactive ui language that runs in the browser, C++ is what Medium guys invented with their paid graphql virtual machine that available via adobe creative cloud subscription, and C# is blockchain database that stores everything in svg. I thought they teach this in schools! That's basics!
-
So he created the c++ garbage collector and a c++ virtual machine.
You should hire that genius!
(kidding) -
LMagnus20637y@uyouthe that's not actually true. The # is meant to be the music sharp symbol which indicates the note should be slightly higher.
So like C++ used ++ to denote it was an increment of C, C# is an increment of C++.
Next one could be C {up arrow} for an example. -
Flygger19817y@LynxMagnus there's nothing 'slightly higher' in the #; it clearly denotes that it should be half a note higher, thus placing C# directly between C and C++ ;)
-
plot twist - when I see this phrase I always imagine a wooden fence that has been twisted in some way because plot means fence in Slovak 😂😂😂
-
Devil's advocate.
C++ standard is defined in terms of an abstract machine and not any concrete implementation of one. I mean it's definitely not a VIRTUAL machine, but perhaps he was confused.
Or he was a dumbass, probably a dumbass.
Related Rants
Interview with a candidate. He calls himself "C++ expert" on his resume. I think: "oh, great, I love C++ too, we will have an interesting conversation!"
Me: let's start with an easy one, what is 'nullptr'?
Him: (...some undecipherable sequence of words that didn't make any sense...)
In my mind: mh, probably I didn't understand right. Let's try again with something simple and more generic
Me: can you tell me about memory management in C++?
Him: you create objects on the stack with the 'new' keyword and they get automatically released when no other object references them
In my mind: wtf is this guy talking about? Is he confusing C++ with Java? Does he really know C++? Let's make him write some code, just to be sure
Me: can you write a program that prints numbers from 1 to 10?
Ten minutes and twenty mistakes later...
Me: okay, so what is this <int> here in angle brackets? What is a template?
Him: no idea
Me: you wrote 'cout', why sometimes do I see 'std::cout' instead? What is 'std'?
Answer: no idea, never heard of 'std'
I think: on his resume he also said he is a Java expert. Let's see if he knows the difference between the two. He *must* have noticed that one is byte-compiled and the other one is compiled to native code! Otherwise, how does he run his code? He must answer this question correctly:
Me: what is the difference between Java and C++? One has a Virtual Machine, what about the other?
Him: Java has the Java Virtual Machine
Me: yes, and C++?
Him: I guess C++ has a virtual machine too. The C++ Virtual Machine
Me (exhausted): okay, I don't have any other questions, we will let you know
And this is the story of how I got scared of interviews
rant
write shit on cv and don't care
c++
interview
shitty interview