
I will not name the companies. To her credit, it must be said that this is really a leader in her business, who has achieved serious success. It is worth noting a beautiful cozy office, completely sane HR (which was very nice), a lot of bonuses (insurance, simulators, training ...) for employees.
Everything was very nice. And to all really thank you very much.
But I would like to say something that really struck me!
')
They wanted to see me as a perlovik. And they asked me these questions:
my $ x = 1;
$ x = $ x ++ + ++ $ x;
print (print "A", print "B", print "C");
my $ x = 0;
(1)? $ X = 1: $ x = 2;
print $ x;
The fact that I did not approach them as a perlovik, I somehow had no doubts :-) But going home in the night city, I thought about something else.
What did these people want to know?
They did not ask me about my OO beliefs.
They did not ask about the elements of functional programming (map vs. for; that when is better).
They did not ask about regular expressions.
They did not ask about the algorithms (at least the classical optimization of the built-in sorting from Rendal-Schwartz).
They did not ask how I feel about goto;
What, in my opinion, should be comments and documentation;
Is it good to copy the code?
Do I have any idea about template engines and so on.
Do I have any ideas about paters (iterators, adapters ...).
What do I know about lazy calculations.
All these things may or may not be known; use fanatically or use moderate ... there is something to talk about ... But instead, you yourself-see-what was asked; and from here I have another question.
What is the code for these people? What will I see when I come to a new job?
I do not know these people, but I know how much success their company has achieved, and this does not allow me to think about them badly ... however ... I had a firm confidence that I would come to a heap of spaghetti code.
I have seen such a mountain code. Where the only comment was "PREDED!". Instead of:
$ q = 0;
$ q ++;
great programmers wrote
$ {q = q =} - = $ {qq-}; # PYST! PYST !!! 111
$ {q + q +} ++ # KILL ME! 11111
Just because it's fun.
And breathing in the cool of the night, I thought,
Perhaps language dictates how to express yourself.
Perl programmers have this way of expressing themselves. They do not really think about what I have listed as important questions for me ...
And I decided to write the
following article (which I will publish a little earlier this one, so that they go in the correct order from top to bottom :-)
upd: I published it correctly, but it’s still not in the order I expected :-)).
upd2: I want to assure everyone again, I don’t want to discredit anyone with this topic! In the end, people could be tired, something to lose sight of (it was a late evening). Could and guess something in my words. I first told about myself, maybe some questions from them immediately disappeared ... the fact that I was not asked about something was not very surprising. It amazes
me what I was asked about :-) I don’t understand why they did it and what they wanted to find out in this way. That's all.