{"title": "The Spaghetti Code Of Dani's Race", "timestamp": 1734766500.023475, "description": "Spaghetti code! The insidious thing that often happens even to the best of us. No wander that it happened to me. When programming you want to break your code into functions that could be called from many other places. Doing everything as one large function is a problem, because sometimes you might want to do the same operation or the same check, or whatever, again in another place, and that will require you to copy paste large chunks of code. And if suddenly you decide to change something about those checks, or functions, you have to change that something in all those places one after another. Dani's Race my game, has a bit of a Spaghetti code problem.", "author": {"avatar": "https://blenderdumbass.org/pictures/favicon.png", "bio": "Aka: J.Y. Amihud. A Jewish by blood, multifaceted artist with experience in film-making, visual effects, programming, game development, music and more. A philosopher at heart. An activist for freedom and privacy. Anti-Paternalist. A user of Libre Software. Speaking at least 3 human languages. The writer and director of the 2023 film \"Moria's Race\" and the lead developer of it's game sequel \"Dani's Race\".\r\n\r\n[My Story](/about/who_is_blender_dumbass_)\r\n\r\nMore links to me ( view page source to see how I did those ):\r\n\r\n![internetarchive](https://archive.org/search?query=creator%3A%22J.Y.Amihud%22) ![imdb](https://www.imdb.com/name/nm15214305) ![notabug](http://notabug.org/jyamihud) ![odysee](https://odysee.com/@blenderdumbass:f) ![codeberg](https://codeberg.org/blenderdumbass/)", "invited": ["AngryAlien", "Erwinjitsu", "trueauracoral", "Cricetus", "elban", "Troler", "johny", "RowdyJoe", "adgbeveridge", "doublelion", "alkyilcycloalke", "jedi66", "WanchaiMike", "Trolli123", "ddd", "ByteBlast", "dolphinana", "Madiator2011", "Uriel_Cohen", "mk-la", "TestUser", "Mr._MotherFucker", "MorsMortium", "cptbichez", "dbbs", "Xavi", "test", "Ozoned"], "invited_by": "blenderdumbass", "title": "Blender Dumbass", "website": "blenderdumbass.org", "mastodon": "@blenderdumbass@mastodon.online", "username": "blenderdumbass", "email_verified": true, "jami": "", "peertube": "https://peer.madiator.cloud/c/blender_dumbass/videos", "activity_pub": {"pub": "-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAqzwMvWrEKQfGdoyZHn/x\n1XbAxaFagX29NlP7JVC8O7rZWB9jYMzJsn5jWC8+8aWOoBUVDTIY8CZQR+pUiIBc\nBr5XW760pgPGeVCqE50Ts9lhehjr2z+rh0sdeUrNbYyiZ9HB+Wz74M3b08Xde7lj\njzH416uxh1727m+wz04TC4pGOQq4Bzgqyid2RFG44bw150n7QhGwDBqN9vcyS8iR\nJnoUMABFHdu/AhDgoTjHIvXNieNwLKDDfp0a9aWfEEIPxo4SWm9y7azZASZY3KgC\n3JDHvGTtOnGG7nfMSsGSB1gU/vEG0HJ67dOmLt9HQlgkpJCiVYQ4ZuHUWdk1WExA\n7wIDAQAB\n-----END PUBLIC KEY-----\n", "followers": ["https://shark.madiator.com/users/a48b85shv6zk0001", "https://shark.madiator.com/users/a8nizbgfpor600c4", "https://social.dl4ax.radio/users/alexander", "https://mstdn.social/users/lefractal", "https://mitra.social/users/silverpill", "https://mastodon.online/users/blendernation", "https://freundica.de/profile/zeitverschreib", "https://swiss.social/users/rettichschnidi", "https://mastodon.world/users/lesmccann", "https://mstdn.social/users/gwendolenau", "https://sharkey.flauschbereich.de/users/aeeeefmt1fhn0007", "https://mementomori.social/users/levi", "https://mastodon.social/users/schnatterick", "https://mastodon.social/ap/users/115611070628088773", "https://mastodon.social/users/The_Escapist", "https://btfree.social/pub/actors/firesidefedi", "https://cupoftea.social/users/magnetichuman", "https://mastodon.online/users/troler", "https://btfree.social/pub/actors/ozoned", "https://mastodon.social/users/simonwood", "https://mastodon.social/users/rowdyjoe", "https://todon.nl/users/soloojos"]}, "css_posts": "", "css_personal": "", "css_user_global_priority": false, "fandomhood_gifts": {"@blenderdumbass@mastodon.online": 80, "@ozoned@btfree.social": 150, "@rowdyjoe@mastodon.social": 47}, "url": "https://blenderdumbass.org/account/blenderdumbass"}, "thumbnail": "https://blenderdumbass.org/pictures/thumbs/spaghetti_dani.png", "license": "cc-by-sa", "views": {"amount": 210, "dates": {"2024-12-21": 99, "2024-12-22": 24, "2024-12-23": 4, "2024-12-24": 2, "2024-12-25": 3, "2024-12-26": 2, "2024-12-28": 1, "2024-12-29": 1, "2025-01-02": 2, "2025-01-03": 1, "2025-01-04": 1, "2025-01-07": 1, "2025-01-13": 9, "2025-01-16": 5, "2025-01-17": 3, "2025-01-21": 4, "2025-01-22": 1, "2025-01-26": 1, "2025-01-31": 4, "2025-02-03": 6, "2025-02-04": 1, "2025-02-12": 1, "2025-02-13": 1, "2025-02-23": 1, "2025-02-27": 1, "2025-03-03": 1, "2025-03-13": 5, "2025-03-14": 1, "2025-03-20": 1, "2025-03-21": 1, "2025-03-23": 3, "2025-03-27": 1, "2025-04-01": 4, "2025-04-02": 1, "2025-04-18": 1, "2025-06-11": 2, "2025-07-22": 1, "2025-10-07": 1, "2025-11-02": 1, "2025-12-29": 1, "2026-01-18": 1, "2026-01-21": 1, "2026-01-23": 1, "2026-02-09": 1, "2026-03-05": 1, "2026-03-22": 1}}, "recording": "https://archive.org/download/the_spghetti_code_of_Danis_Race/the_spghetti_code_of_Danis_Race.ogg", "comments": {"comments": [{"text": "I'm happy to announce that 200+ lines of Racing code from `main()` was moved into Racing.py file today, leaving instead a simple little:\r\n\r\n```\r\n# RACES\r\nRacing.MainLoop(spawnAtDistance)\r\n```", "username": "blenderdumbass"}]}, "tab": "articles", "url": "https://blenderdumbass.org/articles/the_spaghetti_code_of_dani_s_race", "hashtags": ["DanisRace", "MoriasRace", "GameDev", "FreeSoftware", "Gnu", "Linux", "OpenSource", "GtaClone", "Programming", "Python", "SpaghettiCode", "UPBGE", "blender3d"]}