<?xml-stylesheet type="text/xsl" href="https://community.element14.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>New feature in Python 3.8</title><link>/members-area/personalblogs/b/clem-martins-s-blog/posts/new-feature-in-python-3-8</link><description>Even though Python 3.8 is not official releases, there have been a few Alpha versions floating around. There are some interesting ideas in these including one called a Walrus Operator. Here is the explanation: Walrus-oper...</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: New feature in Python 3.8</title><link>https://community.element14.com/members-area/personalblogs/b/clem-martins-s-blog/posts/new-feature-in-python-3-8</link><pubDate>Fri, 22 Nov 2019 14:32:20 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:d57db054-8ca4-47d8-9fd5-a35060c8a9aa</guid><dc:creator>clem57</dc:creator><slash:comments>0</slash:comments><description>&lt;blockquote class="jive-quote"&gt;&lt;p&gt;I learned to program in the early 70s - ALGOL on an Elliot 803!&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;My teachers drummed into me the importance of readability, simplicity of expression and comments.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I have never forgotten that.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;span&gt;[mention:b7ba740b35ec45dc933b4e03cf0b9008:e9ed411860ed4f2ba0265705b8793d05]&lt;/span&gt; &lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;I agree about readability, but the new style of camel case, etc just does not come too easily. Oh well, I will just have to adjust as best I can.&lt;span&gt;[View:/resized-image/__size/16x16/__key/commentfiles/f7d226abd59f475c9d224a79e3f0ec07-d57db054-8ca4-47d8-9fd5-a35060c8a9aa/contentimage_5F00_403.png:16:16]&lt;/span&gt;&lt;/p&gt;&lt;p&gt;Clem &lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=8184&amp;AppID=318&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: New feature in Python 3.8</title><link>https://community.element14.com/members-area/personalblogs/b/clem-martins-s-blog/posts/new-feature-in-python-3-8</link><pubDate>Wed, 13 Nov 2019 15:39:55 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:d57db054-8ca4-47d8-9fd5-a35060c8a9aa</guid><dc:creator>skywalker1211</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;at first sight, it looks like comparison operator.&lt;/p&gt;&lt;p&gt;it saves one line, with reduce readability. i will still stick with the one without walrus operator.&lt;/p&gt;&lt;p&gt;i dont know if it is a good change, may be someday i will need it.&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=8184&amp;AppID=318&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: New feature in Python 3.8</title><link>https://community.element14.com/members-area/personalblogs/b/clem-martins-s-blog/posts/new-feature-in-python-3-8</link><pubDate>Tue, 12 Nov 2019 20:13:47 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:d57db054-8ca4-47d8-9fd5-a35060c8a9aa</guid><dc:creator>DAB</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;I can see the utility in testing incomplete programs.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;DAB&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=8184&amp;AppID=318&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: New feature in Python 3.8</title><link>https://community.element14.com/members-area/personalblogs/b/clem-martins-s-blog/posts/new-feature-in-python-3-8</link><pubDate>Tue, 12 Nov 2019 19:43:06 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:d57db054-8ca4-47d8-9fd5-a35060c8a9aa</guid><dc:creator>ntewinkel</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;That seems to be a convergence to what other languages are doing.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;The same thing in Swift looks like this:&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;[embed:dc8ab71f-3b98-42d9-b0f6-e21e02a0f8e2:3ef06e6b-9b7d-4651-b12d-db8be7f5e991:type=java&amp;amp;text=let+sample_data%3A+%5B%5BString%3A+Any%5D%5D+%3D+%5B%0A++++%5B%22userId%22%3A+1%2C++%22name%22%3A+%22rahul%22%2C+%22completed%22%3A+false%5D%2C%0A++++%5B%22userId%22%3A+1%2C+%22name%22%3A+%22rohit%22%2C+%22completed%22%3A+false%5D%2C%0A++++%5B%22userId%22%3A+1%2C++%22name%22%3A+%22ram%22%2C+%22completed%22%3A+false%5D%2C%0A++++%5B%22userId%22%3A+1%2C++%22name%22%3A+%22ravan%22%2C+%22completed%22%3A+false%5D%0A%5D%0A++%0Aprint%28%22Swift+output%22%29%0Afor+entry+in+sample_data+%7B%0A++++if+let+name+%3D+entry%5B%22name%22%5D+%7B%0A++++++++print%28%22found+name%3A+%5C%28name%29%22%29%0A++++%7D%0A%7D]&lt;/p&gt;&lt;div&gt;&lt;/div&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;With lots of subtle and annoying syntax differences between all languages. arg.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I kind of prefer the readability of keeping things separate.&lt;/p&gt;&lt;p&gt;It also allows you to easily add a debug log statement in between the assignment and the if statement, if something comes up in the future.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Going back to the days of C, I recall some programmers chunking entire functions into a single line which only made sense to the most advanced programmers but made it completely illegible to anyone else.&lt;/p&gt;&lt;p&gt;To me, that&amp;#39;s bad style. At some point a junior programmer will need to read your code. Or worse - you might need to read your OWN code a few years later to support it &lt;span&gt;[View:/resized-image/__size/16x16/__key/commentfiles/f7d226abd59f475c9d224a79e3f0ec07-d57db054-8ca4-47d8-9fd5-a35060c8a9aa/contentimage_5F00_2516.png:16:16]&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;What&amp;#39;s the reason for so many languages anyway? To me it seems to be very political, including patent pirates making life difficult.&lt;/p&gt;&lt;p&gt;For example, it looks like for Android development, Java is being replaced by Kotlin now because Oracle is starting to charge for the use of Java.&lt;/p&gt;&lt;p&gt;I might be interpreting that Kotlin move wrong.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Of course, I guess there&amp;#39;s always just the fact that many people have many different preferences.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Cheers,&lt;/p&gt;&lt;p&gt;-Nico&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=8184&amp;AppID=318&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item></channel></rss>