-_- if I try and shave off two bytes from my code, I get an integer output when valid, null otherwise. The problem is that sometimes, that integer is 0.
@EᴀsᴛᴇʀʟʏIʀᴋ Anyway, vosotros usually is not explicitly visible. It just affects the conjugation of the verb. Like, we'll say ¿qué decís? instead of ¿qué dicen?. But no pronoun unless emphasis is needed. But you probably know that already :-)
This doesn't change the discussion much, but just for trivia: In the US, it's customary to refer to North America (Canada -> Panama) and South America as two distinct continents, rather than calling the whole thing one continent.
In my household, we refer to the area between Mexico and Columbia as Central America, causing occasional debates as to whether it's its own continent or part of one of the others.
Objective-C / C, 50 bytes
puts(){printf("trick");}main(){printf("treat\n");}
Objective-C got candy and prints treat, but C didn't and prints trick.
How it works
I don't know a lot about Objective-C, but it does what we'd reasonably expect in this situation. The re-definition of puts doesn'...
Undefined variables are usually treated as 0 (unless they're string variables), but apparently (my best guess), they can also be treated as functions that return 0? I don't think it can be treating it as an array, since arrays are 1-indexed.
Hm! The version of QBasic runnable at archive.org gives 0 for x(x) if x is set to any integer value between 0 and 10 inclusive. Other integers give "Subscript out of range." So maybe it is something to do with arrays. 0_o
On this site we obey the laws of thermodynamics!
code-challenge sequence string
And in particular the second law: the entropy of an isolated system increases over time.
For this challenge,
An "isolated system" will be taken to be consider a program or function (abbreviated as "program" from ...
Alternative scoring mechanisms fall under code-challenge
> A code challenge is a competition for creative ways to solve a programming puzzle with an objective winning criterion not covered by other scoring tags (e.g. code-golf).