{"id":9158,"date":"2022-03-18T21:48:00","date_gmt":"2022-03-18T20:48:00","guid":{"rendered":"https:\/\/monodes.com\/predaelli\/?p=9158"},"modified":"2022-03-18T08:53:17","modified_gmt":"2022-03-18T07:53:17","slug":"on-laziness","status":"publish","type":"post","link":"https:\/\/monodes.com\/predaelli\/2022\/03\/18\/on-laziness\/","title":{"rendered":"On laziness"},"content":{"rendered":"<blockquote><p>Larry Wall had it right when he said that laziness is one of the virtues of a good programmer. But he was talking about in the sense of using existing code and not creating the wheel over and over. Laziness can apply just to a clean programming style. I visit old projects after several years and often thank myself for not taking short cuts when I wrote the code. It is nice when some parameter is a <a rel=\"tag\" class=\"hashtag u-tag u-category\" href=\"https:\/\/monodes.com\/predaelli\/tag\/define\/\">#define<\/a> up top and not some constant scattered here and there. Things like that.<\/p><\/blockquote>\n<p>Source: <em><a href=\"https:\/\/hackaday.com\/2020\/09\/19\/code-for-hackers\/\">Code For Hackers | Hackaday<\/a><\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p class=\"excerpt\">Larry Wall had it right when he said that laziness is one of the virtues of a good programmer. But he was talking about in the sense of using existing code and not creating the wheel over and over. Laziness can apply just to a clean programming style. I visit old projects after several years&hellip;<\/p>\n<p class=\"more-link-p\"><a class=\"more-link\" href=\"https:\/\/monodes.com\/predaelli\/2022\/03\/18\/on-laziness\/\">Read more &rarr;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"activitypub_content_warning":"","activitypub_content_visibility":"","activitypub_max_image_attachments":4,"activitypub_interaction_policy_quote":"anyone","activitypub_status":"","footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[105],"tags":[],"class_list":["post-9158","post","type-post","status-publish","format-standard","hentry","category-fun"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p6daft-2nI","jetpack-related-posts":[{"id":5214,"url":"https:\/\/monodes.com\/predaelli\/2019\/02\/12\/vue-js-app-performance-optimization-part-1%e2%80%8a-%e2%80%8aintroduction-to-performance-optimization-and-lazy\/","url_meta":{"origin":9158,"position":0},"title":"Vue.js App Performance Optimization: part 1\u200a\u2014\u200aIntroduction to performance optimization and lazy\u2026","author":"Paolo Redaelli","date":"2019-02-12","format":false,"excerpt":"For the series, I will never stop learning While mobile-first approach becomes a standard and uncertain network conditions are something we should always take into consideration\u2026 Vue.js App Performance Optimization: part 1\u200a\u2014\u200aIntroduction to performance optimization and lazy\u2026 Vue.js App Performance Optimization: part 1\u200a\u2014\u200aIntroduction to performance optimization and lazy\u00a0loading. by Filip\u2026","rel":"","context":"In &quot;Documentations&quot;","block_context":{"text":"Documentations","link":"https:\/\/monodes.com\/predaelli\/category\/documentations\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":8517,"url":"https:\/\/monodes.com\/predaelli\/2021\/06\/16\/for-lazy-world-creators\/","url_meta":{"origin":9158,"position":1},"title":"For lazy world creators","author":"Paolo Redaelli","date":"2021-06-16","format":false,"excerpt":"https:\/\/www.reddit.com\/r\/BeAmazed\/comments\/lbm8qd\/this_is_how_the_tectonic_plates_have_shifted_over\/ If you want to create an RPG world but feel lazy just pick some point in the past of Earth. It worked for Dungeouns & Dragon with the Red\/blue box known world, later named Mystara (it's explained in the italian version), so it may work for you too...","rel":"","context":"In &quot;Fantasy&quot;","block_context":{"text":"Fantasy","link":"https:\/\/monodes.com\/predaelli\/category\/fantasy\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":11990,"url":"https:\/\/monodes.com\/predaelli\/2024\/10\/16\/foxes-quartz\/","url_meta":{"origin":9158,"position":2},"title":"Foxes &amp; quartz","author":"Paolo Redaelli","date":"2024-10-16","format":false,"excerpt":"Instead of the classic The quick brown fox jumped over the lazy dog use Sphinx of black quartz, judge my vow. it is a lot cooler, makes you look like a D&D fan and no one will know you are testing out a font!","rel":"","context":"In &quot;Fun&quot;","block_context":{"text":"Fun","link":"https:\/\/monodes.com\/predaelli\/category\/fun\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":39,"url":"https:\/\/monodes.com\/predaelli\/2014\/09\/10\/your-own-handwriting-font\/","url_meta":{"origin":9158,"position":3},"title":"Your own handwriting font","author":"Paolo Redaelli","date":"2014-09-10","format":false,"excerpt":"Here's a nice article on how to create a TrueType font from your handwriting with your scanner, your printer, and FontForgeOk there are gratis websites like http:\/\/www.paintfont.com\/ or if\u00a0 you are lazy http:\/\/www.fontsquirrel.com\/ . There is also a \"free-as-in-freedom\" font-related site at http:\/\/openfontlibrary.org\/\u00a0","rel":"","context":"In &quot;Senza categoria&quot;","block_context":{"text":"Senza categoria","link":"https:\/\/monodes.com\/predaelli\/category\/senza-categoria\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":14465,"url":"https:\/\/monodes.com\/predaelli\/2025\/12\/14\/14465\/","url_meta":{"origin":9158,"position":4},"title":"Today I tried facebook-scraper as\u2026","author":"Paolo Redaelli","date":"2025-12-14","format":"status","excerpt":"Today I tried facebook-scraper as I would like to download posts posted on Facebook by notable people I respect. But I am a rookie and I am lazy as I haven't been able to make it works: it keeps saying that the cookie file has some encoding errors. Yet I\u2026","rel":"","context":"In &quot;Mood&quot;","block_context":{"text":"Mood","link":"https:\/\/monodes.com\/predaelli\/category\/mood\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":4760,"url":"https:\/\/monodes.com\/predaelli\/2018\/10\/23\/a-masterpiece\/","url_meta":{"origin":9158,"position":5},"title":"A masterpiece","author":"Paolo Redaelli","date":"2018-10-23","format":false,"excerpt":"SQLIte new Code Of Conduct is a masterpiece. Code Of Conduct 1. Overview Having been encouraged by clients to adopt a written code of conduct, the SQLite developers elected to govern their interactions with each other, with their clients, and with the larger SQLite user community in accordance with the\u2026","rel":"","context":"In &quot;Ethics&quot;","block_context":{"text":"Ethics","link":"https:\/\/monodes.com\/predaelli\/category\/ethics\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"jetpack_likes_enabled":true,"_links":{"self":[{"href":"https:\/\/monodes.com\/predaelli\/wp-json\/wp\/v2\/posts\/9158","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/monodes.com\/predaelli\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/monodes.com\/predaelli\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/monodes.com\/predaelli\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/monodes.com\/predaelli\/wp-json\/wp\/v2\/comments?post=9158"}],"version-history":[{"count":0,"href":"https:\/\/monodes.com\/predaelli\/wp-json\/wp\/v2\/posts\/9158\/revisions"}],"wp:attachment":[{"href":"https:\/\/monodes.com\/predaelli\/wp-json\/wp\/v2\/media?parent=9158"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/monodes.com\/predaelli\/wp-json\/wp\/v2\/categories?post=9158"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/monodes.com\/predaelli\/wp-json\/wp\/v2\/tags?post=9158"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}