|
Subjunctive posted:Reflection isn't inherently horrible.
|
# ? Jul 24, 2014 20:48 |
|
|
# ? May 11, 2024 13:26 |
|
Speaking of Java horrors today:code:
|
# ? Jul 24, 2014 20:53 |
|
necrotic posted:Not to mention that wasn't variable variables. Variable variables are things like: That's a feature.
|
# ? Jul 24, 2014 20:54 |
|
ohgodwhat posted:I would love to hear about the bad interviews I'm sure some of you have had. "I like PHP more than C because you don't have to declare the variables." That was the other guy they were interviewing for the position. Guess who got the offer 1337JiveTurkey posted:C'mon it's the 21st century, obviously it's a @Inject @EnterpriseAsFuck Provider<ProblemFactory> That's my fault for not keeping up with the state of Java, I guess Munkeymon fucked around with this message at 21:04 on Jul 24, 2014 |
# ? Jul 24, 2014 21:02 |
|
necrotic posted:Not to mention that wasn't variable variables. Variable variables are things like: If you use it purely as ${$var} then it's quite awful. If you use it as $object->{$var} then yes, there're legitimate uses for it. Sorry, it's been a long day and I just looked at http://php.net/manual/en/language.variables.variable.php Sagacity posted:Obviously not, but to use it to expose methods like that… I wouldn't use it to expose all methods...
|
# ? Jul 24, 2014 21:10 |
|
Munkeymon posted:"I like PHP more than C because you don't have to declare the variables." I think I would walk out if I showed up to an interview and there were multiple candidates there.
|
# ? Jul 24, 2014 21:18 |
|
EAT THE EGGS RICOLA posted:I think I would walk out if I showed up to an interview and there were multiple candidates there. yeah that's tacky as poo poo spread them out by an hour, gently caress
|
# ? Jul 24, 2014 22:04 |
|
Subjunctive posted:Reflection isn't inherently horrible. I love PHP's reflection capabilities, makes things so much cleaner. But then again, my custom framework turns all controllers/routers into closures irrespective of what they are (functions, methods, closures) and executes them as a closure. Perhaps I'm the horror?
|
# ? Jul 24, 2014 22:09 |
|
Azerban posted:yeah that's tacky as poo poo I'm under the impression that that's pretty normal in the corporate world, especially for a junior position? It also makes sense to me because it was a multi-round interview, so the interviewees and interviewers were all occupied for the same length of time and the interviewers get a more direct comparison between the candidates that way.
|
# ? Jul 24, 2014 22:14 |
|
Westie posted:I love PHP...
|
# ? Jul 24, 2014 22:27 |
|
Soricidus posted:Don't worry, it's not terminal. You can beat this. We're all rooting for you. Well, what else is there?
|
# ? Jul 24, 2014 22:34 |
|
Westie posted:Well, what else is there? Literally anything else.
|
# ? Jul 24, 2014 22:51 |
|
Chill Callahan posted:He's right. Java code:
|
# ? Jul 24, 2014 23:39 |
|
necrotic posted:We had one guy come in and say "I'm not writing any code, you have my resume" after we asked him to write a basic algorithm (flatten an array or something similar). The real horror is that you didn't ask him to write code on the phone screen.
|
# ? Jul 25, 2014 00:02 |
|
Munkeymon posted:I'm under the impression that that's pretty normal in the corporate world, especially for a junior position? Nope
|
# ? Jul 25, 2014 01:14 |
|
EAT THE EGGS RICOLA posted:I think I would walk out if I showed up to an interview and there were multiple candidates there.
|
# ? Jul 25, 2014 03:33 |
|
ShadowHawk posted:Err what if the overachieving dude after you showed up really early? Their problem? That's no reason to start a group interview.
|
# ? Jul 25, 2014 03:44 |
|
BigRedDot posted:Their problem? That's no reason to start a group interview.
|
# ? Jul 25, 2014 03:45 |
|
Westie posted:I love PHP's reflection capabilities, makes things so much cleaner. You can't just say that and not post code. Is it on Github or Bitbucket or something? Come on.
|
# ? Jul 25, 2014 03:50 |
|
ShadowHawk posted:I may have been misinterpreting what "other candidate was there" meant. Presumably the other candidate was there for the next/prior interview. Assuming he arrived at whatever time they agreed on, that means they are going over/under time. Implies a lack of realistic planning. Better not work there, their poo poo is outta control.
|
# ? Jul 25, 2014 04:00 |
|
EAT THE EGGS RICOLA posted:I think I would walk out if I showed up to an interview and there were multiple candidates there. Azerban posted:yeah that's tacky as poo poo Strategy for getting hired: get a few of your friends to masquerade as interview candidates and hang around outside of the building all day. Have them strike up conversations with people who look like they're there for a job interview, saying things like "yeah they gave us the wrong time to show up and it sounds like they're running late, too"
|
# ? Jul 25, 2014 04:10 |
|
necrotic posted:We had one guy come in and say "I'm not writing any code, you have my resume" after we asked him to write a basic algorithm (flatten an array or something similar). I must agree though its annoying, They have seen your resume and all the companies you have worked for as a developer (about 10 in my case) and they have verification of your Oracle OCA SE7 certificate and they still want to see you write "FIZZ BUZZ" in a TDD way. and then make you work a 9 month probation because "Thats what probation is for... To see if you can actually do the job" <rant> SO WHY DID I HAVE TO PROVE I COULD DO THE JOB IN THE FIRST PLACE.... </rant>
|
# ? Jul 25, 2014 07:05 |
|
Snapchat A Titty posted:Presumably the other candidate was there for the next/prior interview. Assuming he arrived at whatever time they agreed on, that means they are going over/under time. Implies a lack of realistic planning. Better not work there, their poo poo is outta control.
|
# ? Jul 25, 2014 07:21 |
|
TheresaJayne posted:and then make you work a 9 month probation because "Thats what probation is for... To see if you can actually do the job" edit: obviously if we hire someone who isn't what we thought, that's a failure of hiring processes, and they should be improved, but a failsafe in that situation is worth having
|
# ? Jul 25, 2014 09:38 |
|
TheresaJayne posted:I must agree though its annoying, They have seen your resume and all the companies you have worked for as a developer (about 10 in my case) and they have verification of your Oracle OCA SE7 certificate and they still want to see you write "FIZZ BUZZ" in a TDD way. Have you never encountered or heard about a hire that ended up being totally unqualified? There are people who can fart their way through school and years of work and come out with a 3.5+ GPA and a nice looking resume, while not being able to code/problem solve their way out of a paper bag. Coding interviews are a sanity check on your credentials, along with probationary periods (though 9 months sounds excessive?).
|
# ? Jul 25, 2014 09:55 |
|
ultramiraculous posted:Have you never encountered or heard about a hire that ended up being totally unqualified? There are people who can fart their way through school and years of work and come out with a 3.5+ GPA and a nice looking resume, while not being able to code/problem solve their way out of a paper bag. Coding interviews are a sanity check on your credentials, along with probationary periods (though 9 months sounds excessive?). The company had a large Call Center operation and everyone in the company was subject to the 9 month ruling. I personally also had a 3 month probation as well because i hadnt been doing .NET for a bit. (I passed that at the end of Month 1 because it was obvious i could do the job. ) Unfortunately I went on holiday for a week and when i came back the Lead Dev had quit, the Senior Dev also had quit, and 3 of the other devs had quit, and the Dev Manager was leaving.... I was not allowed into the office and just taken to an external area and given all my stuff and told - you don't have a job here bye.
|
# ? Jul 25, 2014 10:30 |
|
TheresaJayne posted:Unfortunately I went on holiday for a week and when i came back the Lead Dev had quit, the Senior Dev also had quit, and 3 of the other devs had quit, and the Dev Manager was leaving.... Your ex-employers sound nice. Nothing wrong with PHP btw, it's just most people's first language learned, therefore an entire internet of poo poo examples exist.
|
# ? Jul 25, 2014 13:45 |
|
eithedog posted:If you use it purely as ${$var} then it's quite awful. The question was specifically about the $$gently caress variety. I didn't realize that $gently caress->$poo poo was also a variable variable.
|
# ? Jul 25, 2014 13:47 |
|
Westie posted:
I take it you haven't been reading this thread very long.
|
# ? Jul 25, 2014 13:52 |
|
Snapchat A Titty posted:Presumably the other candidate was there for the next/prior interview. Assuming he arrived at whatever time they agreed on, that means they are going over/under time. Implies a lack of realistic planning. Better not work there, their poo poo is outta control. No, we interviewed at the same time, talking to different people most of the time. They stuck us in the same room to get presented at about what the company did and then walked around and looked at the general office environment. After that, we had separate technical interviews and there may have been multiple rounds of technical interview but I don't remember all that well because this was 6+ years ago.
|
# ? Jul 25, 2014 15:08 |
|
Westie posted:Your ex-employers sound nice. http://php.net/manual/en/types.comparisons.php
|
# ? Jul 25, 2014 15:58 |
|
Westie posted:Your ex-employers sound nice. don't throw steak in the lions den, son
|
# ? Jul 25, 2014 16:05 |
|
e: nevermind
|
# ? Jul 25, 2014 16:39 |
|
zergstain posted:The question was specifically about the $$gently caress variety. I didn't realize that $gently caress->$poo poo was also a variable variable. Don't know either - don't really use the $$var. I guess $obj->{$var} is a variable attribute and $obj->{$method}() is variable method, but them being labeled under variable variables in PHP documentation confused me a little, sorry. The only usage of $$var I've seen is in smarty modifiers, for example: code:
|
# ? Jul 25, 2014 19:48 |
|
RE: $$var talk I've seen it used to write a function that you can either pass arguments to or an array with all the arguments in it. php:<? function fuckingIdiotsUseThis ($first = "foo", $second = "bar", $third = "baz") { if (is_array($first)) { foreach ($first as $key => $val) { if (in_array($key, array( "first", "second", "third" ))) $$key = $val; } } // Go on and do more stupid poo poo with just the expected paramters } ?>
|
# ? Jul 25, 2014 20:07 |
|
Mogomra posted:Of course, you should probably use extract() instead, but Or just be sane and have one drat signature for the functions instead of some crazy variable poo poo. Also gently caress extract into the next universe.
|
# ? Jul 25, 2014 20:48 |
The 1600 line bash script is too complex, so lets put a 1000 line wrapper written in perl in front of it
|
|
# ? Jul 25, 2014 20:50 |
|
IT BEGINS posted:Also gently caress extract into the next universe. Yeah. I was saying in another thread that I sit near some people who are working on the PHP language specification. I have no idea how they are ever sober, but talking about extract is guaranteed to get a pen thrown my way. Content: >: cat /etc/redhat-release CentOS release 5.2 (Final) >: timeout 5 false && echo 'wtf' wtf
|
# ? Jul 25, 2014 21:27 |
|
Westie posted:Nothing wrong with PHP btw, it's just most people's first language learned, therefore an entire internet of poo poo examples exist. http://eev.ee/blog/2012/04/09/php-a-fractal-of-bad-design/
|
# ? Jul 25, 2014 21:44 |
|
|
# ? May 11, 2024 13:26 |
|
Holy poo poo, you can really stop right here quote:It’s not transitive. "foo" == TRUE, and "foo" == 0… but, of course, TRUE != 0. I had forgotten how utterly horrible PHP is.
|
# ? Jul 26, 2014 05:05 |