DEV Community

CodingBlocks

Episode 41 – Dev Talk: Django, VB vs C#, and Bash on Windows

This week on Coding Blocks, Joe changes a different kind of string, Allen drools over the Hellcat, and Michael shares his random thoughts. We span a collection of topics including GraphQL framework envy, bash on Windows, and whether it takes two to Django.

Join our Slack conversation already, would ya?
http://www.codingblocks.net/slack

Link to Episode 41’s Full Show Notes
http://www.codingblocks.net/episode41

New Poll: Bash on Windows – The next big awesome or Much ado about nothing!
#yop-poll-container-16_yp57bd1239dbb1b { width: 200px; background:#fff; padding:10px; color:#555; overflow:hidden; font-size:12px; } #yop-poll-container-16_yp57bd1239dbb1b input[type='text'] { margin:0px 0px 5px 0px; padding:2%; width:96%; text-indent:2%; font-size:12px; } .yop-poll-name-16_yp57bd1239dbb1b { font-weight:bold; background:#327BD6; color:#fff; padding:5px; text-align:center; font-size:12px; } #yop-poll-questions-container-16_yp57bd1239dbb1b { font-size:14px; margin:5px 0px; } .yop-poll-question-container-16_yp57bd1239dbb1b { padding: 2px; } .yop-poll-question-16_yp57bd1239dbb1b { background:#327BD6; color:#fff; margin-bottom: 21px; margin-top: -10px; font-style: italic; text-align: center; width: 100%; padding:5px; } .yop-poll-answers-16_yp57bd1239dbb1b { } .yop-poll-answers-16_yp57bd1239dbb1b ul { list-style: none outside none; margin: 0; padding: 0; } .yop-poll-li-answer-16_yp57bd1239dbb1b { font-style:normal; margin:0px 0px 10px 0px; padding:0px; font-size:12px; margin-bottom:20px; } .yop-poll-li-answer-16_yp57bd1239dbb1b input { margin:0px; float:none; } .yop-poll-li-answer-16_yp57bd1239dbb1b label { margin:0px; font-style:normal; font-weight:normal; font-size:12px; float:none; } .yop-poll-results-16_yp57bd1239dbb1b { font-size: 12px; font-style: italic; font-weight: normal; margin-left: 15px; } .yop-poll-customs-16_yp57bd1239dbb1b { } .yop-poll-customs-16_yp57bd1239dbb1b ul { list-style: none outside none; margin: 0; padding: 0; } .yop-poll-li-custom-16_yp57bd1239dbb1b { padding:0px; margin:0px; font-size:14px; } /* Start CAPTCHA div style*/ #yop-poll-captcha-input-div-16_yp57bd1239dbb1b { margin-top:5px; } #yop-poll-captcha-helpers-div-16_yp57bd1239dbb1b { width:30px; float:left; margin-left:5px; height:0px; } #yop-poll-captcha-helpers-div-16_yp57bd1239dbb1b img { margin-bottom:2px; } #yop-poll-captcha-image-div-16_yp57bd1239dbb1b { margin-bottom:5px; } #yop_poll_captcha_image_16_yp57bd1239dbb1b { float:left; } /* End CAPTCHA div style*/ .yop-poll-clear-16_yp57bd1239dbb1b { clear:both; } #yop-poll-vote-16_yp57bd1239dbb1b { } /* Start Result bar*/ .yop-poll-results-bar-16_yp57bd1239dbb1b { background:#f5f5f5; height:10px; } .yop-poll-results-bar-16_yp57bd1239dbb1b div { background:#555; height:10px; } /* End Result bar*/ /* Start Vote Button*/ #yop-poll-vote-16_yp57bd1239dbb1b div#yop-poll-vote-16_yp57bd1239dbb1b button { float:left; } #yop-poll-vote-16_yp57bd1239dbb1b div#yop-poll-results-16_yp57bd1239dbb1b { float: right; margin-bottom: 20px; margin-top: -20px; width: auto; } #yop-poll-vote-16_yp57bd1239dbb1b div#yop-poll-results-16_yp57bd1239dbb1b a { color:#fff; text-decoration:underline; font-size:12px; } #yop-poll-vote-16_yp57bd1239dbb1b div#yop-poll-back-16_yp57bd1239dbb1b a { color:#555; text-decoration:underline; font-size:12px; } #yop-poll-vote-16_yp57bd1239dbb1b div#yop-poll-archive-16_yp57bd1239dbb1b a { color:#555; text-decoration:underline; font-size:12px; } #yop-poll-vote-16_yp57bd1239dbb1b div { float:left; width:100%; } /* End Vote Button*/ /* Start Messages*/ #yop-poll-container-error-16_yp57bd1239dbb1b { font-size:12px; font-style:italic; color:red; text-transform:lowercase; margin-bottom:20px; text-align:center; } #yop-poll-container-success-16_yp57bd1239dbb1b { font-size:12px; font-style:italic; color:green; margin-bottom:20px; text-align:center; } /* End Messages*/#yop-poll-container-16_yp57bd1239dbb1b img { max-width: 200px; } .yop-poll-forms-display{}

Bash on Windows
  • The next big awesome?
  • Much ado about nothing?

News

  • Thanks for the super reviews!
  • To Django or not to Django?
  • How to break into programming?
  • Is it worth learning C# over VB.NET?
  • What’s the best dev laptop for $1,800?
    • Macbook
    • Dell XPS
    • Surface Pro 4

Inside Michael’s Mind

  • Ever just *want* to buy some new hardware? Michael drools over other keyboards for no good reason as he continues typing the lettering off of his Logitech K350. Like the ErgoDox EZ …. oooh.
  • Ever have framework jealousy?
  • Is GraphQL kinda like an Entity Framework for JavaScript? Maybe just kinda like it? Maybe just a little?
    • Visit the Star Wars API example at http://graphql-swapi.parseapp.com/. Here’s a sample query:
      query{ allFilms { edges { node { id, title, episodeID, producers } } } }
  • Why is ReSharper slow? Maybe it’s the key bindings?
  • If your REST api requires the user to download/install/use an SDK, …. are you doing it right?
  • We have a relationships with our code. Some we love. Some we loathe.
  • My Slack invites are better than yours.
  • News SQL server on Linux
  • Reflection is not a dirty word

Tips and Tricks

  • Don’t forget that you can use Visual Studio’s Immediate Window like you would Chrome’s JavaScript Console.
  • Stop using ConfigurationManager to access your configuration settings. Start using Settings instead to have typed settings. To set it up:
    1. Go to your project properties and then the Settings tab.
    2. Click on “This project does not contain a default settings file. Click here to create one.”
    3. Magic happens. Well, really just some Settings.* files are created for you.
    4. In the opened grid, enter your configuration settings.
    5. In your code, instead of doing ConfigurationManager.AppSettings[“some_config_key”] (or WebConfigurationManager.AppSettings[“some_config_key”]), instead just do Settings.Default.some_config_key.
    6. BAM! And it’s typed!
  • When to use WITH RECOMPILE in SQL
  • Give Hello Tech Podcast a listen: http://hellotechpros.com/ Motivation, Productivity, Leadership, Technology, People, Entrepreneurship and Getting Unplugged

Enjoying the Show? Tell Everyone You Know.

We love that you listen. Now don’t be stingy. Tell all of your friends and coworkers. By you telling them about the show, you teach them something new. Making you look even smarter in their eyes. See? It really is a win-win. So what are you waiting for?

Oh, and if you you haven’t already, head over to www.codingblocks.net/review to share your awesome wisdom with the world about our show. And just know that it will put a smile on our faces.

Episode source