The Enhanced Soyboy loop

Discuss.

Attached: enhanced soy loop.png (738x324, 454K)

for i in ary:
do_stuff()

>(){
>}

Attached: e02.jpg (417x380, 20K)

not using begin... until

Attached: 1549899845095.png (400x534, 287K)

Both are retarded.

>consise, clear code is bad

python virgin detected

> i

i.map(x => x) is better

And how else would you do in java?

for (auto i: t)
{
}

White people don't use loops.

Computer science is the science of abstraction.
They basedb0y is right on this one.

>not auto & or const auto &

for i in t {
//
}

who the fuck does inclusive test for the range, kill yourself

kek

Streams.

for (let cock of oPAsshole) {};

>for
Sorry I don't want to catch dementia from you.

Attached: 1526285576163.png (415x318, 77K)

>not size_t
Don't call us, we'll call you.

>using loops ever
This is why you are working tech support

>loops
crap([]) -> done;
crap([T|Tt]) ->
shit(T),
crap(Tt).

Based.

t.each do |t|
end

>not using the python language god made for man to use

>i

unless you're working with anything except primitives, maybe
using auto instead of a uint8 or uint16 will needlessly waste many bytes because in those two cases auto would be 4 bytes instead of 1 or 2

>

Attached: 1547227985228.png (208x326, 40K)

t.forEach((v, i) > { ... })

Could it be a pointer?

array.map(x => x)

>not using the "approaches" operator
for(size_t i = length-1; i-->0;)
{
//stuff
}

> i

Attached: u.jpg (515x341, 35K)

God is hate that so much.
It makes longer code completely unreadable and when i have to use a piece of code written by someone else i always have to spend time by reparsing that degeneracy into the normal format

That's what an IDE is supposed to do for you, son.

I don't get it.

: based ( n -- ) 0 DO CR ." Rip terry" LOOP ;

t. doesnt know coding

t.tarded.
i < t.length

>not vectorizing everything

get on my level brainlets

Attached: vector.png (534x306, 41K)

>what is pointer

Oh look a incel has learned a new buzzword. By all means in your own words explain "what is pointer" and why you should not fuck off back to whatever board which spawned you to Jow Forums

Not something that has a length property, or any other property except for the memory address it holds.

Here is a pointer *faggot =

program like a white man

use C

*judaism intensifies*

Attached: polypiling gold.jpg (499x500, 150K)

using (var enumerator = items.GetEnumerator())
{
while (enumerator.MoveNext())
{
DoStuff(enumerator.Current);
}
}

>Still not auto&&

>i i < n
Fucking nigger get out fo here

oh no

For Each el As Element In elArray
Something ()
Next

Allman indentation or go home

t.iter().for_each(|i| /*...*/);

thread should have ended here

What godawful blight of a text-based piece of technology is this

>Using technology to make things simpler is for basedboys
This is great bait.

Attached: 1508732167969.jpg (1800x888, 273K)

for (var i = arr; i < arr + sizeof arr; i++) {
}

Attached: 1449391095132.png (397x402, 357K)

movq $0x0, %rax
movq $tlen, %rbx
decq %rbx
LOOP:
...
incq %rax
cmpq %rax, %rbx
jle LOOP

opcocksuck :: Op -> [Cock] -> [SuckedCock]
opcocksuck op = map (suck op)

it all compiles down to the same shit

it's like they think the reason women and trannies can't code is because the syntax is too verbose when the reality is they can't code because they never even attempted to study programming

fmap // t

:loop
if opfaggot goto endloop
print "op are fgt"
goto loop
print "op are ded!!!"
:endloop

step aside noobs
db 0xEB
db 0xFE

Attached: 1509316548435.gif (540x565, 1.25M)

t.forEach(x => console.log(x))

Attached: 1547943441185.jpg (480x470, 30K)

Pretty sure that is a graph to show your retarded MATLAB writing work m8s that write it like C.

I see that shit everywhere. Every fucking 30 year old program manager thinks MATLAB is the shit. But still writes code in such a way that it runs like ass, but looks like C. In 5 years it will be dead thank god. Then retards will be pushing Python.

fastest btw
for(auto it = arr.begin();it!=arr.end();it++){
//
}

that's perfectly equivalent to
for(auto it : arr)

it should be but isn't

you're retarded
{

auto && __range = range_expression ;
auto __begin = begin_expr ;
auto __end = end_expr ;
for ( ; __begin != __end; ++__begin) {

range_declaration = *__begin;
loop_statement

}

}

map, flatmap and reduce.

Attached: images.jpg (318x158, 8K)

After ten years or so of typeing
for( type::const_iterator var( instance.begin()) ; var != instance.end(); ++var)
{
//fuck me, c++ gives me arthritis
}

the autoloop on the right is a godsend.

Attached: 1454209833540.jpg (374x417, 18K)

VB.NET

>comparing i to a pointer, something that can change its value every time the program executes
r u serious?

Attached: what (2).jpg (198x200, 9K)

are u retarded?

kek

t doesnt know coding and what pussy feels like

>i++
meh

dim i = 0
While i < t.Length
' Do Stuff
i += 1
End while


Fuck your for loops.

loops are for brainlets.
recursion is the patrician choice.

>not do while

n=100
while True:
if n

la creatura
template
constexpr T for_each(T *a, size_t n, F f)
{
T *p = a;
for (size_t i = 0; i < n; i++, p++) f(*p);
return a;
}

his point was that
i

for i

std::for_each(arr.begin(), arr.end(), [](int& i){ i+= 10; } );

>t. retarded C++ fanboy

Hey, using the STL is cheating! And my version of for_each ( ) don't give a fuck about iterators.

I see shitty programmers use the left variant more in languages like that have better ways of iterating over a container , probably because everyone learns it when they're new to programming and they become attached to it like OP for some reason

Fortran:
do i=0, lenght-1
! stuff
end do

>calculating t.length-1 on each iteration
>accessing length property of t on each iteration
>no spaces
We'll call you later.

As if compiler in 1945+74 can't optimize that

>point to an address of i
>i changes every time
>the address does not

do you even have a point(er)

There's no speed or memory advantage in using uint8 for loop instead of uint32 unless you're programming for something like AVR.

Do you have to use MATLAB after college because I dislike it greatly.

>compiled language
Yikes. What's next, Assembler?

You may also get an overflow very easily if the loop count exceeds the data range, that is a common bug. Don't be afraid to invest in loop variables.

>glugluglug more soi!

(for [a my-array]
(fn-to-apply a))

Based senpai

I think you missed the understory of Mad Men and Don in general.

He was really just a LARP-ing basedboy himself. Good at it, but that's all he was.

>Pic related
was the only really strong male character not just faking a persona or that wasn't really the precursor to your average "male" Apple user.

Attached: mfw.jpg (866x1155, 154K)