{"id":1300,"date":"2016-05-02T12:38:14","date_gmt":"2016-05-02T10:38:14","guid":{"rendered":"http:\/\/monodes.com\/predaelli\/?p=1300"},"modified":"2016-05-02T08:24:07","modified_gmt":"2016-05-02T06:24:07","slug":"dumbest-line-of-code-ever","status":"publish","type":"post","link":"https:\/\/monodes.com\/predaelli\/2016\/05\/02\/dumbest-line-of-code-ever\/","title":{"rendered":"Dumbest line of code, ever"},"content":{"rendered":"<pre lang=\"eiffel\">properties_upper: INTEGER is do Result := properties_upper-1 end<\/pre>\n<p>See my <a href=\"https:\/\/github.com\/tybor\/Liberty\/tree\/04f781f8e22312c4d76781e62ba46e9f7e391682\/src\/tools\/leggow\/gi_class.e\">commit of 7 January 2016<\/a>.<\/p>\n<p>Actually I commite that line on the<a href=\"https:\/\/github.com\/tybor\/Liberty\/commit\/be945b78f5038dc71d688930dac7fbbe2fc09cf7\"> previous 20 june<\/a>, but I quite remember I wrote it in the middle of the night. I shall stop wasting time in early evening and stick to coding&#8230;.<\/p>\n","protected":false},"excerpt":{"rendered":"<p class=\"excerpt\">properties_upper: INTEGER is do Result := properties_upper-1 end See my commit of 7 January 2016. Actually I commite that line on the previous 20 june, but I quite remember I wrote it in the middle of the night. I shall stop wasting time in early evening and stick to coding&#8230;.<\/p>\n<p class=\"more-link-p\"><a class=\"more-link\" href=\"https:\/\/monodes.com\/predaelli\/2016\/05\/02\/dumbest-line-of-code-ever\/\">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":[34,105,98,19,1],"tags":[],"class_list":["post-1300","post","type-post","status-publish","format-standard","hentry","category-eiffel","category-fun","category-liberty-eiffel","category-mood","category-senza-categoria"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p6daft-kY","jetpack-related-posts":[{"id":1286,"url":"https:\/\/monodes.com\/predaelli\/2016\/04\/17\/eiffel-a-viable-candidate-as-a-language-for-the-gnome-platform\/","url_meta":{"origin":1300,"position":0},"title":"Eiffel: A viable candidate as a language for the Gnome platform ?","author":"Paolo Redaelli","date":"2016-04-17","format":false,"excerpt":"Eiffel: A viable candidate as a language for the Gnome platform ? It was 2004. Linux were labelled as a cancer by Ballmer, Android and iPhone didn't existed. Multi-core CPU were still high-end. It was a different world. From archive.org, before it got lost.... Twelve years ago. And it was\u2026","rel":"","context":"In &quot;Eiffel&quot;","block_context":{"text":"Eiffel","link":"https:\/\/monodes.com\/predaelli\/category\/eiffel\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":297,"url":"https:\/\/monodes.com\/predaelli\/2015\/06\/12\/javascript-other-languages\/","url_meta":{"origin":1300,"position":1},"title":"JavaScript + Other Languages","author":"Paolo Redaelli","date":"2015-06-12","format":"link","excerpt":"JavaScript+OtherLanguages Those slides JavaScript + Other Languages are really useful to implement an eventual Eiffel to JavaScript compiler. Well, actually it should be called transcompiler.... We could just feed the C files made by current Liberty compiler but it seems to me that passing throught C which is a procedural\u2026","rel":"","context":"In &quot;Eiffel&quot;","block_context":{"text":"Eiffel","link":"https:\/\/monodes.com\/predaelli\/category\/eiffel\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":2233,"url":"https:\/\/monodes.com\/predaelli\/2017\/03\/05\/2233\/","url_meta":{"origin":1300,"position":2},"title":"[wp-svg-icons icon=\"podcast\" wrap=\"div\"] Never encode\u2026","author":"Paolo Redaelli","date":"2017-03-05","format":false,"excerpt":"[wp-svg-icons icon=\"podcast\" wrap=\"div\"] Never encode a constant in more than one place. So I had to resist the temptation to write code like1 [eiffel] tag_types: INDEXABLE[STRING] once Result := {FAST_ARRAY[STRING], < < \"Void\", -- GI_TYPE_TAG_VOID = 0, \"BOOLEAN\", -- GI_TYPE_TAG_BOOLEAN = 1, ... \"INTEGER_64\", -- GI_TYPE_TAG_INT64 = 8 .... >>\u2026","rel":"","context":"In &quot;Liberty Eiffel&quot;","block_context":{"text":"Liberty Eiffel","link":"https:\/\/monodes.com\/predaelli\/category\/eiffel\/liberty-eiffel\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1302,"url":"https:\/\/monodes.com\/predaelli\/2016\/04\/23\/moments\/","url_meta":{"origin":1300,"position":3},"title":"Moments","author":"Paolo Redaelli","date":"2016-04-23","format":false,"excerpt":"There are moments that shall be recorded. This is one of them for me: Student Petru Gurita Project nameLiberty Eiffel meets Windows OrganizationGNU Project Mentors Paolo Redaelli Liberty Eiffel language available on windows environment. Sorgente: Organizations | Google Summer of Code","rel":"","context":"In &quot;GNU\/Linux&quot;","block_context":{"text":"GNU\/Linux","link":"https:\/\/monodes.com\/predaelli\/category\/gnulinux\/"},"img":{"alt_text":"i-am-a-mentor","src":"https:\/\/i0.wp.com\/monodes.com\/predaelli\/wp-content\/uploads\/sites\/4\/2016\/04\/i-am-a-mentor-300x147-1.png?resize=350%2C200","width":350,"height":200},"classes":[]},{"id":1229,"url":"https:\/\/monodes.com\/predaelli\/2016\/04\/01\/minimal-programming\/","url_meta":{"origin":1300,"position":4},"title":"Minimal Programming","author":"Paolo Redaelli","date":"2016-04-01","format":false,"excerpt":"Such an interesting site this Minimal Programming. Feels old school, written by proficient people! Therefore, minimal programming means minimal code: no code duplication maximal expressiveness: readable code that directly reflects the underlying task minimal overlap: every piece of information can be found in exactly one place maximal orthogonality: clear separation\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":1630,"url":"https:\/\/monodes.com\/predaelli\/2016\/06\/04\/libfixmath\/","url_meta":{"origin":1300,"position":5},"title":"libfixmath","author":"Paolo Redaelli","date":"2016-06-04","format":false,"excerpt":"Cross Platform Fixed Point Maths Library Cross Platform Fixed Point Maths Library from Google Code Archive - Long-term storage for Google Code Project Hosting. Grabbed it before Google shut down everything! No need to reimplement everything, just as I plan to do with quad-precision floats.","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":[]}],"jetpack_likes_enabled":true,"_links":{"self":[{"href":"https:\/\/monodes.com\/predaelli\/wp-json\/wp\/v2\/posts\/1300","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=1300"}],"version-history":[{"count":0,"href":"https:\/\/monodes.com\/predaelli\/wp-json\/wp\/v2\/posts\/1300\/revisions"}],"wp:attachment":[{"href":"https:\/\/monodes.com\/predaelli\/wp-json\/wp\/v2\/media?parent=1300"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/monodes.com\/predaelli\/wp-json\/wp\/v2\/categories?post=1300"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/monodes.com\/predaelli\/wp-json\/wp\/v2\/tags?post=1300"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}