Skip to content

3. Analyse and Refactor Functions #3

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
3 tasks
SallyMcGrath opened this issue Apr 21, 2025 · 0 comments
Open
3 tasks

3. Analyse and Refactor Functions #3

SallyMcGrath opened this issue Apr 21, 2025 · 0 comments
Labels
🏕 Priority Mandatory This work is expected 🦑 Size Large 4-8 hours 📅 Sprint 1 Assigned during Sprint 1 of this module 🎯 Topic Communication Reading, writing, speaking, and listening in English; expressing our ideas 🎯 Topic Iteration Prototyping, testing, analysing, and refining in a cycle of development 🎯 Topic Problem-Solving Breaking down problems and building up solutions 🎯 Topic Programming Fundamentals Learning syntax: data types, functions, loops, expressions, etc 🎯 Topic Requirements Interpreting requirements with precision and accuracy 🎯 Topic Teamwork Working productively with other people

Comments

@SallyMcGrath
Copy link
Member

SallyMcGrath commented Apr 21, 2025

Link to the coursework

https://github.com/CodeYourFuture/Module-Complexity/tree/main/Sprint-1

Learning Objectives

  • Identify areas of inefficiency that contribute to higher time or space complexity
  • Refactor the code to reduce its complexity.
  • Review the analyses of others

Why are we doing this?

It is easier to understand complexity in the abstract than it is to recognise and apply it in our everyday code. In this module you will focus on noticing complexity in code you and your colleagues write.

In Sprint 1, we have provided you a selection of functions that are written in inefficient ways. Your goal is to collaborate on refactoring these functions. It's not enough to improve the code, you must also explain why your refactor is objectively better.

Maximum time in hours

6

How to get help

Bring this to class and study groups. The goal is to collaborate.

How to submit

Fork the repo to your own GitHub account
Make regular small commits with clear messages
When you are ready, open a Pull Request to the CYF repo
Make sure you explain your work clearly in your PR message

@SallyMcGrath SallyMcGrath added 🏕 Priority Mandatory This work is expected 🐂 Size Medium 1-4 hours 🎯 Topic Communication Reading, writing, speaking, and listening in English; expressing our ideas 🎯 Topic Iteration Prototyping, testing, analysing, and refining in a cycle of development 🎯 Topic Problem-Solving Breaking down problems and building up solutions 🎯 Topic Programming Fundamentals Learning syntax: data types, functions, loops, expressions, etc 🎯 Topic Requirements Interpreting requirements with precision and accuracy 🎯 Topic Teamwork Working productively with other people 🦑 Size Large 4-8 hours 📅 Sprint 1 Assigned during Sprint 1 of this module and removed 🐂 Size Medium 1-4 hours labels Apr 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🏕 Priority Mandatory This work is expected 🦑 Size Large 4-8 hours 📅 Sprint 1 Assigned during Sprint 1 of this module 🎯 Topic Communication Reading, writing, speaking, and listening in English; expressing our ideas 🎯 Topic Iteration Prototyping, testing, analysing, and refining in a cycle of development 🎯 Topic Problem-Solving Breaking down problems and building up solutions 🎯 Topic Programming Fundamentals Learning syntax: data types, functions, loops, expressions, etc 🎯 Topic Requirements Interpreting requirements with precision and accuracy 🎯 Topic Teamwork Working productively with other people
Projects
None yet
Development

No branches or pull requests

1 participant