32
$\begingroup$

I am in theaters
and in computer programs
I sometimes throw things,
and at other times help fix broken parts.
When away I might reject you,
but on election day you are sure to hear from me.

What am I?

$\endgroup$
35
$\begingroup$

Cast/Casting

I am in theaters

Casting for a role

and in computer programs

Casting/Typecasting (f.e. integer to string)

I sometimes throw things,

To cast = to throw

and at other times help fix broken parts.

Putting a broken limb in cast helps healing.

When away I might reject you,

If you don't show up at casting you might get rejected.

but in election day you are sure to hear from me.

You can cast your vote/ballot.

$\endgroup$
  • 2
    $\begingroup$ "Break a leg" is often said to actors. This may hint to a better answer to one of the lines. $\endgroup$ – pt314 Mar 4 at 15:04
  • $\begingroup$ @pt314 Thank you! Just edited my answer according your suggestion. $\endgroup$ – Gefilte Fish Mar 4 at 15:08
  • 1
    $\begingroup$ This is correct! There is a better explanation for the 5th line too. $\endgroup$ – pirate Mar 4 at 15:10
  • 3
    $\begingroup$ Line 5 - maybe this: imdb.com/title/tt0162222 ? $\endgroup$ – Chris Sunami Mar 4 at 16:01
  • 3
    $\begingroup$ Line 5--likely a reference to this phrase. $\endgroup$ – DLosc Mar 4 at 21:13
15
$\begingroup$

Edit: Answer before new lines added.

I think the answer might be

Method

I am in theaters

Method acting

and in computer programs

Method - a procedure in object-oriented programming

I sometimes throw things,

In computer programming, methods can throw exceptions

and at other times help fix broken parts.

By definition, a method is a particular procedure for accomplishing or approaching something, especially a systematic or established one, this can include fixing broken items.

$\endgroup$
  • 3
    $\begingroup$ OP edited some more lines into their question. Seems like your answer isn't right, but they could have commented here to let you know ... $\endgroup$ – Rand al'Thor Mar 4 at 13:32
  • $\begingroup$ I like your answer but it isn't quite right $\endgroup$ – pirate Mar 4 at 13:35
9
$\begingroup$

cast

I am in theaters

the cast

and in computer programs

cast exceptions

I sometimes throw things

cast

and at other times help fix broken parts

plaster cast

When away I might reject you

castaway

but in election day you are sure to hear from me

cast a vote

$\endgroup$
  • $\begingroup$ this is the best one so far $\endgroup$ – user57528 Mar 4 at 16:27
6
$\begingroup$

I think the answer might be

Call

I am in theaters

Casting calls for roles

and in computer programs

Calls to methods or functions

I sometimes throw things,

Programming: calls to functions can throw Exceptions (https://en.wikipedia.org/wiki/Exception_handling#Exception_handling_in_software)

and at other times help fix broken parts.

Could be a call to or from a technician

when away I might reject you

You can reject phone calls.

but in election day you are sure to hear from me.

Robocalls for candidates

$\endgroup$
  • 1
    $\begingroup$ Ah, not the right answer but close! $\endgroup$ – pirate Mar 4 at 14:28
5
$\begingroup$

Could it be

Mock

I am in theaters

Mock play

and in computer programs

Mock testing

I sometimes throw things,

Mock exceptions

but in election day you are sure to hear from me.

Mock elections

$\endgroup$
  • $\begingroup$ as I see you are struggling getting your answer well formatted. you can add <br> to make a newline ;) $\endgroup$ – Flying_whale Mar 4 at 14:24
  • $\begingroup$ Besides that though, welcome to Puzzling SE! Very creative ;) $\endgroup$ – North Mar 4 at 14:46
4
$\begingroup$

Are you:

Bacteria

I am in theaters

Operating theaters, although you shouldn't be

and in computer programs

as viruses

I sometimes throw things,

projectile vomiting caused by unhealthy bacteria

and at other times help fix broken parts.

benign bacteria can help the body heal, for example, yoghurt.

When away I might reject you,

a reference to chemotaxis. WPQuote: This is important for bacteria to . . . flee from poisons.

but in election day you are sure to hear from me.

irritable bowel syndrome is often caused by bacteria.

$\endgroup$
  • $\begingroup$ I added some more lines to the riddle $\endgroup$ – pirate Mar 4 at 13:42
  • $\begingroup$ @pirate; I noticed :) $\endgroup$ – JMP Mar 4 at 13:44
3
$\begingroup$

I am in theaters

Routine - actors and dancers have routines. Comedians have routines, which is an act.

and in computer programs

Routine - computers have routines. A program that is run repeatedly.

I sometimes throw things,

Routine - a throwing routine for catchers? still looking

and at other times help fix broken parts.

Routine - a routine can be used to run maintenance on something.

When away I might reject you,

Routine - when you're away you no longer have a routine

but in election day you are sure to hear from me.

Routine - not sure still searching. They have routine elections in some countries.

$\endgroup$
  • $\begingroup$ Hi, @Yvette Colomb Welcome on P.SE :) $\endgroup$ – Mukyuu Mar 6 at 6:46
  • $\begingroup$ @Mukyuu thanks! the HNQ drew me in :) $\endgroup$ – user57528 Mar 6 at 6:46
3
$\begingroup$

I believe it's

Exit

I am in theaters

Exit stage left, exit signs are ubiquitous in theaters.

and in computer programs

All programs can exit either smoothly...

I sometimes throw things,

... or by throwing an error.

and at other times help fix broken parts.

If a program gives helpful error information while exiting, it can help to fix the program.

When away I might reject you,

You may be rejected trying to enter into an "Exit Only" door.

but in election day you are sure to hear from me.

Exit polls are often used to predict election results before the votes are tallied.

$\endgroup$
0
$\begingroup$

I am in theaters

Lights. Foot lights, spot lights, flood lights.

and in computer programs

The best debugging is only possible when light shines into the dark places where the bugs hide.

I sometimes throw things,

Solar sails! Laser propulsion.

and at other times help fix broken parts.

Laser welding.

When away I might reject you,

When you are depressed and sitting in the dark.

but in election day you are sure to hear from me.

The light of truth as revealed by the poles.

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.