Bob Thompson http://www.drbob.17after.com My musings Mon, 05 Apr 2021 00:11:06 +0000 en-US hourly 1 https://wordpress.org/?v=7.0 Zlad! – Elektronik Supersonik HD BEST QUALITY Remastered Sound http://www.drbob.17after.com/2021/04/04/zlad-elektronik-supersonik-hd-best-quality-remastered-sound/ Mon, 05 Apr 2021 00:11:06 +0000 http://www.drbob.17after.com/?p=1126 This is so good!

]]>
SpecTECHular 2018 http://www.drbob.17after.com/2018/10/12/spectechular-2018/ Fri, 12 Oct 2018 17:17:04 +0000 http://www.drbob.17after.com/?p=1123 Here’s the New Horizons’ 2018 SpecTECHular presentation I gave on 2018-10-12 covering Microsoft Artificial Intelligence.

]]>
C# 8 Ranges and Recursive Patterns http://www.drbob.17after.com/2018/07/26/c-8-ranges-and-recursive-patterns/ Thu, 26 Jul 2018 12:02:13 +0000 http://www.drbob.17after.com/?p=1119 Source: InfoQ

This article discusses two features proposed for C# 8: Ranges and Recursive Patterns. Both of these belong to the category of Code Simplification. The article explains these in detail with many examples and how these features can help you to write better code.

Key Takeaways

  • C# 8 Adds Ranges and Recursive Patterns
  • Ranges easily define a sequence of data, replacing the Enumberable.Range()
  • Recursive Patterns brings an F#-like construct to C#
  • Recursive Patterns is an awesome feature, it giving you the flexibility to testing the data against a sequence of conditions and performing further computations based on the condition met.
  • Ranges is very useful to generate sequences of numbers in the form of a collection or a list.

Ranges easily define a sequence of data. It is a replacement for Enumerable.Range() except it defines the start and stop points rather than start and count and it helps you to write more readable code.

Recursive Patterns matching is a very powerful feature, which allows code to be written more elegantly, mainly when used together with recursion. The Recursive Patterns consists of multiple sub-patterns like as Positional Patterns, e.g.,var isBassam = user is Employee ("Bassam",_), Property Patterns, e.g.,p is Employee {Name is "Mais"}, Var Pattern, Discard Pattern (‘_’),and so forth.

 

Read the entire article at InfoQ.

]]>
Online Cartoons http://www.drbob.17after.com/2018/07/11/online-cartoons/ Wed, 11 Jul 2018 13:00:27 +0000 http://www.drbob.17after.com/?p=1100 WatchCartoonOnline.comis a great site to go to when you want to watch cartoons. They have a bunch of different animation shorts and movies from many different genres. Enjoy!

]]>
Good Boy Tonight http://www.drbob.17after.com/2018/07/03/good-boy-tonight/ Tue, 03 Jul 2018 22:20:09 +0000 http://www.drbob.17after.com/?p=1098

]]>
Austrian Grand Prix July 1, 2018 http://www.drbob.17after.com/2018/07/01/austrian-grand-prix-july-1-2018/ Sun, 01 Jul 2018 09:07:34 +0000 http://www.drbob.17after.com/?p=1072
Austrian Grand Prix 2018
Austrian Grand Prix 2018

]]>
Garden of Earthly Delights http://www.drbob.17after.com/2018/06/26/garden-of-earthly-delights/ Tue, 26 Jun 2018 19:38:03 +0000 http://www.drbob.17after.com/?p=1054 Garden of Earthly Delights
Garden of Earthly Delights by Hieronymus Bosch

 

For an awesome interactive experience with this work of art, visit this site. It’s pretty cool with closeups of the art and audio narrative.

]]>
I Drive A Japanese Car http://www.drbob.17after.com/2018/06/25/i-drive-a-japanese-car/ Tue, 26 Jun 2018 01:59:14 +0000 http://www.drbob.17after.com/?p=1052

]]>
How Big SpaceX Rockets Really Are! http://www.drbob.17after.com/2018/06/22/how-big-spacex-rockets-really-are/ Fri, 22 Jun 2018 12:29:49 +0000 http://www.drbob.17after.com/?p=1046

]]>
Me, Trying to Concentrate On Work http://www.drbob.17after.com/2018/06/21/me-trying-to-concentrate-on-work/ Thu, 21 Jun 2018 11:39:05 +0000 http://www.drbob.17after.com/?p=1040

]]>