[Boards: 3 / a / aco / adv / an / asp / b / biz / c / cgl / ck / cm / co / d / diy / e / fa / fit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mu / n / news / o / out / p / po / pol / qa / r / r9k / s / s4s / sci / soc / sp / t / tg / toy / trash / trv / tv / u / v / vg / vp / vr / w / wg / wsg / wsr / x / y ] [Home]
4chanarchives logo
Why do web developers need FizzBuzz? It's bullshit high
Images are sometimes not shown due to bandwidth/network limitations. Refreshing the page usually helps.

You are currently reading a thread in /g/ - Technology

Thread replies: 70
Thread images: 13
File: fizzbuzzfire.jpg (103 KB, 1000x930) Image search: [Google]
fizzbuzzfire.jpg
103 KB, 1000x930
Why do web developers need FizzBuzz? It's bullshit high level math that nobody ever uses...

https://css-tricks.com/tales-of-a-non-unicorn-a-story-about-the-trouble-with-job-titles-and-descriptions/
>>
>>53522178
it's not necessarily fizzbuzz, but these kind of questions are just a quick field test to see if you know what you're doing.

Learning to use a screwdriver is one thing. Knowing how to use it to build a shelf is another.

Same thing with programming - there's a difference between knowing a language and knowing how to program.
>>
>>53522178
Because the idea is, if your developer can't do simple algorithms then how do you expect them to tackle problems with percentages, margins and utilizing screen space correctly for responsive design and localization?

