[ 3 / biz / cgl / ck / diy / fa / g / ic / jp / lit / sci / tg / vr / vt ] [ index / top / reports / report a bug ] [ 4plebs / archived.moe / rbt ]

Due to resource constraints, /g/ and /tg/ will no longer be archived or available. Other archivers continue to archive these boards.Become a Patron!

/g/ - Technology

View post   

[ Toggle deleted replies ]
File: 56 KB, 280x400, 1435778390206.jpg [View same] [iqdb] [saucenao] [google] [report]
67012438 No.67012438 [Reply] [Original] [archived.moe] [rbt]

>else if

>> No.67012473


>> No.67012485
File: 752 KB, 1080x870, Screenshot_20180718-191915~21.png [View same] [iqdb] [saucenao] [google] [report]

>do while

>> No.67012500

came here to post that

>> No.67012767
File: 66 KB, 528x792, 1457921761338.jpg [View same] [iqdb] [saucenao] [google] [report]

>if (x == true) {return true;} else {return false}

>> No.67012794

if (...) {
} else

>> No.67012801
File: 60 KB, 1024x1004, 1531189307586.jpg [View same] [iqdb] [saucenao] [google] [report]


>> No.67012803
File: 77 KB, 415x318, 4b4.png [View same] [iqdb] [saucenao] [google] [report]

>if ... fi

>> No.67012807

elif master race reporting in

>> No.67012811

int i = 1000 / 0; // (calls ourFunFunc)

>> No.67012822

z-index: 100000000000000000000000000000000000000000000000000

>> No.67012834
File: 3.33 MB, 452x308, .gif [View same] [iqdb] [saucenao] [google] [report]


>> No.67012845
File: 25 KB, 600x512, 1512585483595.jpg [View same] [iqdb] [saucenao] [google] [report]

$ type elif file
elif is a shell keyword
file is /usr/bin/file

>> No.67012849

>cat file | grep

>> No.67012872


>> No.67012878

Wish I thought of that

>> No.67012894

op ? faggot : straight

Get on my lvl.

>> No.67012895

What's wrong with abort?

>> No.67012904
File: 39 KB, 720x518, 1509355753587.jpg [View same] [iqdb] [saucenao] [google] [report]

>tfw I literally did this on my matlab script back then

>> No.67012905

In a perfect world it would be
TerminateProcess(hwnd, true, true);


>> No.67012916


>> No.67012937

Yeah, nice bully thread. So what if people don't do it in your perfectionist way? It doesn't mean they're bad coders. These are all perfectly acceptable pieces of code because of the fact that they work.

Maybe if you incels stopped over-focusing on the unimportant details, you could get laid.

>> No.67012962

MS's PatchGuard shit uses loads of tricks like this, it's all been reversed by now obviously but it's always neat seeing how an OSdev tries to protect their shit.

Anyone still reading just google "KiFilterFiberContext", you won't be disappointed.

>> No.67012969

>a perfect world
Satan pls.

>> No.67012974

Why? https://www.gnu.org/software/libc/manual/html_node/Program-Termination.html

>> No.67012975

Why the fuck do I laugh every fucking time I see a crying kot?

>> No.67013035
File: 7 KB, 275x183, images(19).jpg [View same] [iqdb] [saucenao] [google] [report]


>> No.67013052

(async () => { ... })();

>> No.67013092

Won't a compiler just simplify this?

>> No.67013096


>> No.67013147

This is why I hate JS.

>> No.67013184

>implying every language is compiled

>> No.67013199

The sad part is the people who would need such optimization are ones to not use compiled languages.

>> No.67013402

I think MATLAB would deal with this. It is smart enough to skip calculations of there's a multiplication by zero for example.

>> No.67014053

Only SHIT languages are not compiled. Every decent language has at least JIT.

>> No.67014510

But even then, they still need to at least parse that shit, right?

>> No.67015041

>FORTRAN 77 does not have a do-while loop but it is easy to construct one using IF and GO TO statements.

true programmers

>> No.67015112

You shouldn't rely on the compiler to make your code less shitty.

>> No.67015139
File: 60 KB, 1000x1000, .jpg [View same] [iqdb] [saucenao] [google] [report]

>perfectly acceptable pieces of code because of the fact that they work
this is the most pajeet thing I've ever read
>get laid
I do get laid though.

>> No.67015148

Doesnt cobol use this go to bs too?

>> No.67015175
File: 10 KB, 223x226, download.jpg [View same] [iqdb] [saucenao] [google] [report]

>(case <list of conditionals> )

>> No.67015217

>class Faggot

>> No.67015772
File: 83 KB, 645x614, 1514234475503.png [View same] [iqdb] [saucenao] [google] [report]

>not cond

Name (leave empty)
Comment (leave empty)
Password [?]Password used for file deletion.