fosstodon.org is one of the many independent Mastodon servers you can use to participate in the fediverse.
Fosstodon is an invite only Mastodon instance that is open to those who are interested in technology; particularly free & open source software. If you wish to join, contact us for an invite.

Administered by:

Server stats:

8.6K
active users

#idiomatic

0 posts0 participants0 posts today
Hacker News<p>How to create value objects in Ruby – the idiomatic way</p><p><a href="https://allaboutcoding.ghinda.com/how-to-create-value-objects-in-ruby-the-idiomatic-way" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">allaboutcoding.ghinda.com/how-</span><span class="invisible">to-create-value-objects-in-ruby-the-idiomatic-way</span></a></p><p><a href="https://mastodon.social/tags/HackerNews" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>HackerNews</span></a> <a href="https://mastodon.social/tags/Ruby" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Ruby</span></a> <a href="https://mastodon.social/tags/Value" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Value</span></a> <a href="https://mastodon.social/tags/Objects" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Objects</span></a> <a href="https://mastodon.social/tags/Idiomatic" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Idiomatic</span></a> <a href="https://mastodon.social/tags/Coding" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Coding</span></a> <a href="https://mastodon.social/tags/SoftwareDevelopment" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>SoftwareDevelopment</span></a> <a href="https://mastodon.social/tags/Programming" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Programming</span></a> <a href="https://mastodon.social/tags/Tips" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Tips</span></a></p>
Hacker News<p>How to create value objects in Ruby – the idiomatic way</p><p><a href="https://allaboutcoding.ghinda.com/how-to-create-value-objects-in-ruby-the-idiomatic-way" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">allaboutcoding.ghinda.com/how-</span><span class="invisible">to-create-value-objects-in-ruby-the-idiomatic-way</span></a></p><p><a href="https://mastodon.social/tags/HackerNews" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>HackerNews</span></a> <a href="https://mastodon.social/tags/Ruby" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Ruby</span></a> <a href="https://mastodon.social/tags/Value" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Value</span></a> <a href="https://mastodon.social/tags/Objects" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Objects</span></a> <a href="https://mastodon.social/tags/Idiomatic" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Idiomatic</span></a> <a href="https://mastodon.social/tags/Programming" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Programming</span></a> <a href="https://mastodon.social/tags/Coding" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Coding</span></a> <a href="https://mastodon.social/tags/Tips" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Tips</span></a> <a href="https://mastodon.social/tags/Software" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Software</span></a> <a href="https://mastodon.social/tags/Development" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Development</span></a></p>
N-gated Hacker News<p>📚 Behold, the novice Rustacean's manifesto on "idiomatic" Rust: a delightful chronicle of their fledgling <a href="https://mastodon.social/tags/journey" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>journey</span></a>, complete with insightful examples that might just change tomorrow! 😂 But fear not, dear reader, as this personal perspective is as solid as a programmer's first "Hello, World!" 🖥️✨<br><a href="https://a-i-nstein.neocities.org/" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="">a-i-nstein.neocities.org/</span><span class="invisible"></span></a> <a href="https://mastodon.social/tags/Rustacean" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Rustacean</span></a> <a href="https://mastodon.social/tags/Idiomatic" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Idiomatic</span></a> <a href="https://mastodon.social/tags/Rust" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Rust</span></a> <a href="https://mastodon.social/tags/Programming" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Programming</span></a> <a href="https://mastodon.social/tags/Learning" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Learning</span></a> <a href="https://mastodon.social/tags/Experience" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Experience</span></a> <a href="https://mastodon.social/tags/Hello" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Hello</span></a> <a href="https://mastodon.social/tags/World" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>World</span></a> <a href="https://mastodon.social/tags/HackerNews" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>HackerNews</span></a> <a href="https://mastodon.social/tags/ngated" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>ngated</span></a></p>
Hacker News<p>Idiomatic Go — <a href="https://dmitri.shuralyov.com/idiomatic-go" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">dmitri.shuralyov.com/idiomatic</span><span class="invisible">-go</span></a><br><a href="https://mastodon.social/tags/HackerNews" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>HackerNews</span></a> <a href="https://mastodon.social/tags/Idiomatic" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Idiomatic</span></a> <a href="https://mastodon.social/tags/Go" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Go</span></a> <a href="https://mastodon.social/tags/programming" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>programming</span></a> <a href="https://mastodon.social/tags/GoLang" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>GoLang</span></a> <a href="https://mastodon.social/tags/coding" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>coding</span></a> <a href="https://mastodon.social/tags/bestpractices" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>bestpractices</span></a> <a href="https://mastodon.social/tags/softwaredevelopment" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>softwaredevelopment</span></a></p>
Open Book Publishers<p>📢New Publication Alert!</p><p>📚 Explore the linguistic treasure trove of <a href="https://hcommons.social/tags/Jibbali" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Jibbali</span></a>/#Śḥərɛ́t. Giuliano Castagna delves into this endangered language, preserving its rich <a href="https://hcommons.social/tags/proverbs" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>proverbs</span></a> and <a href="https://hcommons.social/tags/idioms" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>idioms</span></a> for future generations.</p><p>This book explores the rich paremiological heritage of <a href="https://hcommons.social/tags/Jibbali" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Jibbali</span></a>/#Śḥərɛ̄́t, an endangered pre-literate language belonging to the Modern <a href="https://hcommons.social/tags/SouthArabian" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>SouthArabian</span></a> sub-branch of <a href="https://hcommons.social/tags/Semitic" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Semitic</span></a>, spoken by an ever-decreasing number of people in the <a href="https://hcommons.social/tags/Dhofar" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Dhofar</span></a> governorate of the Sultanate of Oman. </p><p>Reflecting the historical value of <a href="https://hcommons.social/tags/proverbs" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>proverbs</span></a> and <a href="https://hcommons.social/tags/idiomatic" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>idiomatic</span></a> expression within the documentation of a language, Giuliano Castagna analyses a sizeable share of <a href="https://hcommons.social/tags/Jibbali" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Jibbali</span></a>/#Śḥərɛ̄́t <a href="https://hcommons.social/tags/proverbs" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>proverbs</span></a>, sayings and idioms from <a href="https://hcommons.social/tags/Arabic" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Arabic</span></a>-language publications, as well as hitherto unpublished expressions that reveal undocumented features in the domains of <a href="https://hcommons.social/tags/lexicon" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>lexicon</span></a>, <a href="https://hcommons.social/tags/phonetics" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>phonetics</span></a>, <a href="https://hcommons.social/tags/phonology" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>phonology</span></a> and <a href="https://hcommons.social/tags/morphology" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>morphology</span></a>. </p><p>🔗Access or get your hard copy at <a href="https://doi.org/10.11647/OBP.0422" rel="nofollow noopener" target="_blank"><span class="invisible">https://</span><span class="">doi.org/10.11647/OBP.0422</span><span class="invisible"></span></a></p>
Asbjørn Ulsberg<p>Underscore is objectively one of the ugliest characters in ASCII.</p><p>So why does so many developers prefer the prefix `_` on fields over the use of the built-in `this` keyword in C#?</p><p>The context is that with the explicit use of `this`, you wouldn't get collision between method parameters and local class fields, because local class fields would always be referenced by `this.field`, and local variables and method parameters would be referenced without any prefix (as per usual).</p><p>In the Java code conventions, the use of `_` prefixes are explicitly discouraged. Not so in C#, even though it too has the `this` keyword. Why does so many C# developers prefer ugly over elegant? I don't get it.</p><p><a href="https://www.oracle.com/java/technologies/javase/codeconventions-namingconventions.html" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://www.</span><span class="ellipsis">oracle.com/java/technologies/j</span><span class="invisible">avase/codeconventions-namingconventions.html</span></a></p><p><a href="https://icosahedron.website/tags/Development" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Development</span></a> <a href="https://icosahedron.website/tags/Developers" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Developers</span></a> <a href="https://icosahedron.website/tags/Programming" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Programming</span></a> <a href="https://icosahedron.website/tags/Languages" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Languages</span></a> <a href="https://icosahedron.website/tags/Language" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Language</span></a> <a href="https://icosahedron.website/tags/Syntax" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Syntax</span></a> <a href="https://icosahedron.website/tags/Idiomatic" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Idiomatic</span></a> <a href="https://icosahedron.website/tags/CSharp" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>CSharp</span></a></p>
robrich<p><a href="https://dev.to/bascodes/writing-idiomatic-python-code-1ehe" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">dev.to/bascodes/writing-idioma</span><span class="invisible">tic-python-code-1ehe</span></a> - <a href="https://hachyderm.io/tags/Python" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Python</span></a> has some great short-cuts that make it far more terse than other languages. Great examples of <a href="https://hachyderm.io/tags/Idiomatic" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Idiomatic</span></a> Python <a href="https://www.linkedin.com/in/bascodes/" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://www.</span><span class="">linkedin.com/in/bascodes/</span><span class="invisible"></span></a>.</p>
Rasta<p>Once upon a time, I spoke French. Every English person learning French, tried to translate Idiomatic Expressions. They don't *translate* the same. <span class="h-card"><a href="https://mublog.nl/@heinragas" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>heinragas</span></a></span> <br>Phrases and Idioms</p><p>“Hit the hay.”; "Beat The Feet" ; "Hit The Road" ;<br>“Up in the air” ; “Stabbed in the back” ; “Takes two to tango” ; “Kill two birds with one stone.” ; “Piece of cake” ; “Costs an arm &amp; a leg”; “Break a leg”; <br><a href="https://ielts.idp.com/prepare/article-idioms-a-z-explained" rel="nofollow noopener" target="_blank"><span class="invisible">https://</span><span class="ellipsis">ielts.idp.com/prepare/article-</span><span class="invisible">idioms-a-z-explained</span></a></p><p>"Frappe La Rue"</p><p><a href="https://mstdn.ca/tags/Idiom" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Idiom</span></a> <a href="https://mstdn.ca/tags/Idiomatic" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Idiomatic</span></a> <a href="https://mstdn.ca/tags/Phrases" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Phrases</span></a> <a href="https://mstdn.ca/tags/Expressions" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Expressions</span></a> <a href="https://mstdn.ca/tags/Language" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Language</span></a> <a href="https://mstdn.ca/tags/Meaning" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Meaning</span></a></p>
Golden Retriever GF<p><span>So in the US if a speed limit is not posted it's generally 35 mph. This converts to 56.327 kph. Nobody is going to set a speed limit of 56.327 because that's not a good number. We don't think like that. It's 50 kph here. But it is a direct </span><a href="https://blahaj.zone/tags/translation" rel="nofollow noopener" target="_blank">#translation</a><span> of imperial to metric.<br><br>In a very similar way you cannot translate just one to one. It's just not possible. It's why google translate sucks, language fluency is difficult and why fascism translates and spreads to other countries that speak the same language. Every English speaking nation was hurt by the </span><a href="https://blahaj.zone/tags/UK" rel="nofollow noopener" target="_blank">#UK</a><span> and the </span><a href="https://blahaj.zone/tags/US" rel="nofollow noopener" target="_blank">#US</a><span> but it didn't spread quite so well elsewhere because meaning is not one to one and when it has to pass through translation it loses some impact. Always.<br><br>People think </span><a href="https://blahaj.zone/tags/German" rel="nofollow noopener" target="_blank">#German</a><span> is still a hateful language when it's not. It doesn't even sound that angry but because of what it was in the 1930s and 40s it's something a lot of people still believe. I would guess given how most hate graffiti here is already written in English that English will be the same way for the next century.<br><br>Language is weird. It's not one to one even if the meanings are. Things are harder to say or easier or are more or less impactful just based on how language is structured. It will lead to fluent speakers of both languages disagreeing on an interpretation. German speakers generally loooove English's gerunds for example because they have to use different verb tenses to make ongoing action work. <br><br>I digress. People are people everywhere but </span><a href="https://blahaj.zone/tags/idiomatic" rel="nofollow noopener" target="_blank">#idiomatic</a><span> expressions and grammatical structure and word connotations can turn into powerful misinterpretations or strong sentences falling flat on non native ears. It's just some food for thought. </span><a href="https://blahaj.zone/tags/language" rel="nofollow noopener" target="_blank">#language</a></p>
Ryan Legler<p><span class="h-card"><a href="https://indieweb.social/@addyosmani" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>addyosmani</span></a></span> This really resonates with the set of idiomatic coding guidelines I’ve been working on at my place of work. Then more we write well typed, idiomatic and declarative code the more approachable and democratizing it is and the less we need to “comment” away our Rube Goldberg-esque code contraptions. <a href="https://mastodon.social/tags/cleancode" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>cleancode</span></a> <a href="https://mastodon.social/tags/idiomatic" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>idiomatic</span></a> <a href="https://mastodon.social/tags/commentsconsideredharmful" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>commentsconsideredharmful</span></a> <a href="https://mastodon.social/tags/commentedcodesmells" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>commentedcodesmells</span></a></p>