Call:
+45 2267 6555

Five Lines of Code

Five Lines of Code

15. September · 09:00 - 15:30 By: Christian Clausen

Based on his book "Five Lines of Code" Christian Clausen is teaching refactoring that's focused on concrete rules and getting any method down to five lines or less! There’s no jargon or tricky automated-testing skills required, just easy guidelines and patterns illustrated by detailed code samples and exercises.


During the workshop, we discuss general principles and explore how to put them into practice with lots of hands-on exercises. We work with an object-oriented codebase similar to those found in the industry, and although it is Typescript it is easily understood if you are familiar with Java or C#.


Participants should bring a PC with Typescript installed (guide: https://thedrlambda.medium.com/your-first-typescript-program-295b11dfd167)


When: 15th Septemer, 09:00-15:30

Where: Salling Group, Rosbjergvej 33, 8220 Brabrand



Christian Clausen


About Christian Clausen

Christian Clausen is the founder of Mistware, building cognitive-light developer tools. Previously he worked as a Technical Agile Coach, teaching teams how to properly refactor their code, and, as a software engineer on the Coccinelle semantic patching project, an automated refactoring tool. He has an MSc in computer science and five years' experience teaching software quality at a university level. He is the author of the Manning bestselling book Five Lines of Code.

{
  "empty": "",
  "blank": "",
  "siteinformation": {},
  "si": {},
  "request": {
  "cookies": {},
  "request_url": {
  "href": "https://destinationaarhus.com/event/five-lines-of-code",
  "origin": "https://destinationaarhus.com",
  "protocol": "https",
  "hostname": "destinationaarhus.com",
  "path": "/event/five-lines-of-code",
  "params": {}
},
  "request_data": {
  "ip": "44.201.97.26",
  "is_mobile": 0,
  "user_agent": "CCBot/2.0 (https://commoncrawl.org/faq/)",
  "referrer": ""
},
  "currentmember": "",
  "is_logged": false,
  "device_type": "Desktop",
  "timezone": {
  "label": "(UTC+01:00) Amsterdam, Berlin, Bern, Rome, Stockholm, Vienna",
  "offset": 2.0
},
  "system_recaptcha_sitekey": "6Lf2cGcUAAAAABbL4aDrclASNZx9S3uaI9EvpvlI"
},
  "pagecontent": "{% assign eventName = this.name %}\n{% assign MembersOnlyVal = this.Membersonly %}\n{% assign nowTime = \"now\" | date: \"%s\" | plus: 0 %}\n{% assign eventEnd2 = this.EventDateEnd | date: \"%s\" | plus: 0 %}\n{% assign type = this.type %}\n              {% capture tilmeldingMeet %},{{this.VisTilmeldingMeetup | join: \",\"}},{% endcapture %}\n    {% capture Fysisktilmelding %},{{this.Fysisk | join: \",\"}},{% endcapture %}\n\n
\n
\n
\n
\n
\n

{{this.name}}

\n
\n
\n
\n
\n
\n \n
\n
\n
\n
\n

{{this.name}}

\n
\n \n {% capture eventStart %}{{this['EventDateStart'] | date: \"%e\"}}{% endcapture %}\n {% capture eventEnd %}{{this['EventDateEnd'] | date: \"%e\"}}{% endcapture %}\n \n {% if eventStart == eventEnd %}\n {{this['EventDateStart'] | date: \"%e. %B · %H:%M\"}} - {{this['EventDateEnd'] | date: \"%H:%M\"}}\n {% else %}\n {{this['EventDateStart'] | date: \"%e. %B, %H:%M\"}} - {{this['EventDateEnd'] | date: \"%e. %B, %H:%M\"}}\n {% endif %}\n \n By: {{this.speakerNavn}}\n
\n \n

{{this.description}}

\n
\n
\n

{{this.speakerNavn}}

\n \"\"\n
\n

About {{this.speakerNavn}}

\n

{{this.speakerBeskrivelse}}

\n \n \n \n {% if this.Allocation >= this.Capacity %}\n \n

This event is fully booked. For signing up for the waiting list contact us on: info@destinationaarhus.com

\n \n {% else %}\n\n {% if nowTime < eventEnd2 %}\n {% if this.type[0] == \"Webinar\" or this.type[0] == \"Meetup\" %}\n {% capture tilmeldingMeet %},{{this.VisTilmeldingMeetup | join: \",\"}},{% endcapture %}\n {% if tilmeldingMeet contains \",Ja,\" -%}\n {% if this.capacity -%}\n
\n

Capacity

\n Available seats: {{this.capacity | minus: this.allocation}}\n {% endif -%}\n \n
\n

Registration

\n {% component type: \"form\", alias: \"event_tilmelding\", eventId: \"{{this.id}}\" %}\n {% endif -%}\n {% endif %}\n {% endif %}\n \n \n {% if nowTime < eventEnd2 %}\n {% if this.type[0] == \"Workshop\" %}\n \n {% capture tilmelding %},{{this.VisTilmeldingworkshop | join: \",\"}},{% endcapture %}\n {% if tilmelding contains \",Ja,\" -%}\n \n {% if this.capacity -%}\n
\n

Capacity

\n Available seats: {{this.capacity | minus: this.allocation}}\n {% endif -%}\n \n
\n

Registration

\n {% component type: \"form\", alias: \"event_tilmelding\", eventId: \"{{this.id}}\" %}\n \n {% endif %}\n {% endif %}\n {% endif %}\n \n {% if nowTime < eventEnd2 %}\n {% capture tilmeldingstudents %},{{this.VisTilmeldingstudents | join: \",\"}},{% endcapture %}\n {% if tilmeldingstudents contains \",Ja,\" -%}\n \n \n \n {% if this.capacity -%}\n
\n

Capacity

\n Available seats: {{this.capacity | minus: this.allocation}}\n {% endif -%}\n \n
\n

Registration

\n {% component type: \"form\", alias: \"students\", eventId: \"{{this.id}}\" %}\n \n \n \n {% endif %}\n {% endif %}\n \n \n \n {% endif %}\n \n \n \n
\n
\n \n
\n
\n \n
{{liquidContext}}
", "this": { "Id": 7025, "Name": "Five Lines of Code", "Url": "/event/five-lines-of-code", "Url_List": [ "/event/five-lines-of-code" ], "UrlSlug": "five-lines-of-code", "ParentId": 1827, "ParentId_List": [ -1 ], "ParentName": "", "ParentUrl": "", "TemplateName": "", "Module_Alias": "Event", "Module_ID": 1827, "Enabled": true, "ReleaseDate": "2022-08-21T00:00:00", "ExpiryDate": "2099-12-31T00:00:00", "SiteSearchKeywords": [], "Description": "

Based on his book \"Five Lines of Code\" Christian Clausen is teaching refactoring that's focused on concrete rules and getting any method down to five lines or less! There’s no jargon or tricky automated-testing skills required, just easy guidelines and patterns illustrated by detailed code samples and exercises.


During the workshop, we discuss general principles and explore how to put them into practice with lots of hands-on exercises. We work with an object-oriented codebase similar to those found in the industry, and although it is Typescript it is easily understood if you are familiar with Java or C#.\n


Participants should bring a PC with Typescript installed (guide: https://thedrlambda.medium.com/your-first-typescript-program-295b11dfd167)


When: 15th Septemer, 09:00-15:30

Where: Salling Group, Rosbjergvej 33, 8220 Brabrand



", "Weighting": 0, "DisableForSiteSearch": false, "SKUCode": "596d0a4e-9006-4f9d-85ad-2ab9c0f62d08", "Price": 0.0, "HideWhenFull": false, "AllowMultipleSubscriptionPerEmail": false, "Capacity": 21, "Allocation": 20, "EventDateStart": "2022-09-15T09:00:00", "EventDateEnd": "2022-09-15T15:30:00", "CreatedByMemberId": "0", "ItemCategories": [], "ItemCategoryIdList": [], "ItemTags": [], "Author": 0, "Author_Name": "", "Author_Url": "", "Type": [ "Workshop" ], "Membersonly": [ "Members only" ], "Teaser": "Based on his book \"Five Lines of Code\" Christian Clausen is teaching refactoring that's focused on concrete rules and getting any method", "Speakernavn": "Christian Clausen", "Speakerbeskrivelse": "Christian Clausen is the founder of Mistware, building cognitive-light developer tools. Previously he worked as a Technical Agile Coach, teaching teams how to properly refactor their code, and, as a software engineer on the Coccinelle semantic patching project, an automated refactoring tool. He has an MSc in computer science and five years' experience teaching software quality at a university level. He is the author of the Manning bestselling book Five Lines of Code.", "Speakerbillede": "", "SpeakerLinkedIn": "", "VisTilmeldingworkshop": [ "Ja" ], "VisTilmeldingMeetUp": [], "VisTilmeldingStudents": [], "Fysisk": null, "ShowPageForSearchEngine": true, "MetaTitle": "", "SEOTitle": "", "MetaDescription": "", "CanonicalLink": "", "SocialMetaTags": "", "SeoPriority": 0.5, "EnableAMP": false, "AMPContent": "", "OpenGraphProperties": { "title": null, "type": null, "url": null, "locale": null, "image": null }, "ExternalId": 0, "Params": {} }, "cachecontrol": "?v=09290648", "item": { "id": 549, "ItemId": null, "ItemName": "About us", "ItemUrl": "/about-us", "ItemTargetFrame": null, "ItemClass": null, "ItemTitle": null, "ItemCustomAttribute": null, "ItemEnabled": true, "Items": [], "children": [] }, "isselected": "", "currentitem": { "id": 851, "ItemId": null, "ItemName": "About", "ItemUrl": "#", "ItemTargetFrame": null, "ItemClass": null, "ItemTitle": null, "ItemCustomAttribute": null, "ItemEnabled": true, "Items": [ { "id": 958, "ItemId": null, "ItemName": "Membership", "ItemUrl": "/membership", "ItemTargetFrame": null, "ItemClass": null, "ItemTitle": null, "ItemCustomAttribute": null, "ItemEnabled": true, "Items": [], "children": [] }, { "id": 549, "ItemId": null, "ItemName": "About us", "ItemUrl": "/about-us", "ItemTargetFrame": null, "ItemClass": null, "ItemTitle": null, "ItemCustomAttribute": null, "ItemEnabled": true, "Items": [], "children": [] } ], "children": [ { "id": 958, "ItemId": null, "ItemName": "Membership", "ItemUrl": "/membership", "ItemTargetFrame": null, "ItemClass": null, "ItemTitle": null, "ItemCustomAttribute": null, "ItemEnabled": true, "Items": [], "children": [] }, { "id": 549, "ItemId": null, "ItemName": "About us", "ItemUrl": "/about-us", "ItemTargetFrame": null, "ItemClass": null, "ItemTitle": null, "ItemCustomAttribute": null, "ItemEnabled": true, "Items": [], "children": [] } ] }, "eventname": "Five Lines of Code", "membersonlyval": Members only, "nowtime": 1664431608, "eventend2": 1663255800, "type": Workshop, "tilmeldingmeet": ",,", "fysisktilmelding": ",,", "eventstart": "15", "eventend": "15" }