{"id":18474391,"url":"https://github.com/codecop/lcd-numbers-object-calisthenics-kata","last_synced_at":"2026-02-15T08:34:08.489Z","repository":{"id":141739040,"uuid":"221309009","full_name":"codecop/LCD-Numbers-Object-Calisthenics-Kata","owner":"codecop","description":"Solve LCD Numbers under Object Calisthenics constraint.","archived":false,"fork":false,"pushed_at":"2024-12-12T15:11:07.000Z","size":228,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-10T10:03:07.771Z","etag":null,"topics":["calisthenics","code-kata","exercise","kata","object-oriented"],"latest_commit_sha":null,"homepage":"https://blog.code-cop.org/2018/01/compliance-with-object-calisthenics.html","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/codecop.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"license.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2019-11-12T20:47:59.000Z","updated_at":"2024-12-09T13:40:33.000Z","dependencies_parsed_at":null,"dependency_job_id":"fc7916f1-f82c-4fc5-9bbb-3991300d130a","html_url":"https://github.com/codecop/LCD-Numbers-Object-Calisthenics-Kata","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/codecop/LCD-Numbers-Object-Calisthenics-Kata","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codecop%2FLCD-Numbers-Object-Calisthenics-Kata","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codecop%2FLCD-Numbers-Object-Calisthenics-Kata/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codecop%2FLCD-Numbers-Object-Calisthenics-Kata/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codecop%2FLCD-Numbers-Object-Calisthenics-Kata/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/codecop","download_url":"https://codeload.github.com/codecop/LCD-Numbers-Object-Calisthenics-Kata/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codecop%2FLCD-Numbers-Object-Calisthenics-Kata/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29473718,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-15T06:58:05.414Z","status":"ssl_error","status_checked_at":"2026-02-15T06:58:05.085Z","response_time":118,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["calisthenics","code-kata","exercise","kata","object-oriented"],"created_at":"2024-11-06T10:29:20.029Z","updated_at":"2026-02-15T08:34:08.471Z","avatar_url":"https://github.com/codecop.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# LCD Numbers Kata Object Calisthenics with Check\n\nSub folders contain templates for the [LCD Numbers Kata](http://rubyquiz.com/quiz14.html) in different programming languages.\n\n## Requirements (copied from Ruby Quiz)\n\nWrite a program that creates an LCD string representation of an integer value\nusing a 4x7 grid of space each, using minus and pipe characters for each digit.\nEach digit is shown below:\n\n     --      --  --      --  --  --  --  --\n    |  |   |   |   ||  ||   |      ||  ||  |\n    |  |   |   |   ||  ||   |      ||  ||  |\n             --  --  --  --  --      --  --\n    |  |   ||      |   |   ||  |   ||  |   |\n    |  |   ||      |   |   ||  |   ||  |   |\n     --      --  --      --  --      --  --\n\nThe bar size should be adjustable. The default value is 2 - as shown above.\nRead more about it at [RubyQuiz](http://rubyquiz.com/quiz14.html).\n\n## Constraints\n\n[Jeff Bay's Object Calisthenics](https://williamdurand.fr/2013/06/03/object-calisthenics/).\n\n1. Only One Level Of Indentation Per Method.\n1. Don't Use The `else` Keyword.\n1. Wrap All Primitives And Strings.\n1. One Dot/Arrow (dereference) Per Line.\n1. Don't Abbreviate (long names).\n1. Keep All Entities Small. (50 lines of code per class)\n1. Not More Than Two Instance Variables.\n1. First Class Collections.\n1. No Getters/Setters/Properties.\n\n### Checking Code for Compliance\n\nThe sub folders contain tools to check your code for compliance with Object Calisthenics. See my blog post about [Object Calisthenics and how to enforce it](https://blog.code-cop.org/2018/01/compliance-with-object-calisthenics.html) for more details.\n\n### License\n\nThis work is licensed under a [New BSD License](https://opensource.org/license/bsd-3-clause), see `license.txt` in repository.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodecop%2Flcd-numbers-object-calisthenics-kata","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodecop%2Flcd-numbers-object-calisthenics-kata","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodecop%2Flcd-numbers-object-calisthenics-kata/lists"}