Web devs

>web devs

Attached: web.png (900x495, 163K)

I think that guy is just a plain dumbass

Attached: 2ee385e3-f6cb-4033-876f-36590914cce5_256.png (256x256, 93K)

>not reddit spacing you're code because it looks pretty

>Not checking your grammar because it looks pretty

>find one idiot
>HEY GUYS [entire group] ARE STUPID LOL

>falling for you're oldest trick in the boock

I use foreach when I can because it looks cleaner. It's annoying when you need an index though.

srsly.
>foreach when you dont need index
>for when you need index

>reddit spacing

Attached: 1315962228628.png (344x302, 15K)

Funny, I work on security products that happen to be websites, and the past 2 years I've had to:
>Implement a cross-server mutex to sync server actions
>Implement mainframe credential integration
>Debug complex background threading that renders recorded session video
And now that our products are taking off, we have scaling problems to figure out, and it's all on use to sink or swim, feels great.

But what do I know, I'm just a dumb ass web dev doing webshit, please do show me how to dereference that pointer again! It's really hard!

>dumbass web devs being this insecure
get a real job fuckface

He's main contributer to JS repo with 13k stars.

You just know this guy acts really smug when he tells people that JavaScript is aschctually a functional programming language. I bet he also writes the kind of JavaScript you see in every other npm package that pays absolutely no concern to readability and solves every problem in a ""smart"" way with huge chains of method calls and nested closures.

Attached: 1520298467749.jpg (496x600, 34K)

>>Implement a cross-server mutex to sync server actions
Tis doesn't sound too hard,
>>Debug complex background threading that renders recorded session video
What made it complex?

>security products
>that happen to be websites
>products
>websites
herein lies the fuckery

>Debug complex background threading that renders recorded session video

we live in a world where it takes ~ 1500 lines of raw C code to draw a triangle with Vulkan but there are web "developers" who think debugging a video rendering on a web browser is complex

Attached: 1499559174278.png (912x905, 1.23M)

Facebook webdev pages are an entirely different reality.

Attached: webdev.png (499x763, 167K)

>reddit spacing
people from reddit are way to scared to browse here. did you know that they have their own subreddit called Sup Forums where they act like they actually are on Sup Forums ie check dubs n shit? it's hillarious!

Map and forEach do entirely different things

this is what css backwardsy and hackery does with people's brains

there should have been a front end reinvention a long time ago
but people just added crap to it and build the second tower of Pisa

pretty sure V8 optimizes forEach, map and similar functions into the actual for loop equivalent since its native code

>cross server mutex
>blocking async operations on a near global level
>scaling issues to figure out
This is your own fault

funny thing about forEach is that you would suggest that its just syntax sugar instead of for loop when no index is needed
(like in many languages)
oh no, no, no it doesnt actually iterate an array, but applies the callback function to every object separately, it therefore also completely ignores returns or breaks for stopping the "iteration", so its actually much more like map but map actually returns the value of the callback and constructs a new array...

source?

read the doc its the first sentence
"The forEach() method calls a provided function once for each element in an array, in order."

cant find documentation on the return thing but just try it

No it’s slower due to edge cases.

Looked it up, map is faster. And because it returns a new array, it's easily implemented into any sort of change detection.

In reality, do whatever you wanna do.

Of course you are a dumbass webshit.
>cross-server mutex
jesus fucking christ. No wonder you have scaling issues

Get rid of the fucking mutex wtf.

There's your bottle neck

arr = []
for ( i=0; i {
if (e > 50) return
console.log(e)
})


Works for me senpai. The keyword "break" is not allowed though.

Wait no, you're right. Well isn't that fun.
arr = []
for (i=0; i {
if (e > 50) { console.log(e); return; }
console.log(e)
})

Use Direct3D.

I unironically do this

>(((most efficient)))

>reddit spacing

You mean double spaced? Like they require you to do in school? Are you a dropout or something?

>can't write for loop

The absolute state of "javascript" devs

He's completely right. Loops are not composable, iteration primitives are.