I dunno (piefed.cdn.blahaj.zone)
 
you are viewing a single comment's thread
view the rest of the comments
[–] 67 points 10 months ago (10 children)

5 isn't a valid function name, is obviously the right answer.

  • source
  • hideshow 10 child comments
  • [–] 17 points 10 months ago (2 children)

    How can you be sure it's not defined when we only see one line?

  • source
  • parent
  • hideshow 2 child comments
  • [–] 7 points 10 months ago* (1 child)

    They didn't say it's not defined, they said it's not a valid name. Most languages don't allow function names to start with a number, so 5 literally cannot be a function if that's the case.

    But that's assuming this isn't some really obscure language.

  • source
  • parent
  • hideshow 1 child comment
  • [–] 0 points 10 months ago (3 children)
  • [–] -3 points 9 months ago (2 children)

    Depends on the language

    No it doesn't

  • source
  • parent
  • hideshow 2 child comments