I can glue jQuery together, I don't need to know FizzBuzz!
-
Discourse has totally fucked up your formatting, to the point it's unreadable to me.
No kidding. Here...I'll fix:
for( int i = 1; i <= 100; i++ ){ bool divisible_by_3 = ( ( i % 3 ) == 0 ); bool divisible_by_5 = ( ( i % 5 ) == 0 ); if( !( divisible_by_3 || divisible_by_5 ) ) { Console.WriteLine( i.ToString() ); } else { if( divisible_by_3 ) { Console.Write( "Fizz" ); } if( divisible_by_5 ) { Console.Write( "Buzz" ); Console.WriteLine(); } } }
-
It's almost readable on my end, except for the random lack of spaces on some lines because why not.
PROTIP: use triple backtick instead of bbcode code tags.
-
Result of that code:
1 2 Fizz4 Buzz Fizz7 8 FizzBuzz 11 Fizz13 14 FizzBuzz
-
them in not making it more obvious they needed the coder part.
The title was 'UX Engineer/Interaction Designer'
"Interacting" with a website in 2015 pretty much requires hitting Javascript.
Responsibilities
Create low and high-fidelity mockups to effectively convey interaction and design ideas
How do you mock-up a system interaction without using Javascript? Things like "if you type 'adfkah' into the date field, it pops up an error".
Deliver engaging, innovative prototypes, and contribute to front-end development of our products.
An "engaging" prototype means one you can interact with. Contributing to front-end development requires writing fucking front-end code.
So, no. They made it perfectly clear - or at least perfectly clear for anyone who has seen a single website since late 00s. Even a minor piece of validation requires JS knowledge going above and beyond for loops, and conditionals. If she doesn't have the basics right, why should the interviewer expect her to be able to do anything more difficult?
-
Er, you do realize there are tools to make interactive mockups without writing code, yeah? They're marketed at designers. They're intentionally done without using actual web code, which can be nice because you're not tempted to just use the prototype as the real interface. Balsamiq has that functionality off the top of my head; it produces an interactive PDF.
Here's an overview of how designers tend to model interactivity in their designs without writing code: http://support.balsamiq.com/customer/portal/articles/107999
-
Could be worse. They could make her play a preachy video game before allowing her to interview:
-
I read a piece of dialogue there (because I'm stupid that way) and it all sounded like non sequiturs to me. I don't even know what they were trying to say? The guy seemed perfectly reasonable to me, and his dialogue should align with the game's goals, but the game seemed to throw negative reinforcement at him?
What is this, "I wanna be the guy: The adventure game"? Sounds frustrating to me at least.
-
I'm a master at the first two
This phrase is by far my favorite. When anyone claims to be a master of anything, they're likely full of shit. She probably just hacks together crap and only cares about the end result in the most perfect conditions like a true self-proclaimed master.
-
I mean – I would be suspicious of someone who could solve fizzbuzz off the cuff. They are likely to:1. have too much time on their hands2. had too many interviews asking that question3. be unsufferably arrogant4. or all of the above.
Being unsufferably arrogant sounds cool. Now to the meat. The gates of hell have opened where I work and now we are supposed to leverage Ada 2012 Aspects and in particular Pre and Post aspects, Suddenly I need to know all about this so... Ada target practice time:
with Ada.Strings;Use Ada.Strings; with Ada.Text_IO;Use Ada.Text_IO; procedure fizzMain is function Fizzbuzzify ( num : in Integer ) return String with Inline, Post => (if ( num mod 3 /= 0 and num mod 5 /=0 )then fizzbuzzify'Result = num'Img elsif (num mod 3 = 0 and num mod 5 /= 0) then fizzbuzzify'Result = "fizz" elsif (num mod 3 /= 0 and num mod 5= 0)then fizzbuzzify'Result = "buzz" else fizzbuzzify'Result = "fizzbuzz"); function Fizzbuzzify (num : in Integer ) return String is Representation : String := (if ( num mod 3 /= 0 and num mod 5 /=0 )then num'Img elsif (num mod 3 = 0 and num mod 5 /= 0) then "fizz" elsif (num mod 3 /= 0 and num mod 5= 0)then "buzz" else "fizzbuzz"); begin return Representation; end Fizzbuzzify; begin for I in 1 .. 15 loop put_line ("FizzBuzz " & I'Img & " magic " & Fizzbuzzify(I ) ); if (I =15) then pragma Assert(Fizzbuzzify(I)="fizzbuzz" ,"I fail at fizzbuzz give me the JQuery"); end if; end loop; end fizzMain;
I also plan on doing the 5 coding challeges as a way of learning to do this.
Spoiler alert :
Not gonna finish in an hour.
-
Honestly, if she applied for this and was able to do FizzBuzz in CSS, that would probably help her case. It's a clever restatement of the problem in a language she's comfortable with, AKA thinking on her feet. That would help the case a lot more than "Well I just can't do it!"
-
And by insulting, I mean, 'FizzBuzz is one of the simplest possible tests of whether or not someone can really write code to accomplish a goal'
I just read through the comments. Note to self, don't hire this guy:
There are some people writing that if you can’t “FizzBuzz” you don’t belong in this industry. That’s a harsh thing to say and it’s simply not true.
This girl is just straight up lazy.
Except that she spent more time writing that post than it would have taken to find out how to do FizzBuzz.
-
Click on your avatar again up top or bring up your usercard somewhere in the topic. There should be a Remove Filter button on the usercard.
Yep, that worked. (I thought about clicking my avatar in the summary under the first post, but "bring up [my] usercard somewhere in the topic" isn't what I would call discoverable.
-
Jeebus, that formatting style gives me hives.
I just hate putting { on the end of the line, but what you did with the parens and whitespace, well, there's a special circle of hell for you.
-
but "bring up [my] usercard somewhere in the topic" isn't what I would call discoverable.
Yeah, only if you filtered from there to start with. But that just moves the discoverability pea.
I just hate putting { on the end of the line,
DIE DIE DIE
but what you did with the parens and whitespace, well, there's a special circle of hell for you.
That bit was in the original, but I find that generally more readable, so: DIE DIE DIE
-
How do you mock-up a system interaction without using Javascript? Things like "if you type 'adfkah' into the date field, it pops up an error".
I assume her answer would be "there's some jQuery boilerplate validation". Or, actually, it's probably "I'd use the datepicker", which I think you can configure to not accept user input into the textbox.
-
I don't even know what they were trying to say?
You are supposed to learn how to speak in a way that won't upset hothouse flowers, because they can't handle it.
-
-
Or, actually, it's probably "I'd use the datepicker", which I think you can configure to not accept user input into the textbox.
Yes, if your answer to just about any question is to hand roll a datepicker...
-
a special circle of hell
The only styles I've see which deserve that are
if (condition) { code }
and
if (condition) { code }
-
Honestly, if she applied for this and was able to do FizzBuzz in CSS, that would probably help her case. It's a clever restatement of the problem in a language she's comfortable with, AKA thinking on her feet. That would help the case a lot more than "Well I just can't do it!"
I wouldn't disagree.
If they actually wanted someone competent in JS, not "copypasta jQuery snippets off SO", though, I bet they would still have passed on her.
-
+{}<s
-
That bit was in the original, but I find that generally more readable, so: DIE DIE DIE
At least I won't be going to the special circle of hell when I do, unlike Egyptian-brace blasphemers.
-
Yes, if your answer to just about any question is to hand roll a datepicker...
No, I said "the" datepicker on purpose: jQuery's got a quite nice one. I've even used it myself--that's about the limit of my knowledge of it, heh.
-
Yeah, those two are bad.
Objectively I know Java and JS people prefer the Egyptian style, but I just hate the looks of it. If I were working at a place where that was the style, I'd use it, but I'd be unhappy.
-
```javascript
}
else {You realise this marks you as a heretic.
-
At least I won't be going to the special circle of hell when I do, unlike Egyptian-brace blasphemers.
I use it in JavaScript because... JavaScript. ASI. Weirdness of all kinds. I do not wish to anger it further.
-
At least I won't be going to the special circle of hell when I do, unlike Egyptian-brace blasphemers.
If I gotta go, might as well go to the good circle.
No, I said "the" datepicker on purpose: jQuery's got a quite nice one.
Ah. My jQuery knowledge is very limited. I've used some selectors and that's about it.
You realise this marks you as a heretic.
http://tnation.t-nation.com/forum_images/4/5/45618_ORIG-Come_at_me_bro.jpg
-
I use it in JavaScript because... JavaScript. ASI.
Oops. I meant to mention that, but, yeah, that's what I was thinking of.
I prefer to not do it, and just structure my code so ASI isn't a problem. (In fact I didn't learn about ASI until...actually, until I started reading the Discurse forum here, and I'd been writing JS for years, if not strenuously, and never even run into it...but I don't leave off semicolons, either.)
-
If I gotta go, might as well go to the good circle.
I said special, not good.
Ah. My jQuery knowledge is very limited.
Yeah, me too, but that is one of the first things I learned about, because I was improving a page last touched in 2008, that used separate month, day, and year dropdowns, written by a guy who learned JS in 1995, apparently.
-
I said special, not good.
Right, but based on your formatting preferences, you're clearly a crazy person whose preferences aren't to be trusted.
-
No one has a reason to expect more of job descriptions. They're almost always put together or edited by HR, so the most that you can expect is that a thorough analysis of them may allow you to find strange inconsistencies, such as URGENT NEED IMMEDIATE INTERVIEW ORACLE MSSQL SERVER JAVA C# DEVELOPER IN [some place hundreds of miles away]
Maybe this is a problem? Which is one of her points and quite valid. better job descriptions would save money for companies and time for people going to interviews. Of the top of my head I remember a company that always ask for embedded developers experience doing drivers a plus and required experience compiling the Linux kernel.Now, maybe I'm utterly wrong and they indeed require a host of Linux kernel compiling developers, but I'm sorely tempted to interview with them just to know how many developers they need with that skill and how often they actually compile the Linux kernel. My bet is once a year they compile a Debian with the real-time scheduler flag on, or something like that
-
http://tnation.t-nation.com/forum_images/4/5/45618_ORIG-Come_at_me_bro.jpg
I actually have a blue belt in one style and a yellow in another (I would be a lot farther along if I hadn't moved and not found a place that taught the same style.)
-
@Onyx said:
I use it in JavaScript because... JavaScript. ASI.
Oops. I meant to mention that, but, yeah, that's what I was thinking of.
I prefer to not do it, and just structure my code so ASI isn't a problem. (In fact I didn't learn about ASI until...actually, until I started reading the Discurse forum here, and I'd been writing JS for years, if not strenuously, and never even run into it...but I don't leave off semicolons, either.)
Which reminded me that I wanted to post this...
TIL that IE and Chrome family will register a variable called
event
for every event handler you have, automatically. So a piece of code where I managed to make a tyop:$('a').on('click', function(evnt) { event.preventDefault(); ... });
Actually worked properly in everything but FF. Highly confusing.
Filed under: STOP HELPING!
-
you're clearly a crazy person
...says the guy with this avatar:
(huh...no preview. Wonder if it'll show up when I post.)
EDIT: not when you use an imgr tag instead of an img tag. -bz
EDIT EDIT: I know that. After 3 people mentioned it, I didn't see any point in fixing it.
-
Yep, had to deal with that little gotcha a while ago.
-
<imgr src="http://what.thedailywtf.com/user_avatar/what.thedailywtf.com/boomzilla/45/13465.png">
:)
-
That's not Chrome/IE just setting something in
window.event
is it? Or is it actually somehow injecting a variable called 'event' into the event handler?
-
huh...no preview. Wonder if it'll show up when I post.
NopeThis works though:
http://what.thedailywtf.com/user_avatar/what.thedailywtf.com/boomzilla/120/13465.png
-
T@FrostCatL
<imgr>
is not a real tag
-
It's
window.event
. Should have clarified. Actually, the word that's missing is still, because passing into callbacks was made the standard cross-browser method ages ago, AFAIK.
-
Oh, nice.
Of course, when I just pasted the bare URL it didn't display either.
Of course^2 what I should have done was find his old avatar from the other forums.
-
-
T@FrostCatL
<imgr>
is not a real tagJust you wait until Imgur gets their hands into W3C
Filed under: [<fcbk>Share this post</fcbk>](<twtr>tag</twtr>)
-
-
Of course^2 what I should have done was find his old avatar from the other forums.
I think I originally used it here for a bit...
-
https://www.youtube.com/watch?v=NHPyfoaI9co
Oh, here you are, and the other one, of course. But only after refreshing the page--leaving it alone for 6+ minutes didn't make it load!
@sam, any ideas why that would happen?
-
(HOW CAN BODY BE TOO SIMILAR TO WHAT i JUST POSTED IF YOU ATE MY POST?!)
-
No it didn't. It's right
-
I think I originally used it here for a bit...
Could be, but you used it a lot longer there.
Edit: even after the "Saving..." bar went away, this didn't load in the thread for me until after I tried to edit another post, so I got the "abandon post?" dialog.
-
Ah, yes, here it is: