-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbondaviEngineer.dart
36 lines (27 loc) · 931 Bytes
/
bondaviEngineer.dart
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
import 'dart:async';
class BondaviEngineer {
BondaviEngineer(){
// every 3 months, check if the work is meaningful.
final duration = Duration(days: 90);
Timer.periodic(duration, (_) => isWorking = isWorkingHappily && isDoingCoolWork);
}
// false if no longer working
bool isWorking = true;
String workToDo = "Develop a new app";
String whereToWork = "Your place";
String developmentKit(String preference) => preference == null
? "Flutter"
: preference;
// FYI : current intern works about 100 horus month (He was not experienced).
double get workHours => worksToDo / productivity;
// change if necessity changes
double numMeetingPerWeek = 1.0;
String meetingMethod(bool preferFaceToFace) => preferFaceToFace
? "Face to face"
: "Zoom";
// keep changing while working
bool isWorkingHappily;
bool isDoingCoolWork;
double worksToDo;
double productivity;
}