Created
August 30, 2021 15:23
-
-
Save serbiant/a5c79731dacb32b66d6a61b6c3617c72 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Dirk < ActiveDeveloper::ProactiveDeveloper | |
extend Transport::Bike | |
extend Editor::VIM | |
extend Dutch | |
# particular things... | |
extend Github::PullRequest | |
extend Developer::Actions | |
extend JIRA::Workload | |
extend Google::Meet | |
def initialize | |
Transport::Bike.to_office | |
Github::PullRequest.check_what_is_new_from_the_other_devs | |
Github::PullRequest.comment_all | |
Slack.check_messages(:monitoring) | |
Editor::VIM.launch | |
work | |
end | |
def work | |
JIRA::Workload.current_tasks.find_each do |task| | |
7.times do | |
Developer::Actions.think(task) | |
end | |
Developer::Actions.code(task) | |
Github::PullRequest.create(task) | |
Slack.post('digital-freight-forwarding', task.to_s) | |
end | |
end | |
def locate_problem | |
Slack.post(:development, 'The problem is between the chair and the keyboard') | |
end | |
def join_meeting(meeting) | |
Dutch.complain('We are having too many meetings') | |
Google::Meet.join(meeting) | |
end | |
def new_appsignal_error(error) | |
Developer::Actions.code(error) do | |
Editor::VIM.type_fast_and_loud | |
end | |
Github::PullRequest.create(error) | |
Slack.post(:monitoring, "already fixed #{error.to_s}") | |
end | |
def give_up_on_task(task) | |
raise NotImplementedError | |
end | |
def got_ideas(ideas) | |
Dutch.complain('We probably need more white desks in the office.') | |
ideas.each do |idea| | |
got_an_idea(idea) | |
end | |
end | |
def got_an_idea(idea) | |
Developer::Actions.create_presentation(idea) | |
meeting = Google::Meet.schedule(:devs, idea, 1.day.from_now) | |
meeting.perform_in(1.day.from_now) | |
end | |
private | |
# tbd | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Haha thank you @serbiant, this is awesome!