[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y ] [Search | Free Show | Home]

pickYourDestiny(img)

This is a blue board which means that it's for everybody (Safe For Work content only). If you see any adult content, please report it.

Thread replies: 22
Thread images: 1

File: pick.png (728KB, 3000x1989px) Image search: [Google]
pick.png
728KB, 3000x1989px
pickYourDestiny(img)
>>
>>57813857
"null" will make america great again
>>
>>57813857
NULL
WinAPI style
>>
>>57813857
```nullptr```
>>
>>57813857
(void*) 0
>>
nil
>>
nil
>>
>>57814251
Worst thing that happened to programming after OOP
>>
>>57813857
None and "None"
>>
NULl
>>
>>57813857
None
>>
nullptr
NULL
None
null
nil
0
Things should be what they look like. Null is defined as "having or associated with the value zero". Nil is defined as "zero...". None is defined as "not any". Why not just use zero then?

I choose something equally useless: nada
if (arrPtr != nada) { KillYourself(); }
>>
moot
>>
>>57814351
You are misinformed. nil was defined in LISP 1.5, which was around in the 1950s. OOP came around after the 1970s, with SIMULA.

Therefore, nil happened before OOP.

Now assuming you mean OOP is in a list of bad things to happen to programming, and nil is in the last right after OOP: this was at the beginning of PL design and those people made plenty of ugly baby projects that grew up to be mutants. I think it is pretty cool. Realistically, most modern programming languages were derived from ALGOL, so nil is meh.
>>
nullptr
>>
>>57813857
>Having a type sensitive language
>>
>>57814969
this
>>
Null is the worst thing to happen to a type system
>>
>>57813857
Wait, what is
'\0'
??
>>
I prefer nil
>>
I prefer NULL because it's a constant.
>>
>>57814596
a NULL type is different from the integer 0. It is good to keep them separated. For example if you are doing statistics on an array and parts of the array do not have a number.
Thread posts: 22
Thread images: 1


[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y] [Search | Top | Home]

I'm aware that Imgur.com will stop allowing adult images since 15th of May. I'm taking actions to backup as much data as possible.
Read more on this topic here - https://archived.moe/talk/thread/1694/


If you need a post removed click on it's [Report] button and follow the instruction.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com.
If you like this website please support us by donating with Bitcoins at 16mKtbZiwW52BLkibtCr8jUg2KVUMTxVQ5
All trademarks and copyrights on this page are owned by their respective parties.
Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
This is a 4chan archive - all of the content originated from that site.
This means that RandomArchive shows their content, archived.
If you need information for a Poster - contact them.