Quantcast
[ 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

>>67012438
>try/catch/finally

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

>do while

>> No.67012500

>>67012485
came here to post that

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

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

>> No.67012794

if (...) {
statement
} else
statement

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

>default:

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

>>67012438
>if ... fi

>> No.67012807

elif master race reporting in

>> No.67012811

SetUnhandledExceptionFilter(ourFunFunc);
[....]
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]
67012834

>>67012811

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

[code
$ type elif file
elif is a shell keyword
file is /usr/bin/file
[/code]

>> No.67012849

>cat file | grep

>> No.67012872

>abort()

>> No.67012878

>>67012811
Wish I thought of that

>> No.67012894

op ? faggot : straight

Get on my lvl.

>> No.67012895

>>67012872
What's wrong with abort?

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

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

>> No.67012905

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

instead

>> No.67012916

>>67012904
>cat

>> 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

>>67012811
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

>>67012905
>winapi
>a perfect world
Satan pls.

>> No.67012974

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

>> No.67012975

>>67012904
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]
67013035

>>67012438
.then(function(value){...})

>> No.67013052

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

>> No.67013092

>>67012767
Won't a compiler just simplify this?

>> No.67013096

>new

>> No.67013147

>>67013052
This is why I hate JS.

>> No.67013184

>>67013092
>implying every language is compiled

>> No.67013199

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

>> No.67013402

>>67013199
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

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

>> No.67014510

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

>> No.67015041

>>67012485
>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

>>67013092
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]
67015139

>>67012937
>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

>>67015041
Doesnt cobol use this go to bs too?

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

>(case <list of conditionals> )

>> No.67015217

>class Faggot
>{

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

>>67015175
>not cond

>>
Name (leave empty)
Comment (leave empty)
Name
E-mail
Subject
Comment
Password [?]Password used for file deletion.
Captcha
Action