3
$\begingroup$

We are three sisters.

Our job is the same, but the way of work is different.

We repeat our task number of times.

We help people do their work

Who are we?

Hint:

We are use in programming

$\endgroup$
1
  • $\begingroup$ Some small grammatical corrections: "the way of work" --> "our way of working", "number" --> "a number", and "use" --> "used". $\endgroup$
    – jpmc26
    Aug 10, 2016 at 21:43

4 Answers 4

12
$\begingroup$

The 3 different loops:
The for-loop.
The while-loop.
The until-loop.

$\endgroup$
4
  • 2
    $\begingroup$ @lois6b it happened to me two times today. $\endgroup$
    – A J
    Aug 10, 2016 at 12:50
  • 1
    $\begingroup$ i know. i've been here, i watched hahahaha lol. sorry. $\endgroup$
    – lois6b
    Aug 10, 2016 at 12:50
  • $\begingroup$ @lois6b and the op was the same $\endgroup$
    – A J
    Aug 10, 2016 at 13:13
  • $\begingroup$ Everything is a plot against you. You know it $\endgroup$
    – lois6b
    Aug 10, 2016 at 13:15
15
$\begingroup$

My guess would be

The three hands of a watch / clock.

All three of them's work is to run around the clock, but they do it faster or slower.

They obviously repeat their task number of times, by spinning until the watch eventually runs out of battery.

They help people to do their work by scheduling tasks and making people's work more efficient (like this).

finally they are "kind of" used in programming, as almost every random value generated in programming is done using a seed based on TIME (the entire time spent since January 1st, 1970, in seconds).

$\endgroup$
1
  • $\begingroup$ I was going to add this as answer before but changed when OP added a hint. $\endgroup$
    – A J
    Aug 10, 2016 at 17:08
7
$\begingroup$

Can be

for, while, and foreach loop or do-while

Our job is the same, but the way of work is different.

iteration, but in different way of course

We repeat our task number of times.

they repeat the same task again and again.

We help people do their work

not sure, but may be do some specific tasks repeatedly

$\endgroup$
4
  • 1
    $\begingroup$ What? And no goto:? $\endgroup$
    – rhsquared
    Aug 10, 2016 at 13:01
  • 2
    $\begingroup$ Goto is not a loop. is just a Jump statement. Can be used to make a loop but it would be like using a phone as a hammer. $\endgroup$
    – lois6b
    Aug 10, 2016 at 13:01
  • 4
    $\begingroup$ @lois6b I would argue it is more like using a jackhammer as a hammer, it might get the job done, but its going to break everything around it. $\endgroup$ Aug 10, 2016 at 14:27
  • $\begingroup$ All of these boil down to conditional jumps. When they are converted to machine code, they all become exactly that. Although "goto" is not conditional, why is a conditional jump not included? $\endgroup$ Aug 10, 2016 at 14:31
6
$\begingroup$

You are

Compiler, Linker, and Interpreter

Our job is the same, but the way of work is different.

The job of all three is to create an application. But the way of work is different since one compiles the source code, the other links it, and the third interprets it.

We repeat our task number of times.

Each module is run several times over the source code to produce the application executable.

We help people do their work

Each of these modules help programmers write runnable programs.

$\endgroup$