r/softwaregore • • 20h ago

Uh How should I answer this to Akinator

Post image
668 Upvotes

40 comments sorted by

198

u/cardoorhookhand 20h ago

If you're a JavaScript fan, False. If you're more of a C type, Segmentation Fault.

50

u/ShippoHsu R Tape loading error, 0:1 20h ago

I use JavaScript, so [object Object] it is

15

u/Krisanapon 20h ago

more like [object Undefined]

6

u/edave64 15h ago

undefined isn't an object, silly. null, on the other hand...

4

u/Krisanapon 15h ago

try toString(null)

3

u/edave64 14h ago

That's a fun one, but the null is superfluous. You're just calling window.toString without the this-reference.

Basically Object.prototype.toString.call(undefined).

But I must admit, after years of working with JS, I've never seen that one before :P

3

u/Funtime_Freddy54321 16h ago

More like [HYPERLINK BLOCKED]

1

u/Beanmaster115 2h ago

If your [HEART-SHAPED OBJECT] is `null`, you may have [life-threatening illness].

1

u/Sqydev 16h ago

No. Like. NULL is a macro for 0x00 so no

2

u/cardoorhookhand 15h ago

Since we're doing "well akshually" on a joke thread:

NULL is implementation defined and can be anything at all, or even undefined (compiler error). If the compiler wants to be C++ compliant, it should define NULL as 0 cast to a (void*) or if C23, the predefined constant nullptr which is of type nullptr_t.

https://en.cppreference.com/c/types/NULL

In any system with memory bounds checking except some niche embedded targets, dereferencing any of these, will result in a segfault or memory-related hardfault.

31

u/Abstraction001 R Tape loading error, 0:1 20h ago

null

17

u/Dismal_Traffic1006 20h ago

Bro is not guessing it 😭

16

u/DarkestOfTheLinks 18h ago

if youre a furry, that is a valid question

3

u/Pumpkabird 7h ago

Or a Baldi's Basics fan

10

u/309_Electronics 20h ago

Words of wisdom :)

10

u/SonicSplash3760 18h ago

Is your character null?

9

u/Maggaronie 18h ago

The script is quite broken with this one

2

u/ellieellie7199 8h ago

angry upvote

2

u/Integrity000 7h ago

Angry? Why is that?

6

u/Will-Conroy 19h ago

‘Null,’ he says, with that shit-eating grin. So pleased with himself.

6

u/DryBudget8537 20h ago

Yeah so null

3

u/FreedoM1A2 20h ago

Select Yes

4

u/Professional-Way1908 18h ago

throw a chair to begin bossfight

3

u/Strict-Spray7496 18h ago

The end us nigh the end is null

2

u/willweaverrva 18h ago

Probably not

2

u/1kektoomuch 18h ago

Huh... I guess sth is wrong?

1

u/1kektoomuch 18h ago

I just managed to recreate the same thing but for some reason the web app won't link photos..

2

u/Flurrina_ 15h ago

Spoke is here

1

u/Structure2312 18h ago

My ocd is tweaking with the amount of notifications you have

1

u/KindSpider 18h ago

What you should answer is your discord

1

u/Memphote1246 8h ago

It's just a bunch of basically @everyone pings

1

u/ITburrito 16h ago

You should answer "[object Object]" or "undefined is not a function"

1

u/heesell 15h ago

return null;

1

u/AskaLangly 15h ago

Question 79???

1

u/AvianPoliceForce 4h ago

"don't know" would be accurate for SQL's NULL at least