/dpt/ - Daily Programming Thread

What are you working on, Any Forums?
Previous:

Attached: 091e1913bd231ae26623972aa521458b4a731fe2.jpg (950x800, 347.36K)

Other urls found in this thread:

stackoverflow.com/q/64260888
twitter.com/SFWRedditVideos

> "Next:
Miss.

>C++ versions are backwards compati-
>*blocks your path*

Attached: char8_t.png (405x140, 3.3K)

why would a typedef be incompatible? C++ also has uint8_t and int8_t that C doesn't currently have too

It's not a typedef, it's actually a different fucking type.

>absolute state of /dpt/
I know now to never take you guys seriously.

Attached: James-edited-300x300.png (300x300, 102.92K)

>some guy makes a good question in stackoverflow
>but the question is in spanish
>some guy votes to close it stating how it's not in english
>I try to help with a quick comment in spanish
>question gets closed
>question gets edited to english
>my fucking comment gets deleted
>question still closed
That kinda pissed me off

Global illumination is awesome

Attached: Screenshot (828).png (1315x851, 47.24K)

obviously

This is the direct lighting

Attached: Screenshot (829).png (1331x813, 31.14K)

off by one ;_;

Attached: 1625210575072.png (648x506, 291.32K)

looks like a younger stallman, seems based to me

how do i avoid doing nested if
if x in list:
if y in list:
if z in list:
print('true')

>90% of the available jobs are webdev shit
I just wanna a comfy sepples job, I don't even care if it pay less...

Attached: 1469250936173.jpg (612x612, 51.21K)

looks like he knows how to program, maybe he's one of the guys who always answer my questions here

Attached: d1.png (256x256, 75.19K)

if x in list and y in list and z in list:

if x in list and y in list and z in list:
print("true")

stackoverflow.com/q/64260888
this is why rust trannies think C++ is shit, because it always, ALWAYS manages to fuck something up, at this point it might just be the committee trying to preserve their own existence for as long as possible
and yet still they're behind in features

He's a tripfag called "Ruby". I don't think he browses here anymore.

>IndentationError: expected an indented block after 'if' statement on line 1

Python has significant whitespace. Add an indentation to print("true")

yes, that was the joke

h-happy to help