But then again, the OP is bait so who cares?
>>
File: steinsgate-01-kyouma-laughing.jpg (38 KB, 1280x720) Image search: [Google]
steinsgate-01-kyouma-laughing.jpg
38 KB, 1280x720
>high level
Kek
>>
>>53522219
>>53522227
B-but I can make a cool whooshzoom in the browser when someone clicks a link! And by "make a cool whooshzoom" I mean "run a library function!"
>>
>Me: (OMG MATH.

This better be some joke article
>>
File: 1450843818407.png (750 KB, 854x853) Image search: [Google]
1450843818407.png
750 KB, 854x853
OMG MATH
>>
>>53522178
>http://notlaura.com/

I want to reach a point in my life at which I teach something I have no fucking clue about.

also that social justice adjusted proverb

>Give a man (or woman) a fish and feed him (or her) for a day, teach a man (or woman) to fish and feed him (or her) for a lifetime.

i'm so fucking triggered
>>
File: 1453438584732.png (296 KB, 649x649) Image search: [Google]
1453438584732.png
296 KB, 649x649
>those comments
>>
>>53522253
Had a guy toss some "pure html/css" drop down into our website that changed its position from "off" the screen to appear directly on top of the Web page as a menu of sorts and he wouldn't shut the fuck up about how cool and easy it was.

Come to find out he copy/pasted it from some online archive of shitty code. His pure css example was hilariously broken and only functioned for one VERY particular screen size (which happened to be his), so if you resized the window by a bit it broke his stuff to hell. We didn't even bother looking at it on tablet or phone and chopped his junk out next iteration.
>>
>>53522293
Check out her source and commit messages.

>https://github.com/laras126/notlaura.com
>whoopsie
>whoopsie 2
>add errything back, whoops again.

my motherfucking sides
>>
>>53522322
>This post is near and dear to me and all to similar to many “interviews” I’ve been on. The whole fixbuzz thing is a huge joke.
>fixbuzz

Dude can't even read, he had no chance right from the beginning.
>>
>>53522262
kek
>>
>>53522178
>We have a web site with articles. After every three articles there should be a text ad. After every five articles there should be an image ad. Sounds good?
to be honest, my JS knowledge is more regarding UI/UX based tasks
>...Isn't this UI?
No, UI is drawing and making the computer look pretty.


>>53522408
It's not even correct. It's just 1,2,3 with fizz and buzz randomly inserted.
>>
File: 1457999859200.jpg (189 KB, 567x443) Image search: [Google]
1457999859200.jpg
189 KB, 567x443
>>53522408
>1 2 buzz 4 buzz buzz 7 8 buzz buzz 11 buzz 13 14 fizzBuzz
>couldn't even get that right
>>
File: 1417303995247.jpg (280 KB, 502x600) Image search: [Google]
1417303995247.jpg
280 KB, 502x600
>>53522479
>>
>>53522470
>>53522479
Holy shit, I hadn't notice. Top fucking kek
>>
>>53522503
Same hahaha, this is fucking gold.
>>
>>53522322
>I would have walked off immediately and not looked back.

>BTW – I’m a physics/math grad and unless you’ve taken some abstract algebra recently, you will be totally loss.
>>
>>53522613

That's either her on an alternate account or some troll.
>>
>>53522178
>FizzBuzz
>high-level math

My sides
>>
web developers should just die
>>
>>53522178
>Tales of a Non-Unicorn: A Story
No, i wont read this.
>>
File: not-a-unicorn.jpg (31 KB, 991x327) Image search: [Google]
not-a-unicorn.jpg
31 KB, 991x327
What the shit
>>
>>53522322


>I have never used the or heard of PHP’s modulous operator before or since I failed the fizzbuzz test

my sides
>>
>I tried to talk through it a bit
>"w-well uhm... okay so... is there a jQuery function for counting? no? you could just... first you have to make the <script> tag..."
>"I HATE MATH WHEN WILL I EVER USE THIS"
>>
do people really fail at implementing basic control flow?

where do i find a fucking job at holy shit
>>
File: 1455959325807.jpg (72 KB, 650x830) Image search: [Google]
1455959325807.jpg
72 KB, 650x830
In all fairness, though it seems a shame to stop the 2minh8, the article isn't actually complete bullshit. I believe her point is in the fact that she is without a doubt a shit programmer, as she doesn't even really claim to be one, knowing only enough to get by, not that I agree with that by the way, and that her issue was that there was a programming test present in an interview for a role that was seemingly according to her advertised as being primarily orientated towards the design of a user experience, thus her logic in her anger is sort of sound, although whether or not the role was misadvertised or not obviously remains a point of contention. So she could be an idiot, but it depends on whether the consensus is that the job description was accurate or was not accurate. Or whatever fuck it.
>>
>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 hands
>2. had too many interviews asking that question
>3. be unsufferably arrogant
>4. or all of the above.
>>
>>53527554
Butt status: mad
>>
>>53527554
>>53527578
>I find snarkiness to a common indicator of
https://www.youtube.com/watch?v=LmL1gIi23Og
>>
>high level math

Sorry you failed to solve the easiest problem ever
>>
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20

Low level math. Let's bump it up a notch:
1 2 fizz 4 5 fizz 7 8 fizz 10 11 fizz 13 14 fizz 16 17 fizz 19 20

Still with us? I know this is kind of advanced math here, but it's nothing compared to what's next:
1 2 fizz 4 buzz fizz 7 8 fizz buzz 11 fizz 13 14 fizzbuzz 16 17 fizz 19 buzz

Don't feel bad if we lost you. It took Newton a few tries to even get to 7 with this complicated algorithm. So don't feel bad, it's not you, it's this high level math. No one should have asked so much of you.
>>
>>53522178
Is this memes???
>>
>women in tech
>>
>>53522178
>high level math
>>
>>53522178
I'd be offended if I was asked to solve fizzbuzz during an interview, but for the opposite reason.
>>
File: rob the dub man.png (2 MB, 823x782) Image search: [Google]
rob the dub man.png
2 MB, 823x782
>>53525564
I see what you're saying, but take note of these repeating digits.
>>
>>53522178
> I found the solution on StackOverflow and, in my honesty, linked to it in the code

Jesus Christ, this is absolutely pathetic.

I'm glad she sort of accepted she isn't a special snowflake, the ounce of self-realization was nice.
>>
>>53526662
Well it's the typical problem of these web dev job postings which demand very overarching and sometimes conflicting things.

They demand you to be proficient in html/css, javascript, a few frameworks, PHP, MySQL, version control software, UI/UX stuff, etc etc.

Normally, if you want to hire a web designer, you just ask for purely design experience, wireframing, Photoshop, Illustrator, etc etc. Maybe you ask for some CSS knowledge too. But surely you don't ask them to know front-end stuff or even backend stuff.

And neither should you ask a front-end guy to know design, which is a separate job. I suck at design, but if you give me a PSD template I can make a perfect rendering of it that will run in any browser with a >5% market share similarly.

On the other hand, I like programming more than doing webshit, it's actually boring to build pages based on PSD templates. There's little challenging stuff, unless it involves using vector graphics or some complex interaction between user input in the page and page re-arrangement. It's kinda cool to build pages which behave like the Soundcloud SPA.
>>
>>53522178
>using the fucking remainder from a division is "high-level" math

mind you, I use modulo pretty regularly in my day-to-day programming work (even if most of it is just mod 360)
>>
>>53522247
I loved steins;gate
>>
void fizzbuzz(){for(int i=1;i<101&&((!(i%3)&&cout<<"Fizz")|(!(i%5)&&cout<<"Buzz")||cout<<i);++i,cout<<"\n");}
>>
>>53522178
>high level math
PLEASE TELL ME I'M BEING BAITED
>>
>>53531897
You wish you were being baited don't you
>>
>>53525586
ok
>>
>>53527554
I would be suspicious of anyone that can give me the derivative of e^x I mean who can do that?
That comment what the fuck, its the most trivial programming question.
>>
File: happy gucci.png (46 KB, 181x166) Image search: [Google]
happy gucci.png
46 KB, 181x166
wait what the fuck

do you autists really think fizzbuzz is that hard

its just basic modulo math?
>>
>>53531897
>Community college detected

At top schools, we go into the advanced abstract algebra in fizzbuzz making us supercharged math majors!
>>
>>53533626
>He thinks Community college is a waste

Enjoy your 15 years of debt.
>>
>>53522260
It's not.
>>
>>53533626
??? ITS LITERALLY MODULO MATH

its not even advanced wtf

you're trolling, right?
>>
>>53533621
It stumped me pretty good when I first found it. Previous programs I had made didn't require math. I hadn't even heard of the modulus operation and the modulo operator, so I tried brute forcing it fairly similar to that "check if even" CS grad picture that floats around.
Being 10 years old was hard.
>>
>>53528721
Now prove the correctness of your algorithm
>>
Ain't nobody got time for all that. Just use a module, yo!
http://search.cpan.org/~yappo/Acme-FizzBuzz-0.03/lib/Acme/FizzBuzz.pm
>>
>>53522332
>her php files are open ended
Fucking bitch. Close your fucking php tag even if you don't strictly have to (it will depend on your php config).
>>
>high level math
It's a litmus test of programming capability. You can do it even without the modulo operator. Even a JavaScript codemonkey should be able to do it with a basic knowledge of for loops and if statements.

var m3 = 1;
var m5 = 1;
for (var i = 1; i <= 100; i++) {
// console.log automatically adds a newline, so instead of relying
// on a print method that doesn't do this, we'll just concat strings.
var msg = "";

// Your basic FizzBuzz crap. m3 and m5 are the answers modulo 3
// and modulo 5. If you don't know what a modulo is, you might
// call them div3 and div5 respectively. Either way, you should
// be able to white board this easily.
if (!m3) { msg = "Fizz"; }
if (!m5) { msg += "Buzz"; }
if (!msg) { msg = i; }

// This is how we recalculate modulo shit the "hard" way.
// A beginner will probably use if statements. I just feel
// like being terse. Either way, the purpose of FizzBuzz isn't
// to determine how good you are of a programmer, but whether
// you can program at all in the first place.
m3 = (m3 == 2 ? 0 : m3 + 1);
m5 = (m5 == 4 ? 0 : m5 + 1);

console.log(msg);
}
>>
>>53534961
>not es6
>into the bin it goes
>>
>>53534961
And if you use a language that doesn't dynamically change the variable type based on the value in it then you can just test integer division vs floating point division instead of using modulus.

And that's just basic knowledge of variables.
>>
>>53531336
>not using superior tau
>>
>>53534998

I don't really into JavaScript. Most of what I write is C, C++, and Ruby, and I've been venturing a little into .NET lately. I was merely writing some very simple JS to demonstrate how goddamn simple the problem is.
>>
>>53535391
JS is the best language ever, you should learn it and start rewriting the gnu coreutils in nodejs.
>>
The thing is, fizzbuzz is poop easy to do if you know very basic programming. If you're applying for a job that needs programming, you should know fizzbuzz, cause it's so simple
>>
>>53534864
I'll take the bait. Don't close the tags, it means those php files only contain php, and not some mix of sometimes interpreted these lines, sometimes not
>>
>>53537222
Dumb reason, it's for whitespace injection. From Zend : For files that contain only PHP code, the closing tag (“?>”) is never permitted. It is not required by PHP, and omitting it´ prevents the accidental injection of trailing white space into the response.
>>
>>53522178

>high level math

Triggered!!1!

Honestly, if you read what this cringegirl wrote you already got your answer.

If the description says "2 or more years of designing clean, valid, and compatible websites and applications." and you can't even writ the most simple application ever you should just stop breathing.
>>
>>53522178
>FizzBuzz
>high-level math
>>
>>53522178
>uses multiple frameworks
>claims to understand OOP
>hasn't heard of loops and conditionals
What are these people?
Thread replies: 70
Thread images: 13

banner
banner
[Boards: 3 / a / aco / adv / an / asp / b / biz / c / cgl / ck / cm / co / d / diy / e / fa / fit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mu / n / news / o / out / p / po / pol / qa / r / r9k / s / s4s / sci / soc / sp / t / tg / toy / trash / trv / tv / u / v / vg / vp / vr / w / wg / wsg / wsr / x / y] [Home]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
If a post contains personal/copyrighted/illegal content you can contact me at [email protected] with that post and thread number and it will be removed as soon as possible.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com, send takedown notices to them.
This is a 4chan archive - all of the content originated from them. If you need IP information for a Poster - you need to contact them. This website shows only archived content.