|
The last example I gave is more typical - the small trivial ones are unsurprisingly trivial (although anything that helps avoid null reference exceptions neatly is not really trivial, as that remains one of the major causes of software defects). The last example illustrates the true use of pattern matching more.
What is achieved is a little embedded Domain Specific Language (DSL) for expressions, along with a mechanism for simplifying those expressions, so that (x + 0) gets simplified to just (x). This is incredibly useful in many areas. Common uses are expression parsing, walking trees without requiring awkward visitor classes, filtering data, differentiating and integrating expressions. While all this can be achieved without PM, it typically reduces 100's of lines of code to 10's (with the corresponding decrease of chances of bugs).
I remember being similarly bemused when I started learning PM, but I encourage you to persevere. It is one of the most useful new techniques I have learned in the last decade. I'm looking forward to the extensions immensely, even if they are nobbled compared to the power of those presented in functional languages and Haskell particularly.
"If you don't fail at least 90 percent of the time, you're not aiming high enough."
Alan Kay.
|
|
|
|
|
C#6... And what happened to C#5?
|
|
|
|
|
C#5 came out with the 4.5 framework. (What you expected them to keep the version numbers for the two in sync. )
Did you ever see history portrayed as an old man with a wise brow and pulseless heart, waging all things in the balance of reason?
Is not rather the genius of history like an eternal, imploring maiden, full of fire, with a burning heart and flaming soul, humanly warm and humanly beautiful?
--Zachris Topelius
Training a telescope on one’s own belly button will only reveal lint. You like that? You go right on staring at it. I prefer looking at galaxies.
-- Sarah Hoyt
|
|
|
|
|
Are they trying to imitate Java?
|
|
|
|
|
I think these are closer to Haskell, F# and other functional languages.
"If you don't fail at least 90 percent of the time, you're not aiming high enough."
Alan Kay.
|
|
|
|
|
What you may not know is that the same design decisions that make DirectX 12 so performant also make it incredibly power efficient. This allows you to play all of your favorite games on portable devices without having an uncomfortably hot device on your lap or as much of a need to carry around a cumbersome power adapter. More power, less power. Make up your minds!
|
|
|
|
|
In a job posting that went live today, Microsoft made a reference to Windows as a Service, but other than the name, not much else is known about the platform. Microsoft's OneCore also gets referenced as well, but we are not sure if the WaaS and OneCore are related in the capacity in which they are mentioned in this job description. Put your OS in the cloud, and hope it doesn't rain
|
|
|
|
|
Microsoft is aiming to make available a technology preview of Windows Threshold around late September or early October. We are on the threshold of... Threshold
|
|
|
|
|
After several complaints from users, the company has acknowledged issues in the August Update, and is now advising users to uninstall some of the modules from the computer. Additionally, Microsoft is currently investigating it and, for the time being, has pulled the download links. "Oops, I did it again."
|
|
|
|
|
You probably didn’t use it, and may not have even heard of it, but the now 20-year-old IBM Simon was the world’s first smartphone, on which you could write, draw, manage your contacts and calendar, and send faxes – it even had apps.
...and about the same battery life
modified 16-Aug-14 15:48pm.
|
|
|
|
|
|
He must be sorry for the evil deed he did! We can't even look at any content without seeing these millions of Pop-ups and then getting annoyed!
Favourite line: Throw me to them wolves and close the gate up. I am afraid of what will happen to them wolves - Eminem
~! Firewall !~
|
|
|
|
|
Pretty arrogant to apologize. I mean, if he didn't do it, someone else would have...
|
|
|
|
|
Man you need a sense of humor.
Jeremy Falcon
|
|
|
|
|
|
Everyone does.
Jeremy Falcon
|
|
|
|
|
Prove it.
(would've rather'd a popcorn smiley...)
|
|
|
|
|
Tada!!!
.M
.:AMMO:
.:AMMMMMHIIIHMMM.
.... .AMMMMMMMMMMMHHHMHHMMMML:AMF"
.:MMMMMLAMMMMMMMHMMMMMMHHIHHIIIHMMMML.
"WMMMMMMMMMMMMMMMMMMH:::::HMMMMMMHII:.
.AMMMMMMMHHHMMMMMMMMMMHHHHHMMMMMMMMMAMMMHHHHL.
.MMMMMMMMMMHHMMMMMMMMHHHHMMMMMMMMMMMMMHTWMHHHHHML
.MMMMMMMMMMMMMMMMMMMHHHHHHHHHMHMMHHHHIII:::HMHHHHMM.
.MMMMMMMMMMMMMMMMMMMMMMHHHHHHMHHHHHHIIIIIIIIHMHHHHHM.
MMMMMMMMMMMMMMMMMHHMMHHHHHIIIHHH::IIHHII:::::IHHHHHHHL
"MMMMMMMMMMMMMMMMHIIIHMMMMHHIIHHLI::IIHHHHIIIHHHHHHHHML
.MMMMMMMMMMMMMM"WMMMHHHMMMMMMMMMMMLHHHMMMMMMHHHHHHHHHHH
.MMMMMMMMMMMWWMW ""YYHMMMMMMMMMMMMF""HMMMMMMMMMHHHHHHHH.
.MMMMMMMMMM W" V W"WMMMMMHHHHHHHHHH
"MMMMMMMMMM". "WHHHMH"HHHHHHL
MMMMMMMMMMF . IHHHHH.
MMMMMMMMMM . . HHHHHHH
MMMMMMMMMF. . . . HHHHHHH.
MMMMMMMMM . ,AWMMMMML. .. . . HHHHHHH.
:MMMMMMMMM". . F"' 'WM:. ,::HMMA, . . HHHHMMM
:MMMMMMMMF. . ." WH.. AMM"' " . . HHHMMMM
MMMMMMMM . . ,;AAAHHWL".. .:' HHHHHHH
MMMMMMM:. . . -MK"OTO L :I.. ...:HMA-. "HHHHHH
,:IIIILTMMMMI::. L,,,,. ::I.. .. K"OTO"ML 'HHHHHH
LHT::LIIIIMMI::. . '""'.IHH:.. .. :.,,,, ' HMMMH:
HLI'"IIITMII::. . .IIII. . '"""" ' MMMFT:::.
HML:::WMIINMHI:::.. . .:I. . . . . ' .M"'.....I.
"HWHINWI:.'.HHII::.. .HHI .II. . . . . :M.',, ..I:
"MLI"ML': :HHII::... MMHHL ::::: . :.. .'.'.'HHTML.II:
"MMLIHHWL:IHHII::....:I:" :MHHWHI:...:W,," '':::. ..' ":.HH:II:
"MMMHITIIHHH:::::IWF" """T99"' '"" '.':II:..'.'..' I'.HHIHI'
YMMHII:IHHHH:::IT.. . . ... . . ''THHI::.'.' .;H.""."H"
HHII:MHHI"::IWWL . . . . . HH"HHHIIHHH":HWWM"
""" MMHI::HY""ML, ... . .. :" :HIIIIIILTMH"
MMHI:.' 'HL,,,,,,,,..,,,......,:" . ''::HH "HWW
'MMH:.. . 'MMML,: """MM""""MMM" .'.IH'"MH"
"MMHL.. .. "MMMMMML,MM,HMMMF . .IHM"
"MMHHL .. "MMMMMMMMMMMM" . . '.IHF'
'MMMML .. "MMMMMMMM" . .'HMF
HHHMML. .'MMF"
IHHHHHMML. .'HMF"
HHHHHHITMML. .'IF..
"HHHHHHIITML,. ..:F...
'HHHHHHHHHMMWWWWWW::"......
HHHHHHHMMMMMMF"'........
HHHHHHHHHH............
HHHHHHHH...........
HHHHIII..........
HHIII..........
HII.........
"H........
......
Jeremy Falcon
|
|
|
|
|
Surely you meant...
`
; `
### `
###:# `
###:::#
###,::::# `
` +##':::::'` `
:###:::::::#
###,::::::::' `
###;:::::::::'
` ####::;',::::::# `
`###,:####::;##,;
` ###+:#+ '#:# :#:' `
.###:,# ## ':+ .
` ####:;# :# '# +. :: `
` ####:'' +# ,# #; ;: `
` ###+:;# :# ;# . :: `
` ####:,# ##` +:; .
` +###::#, `#:#:##:# .
###;:,####:::#+::` `
` ####:::##:::::::# .
####::::::::::' `
` ####,:::::::' .
` #####:::::# .
` .######### .
` #####+::### `
` ;####,::::'## `
:# ##;::::::#,# `
```` ;' `##:::::::# # ````
`##:::::::# , `
.#### .` ##:::':::# .` #### .
` `## . ` ;##:::::; ` ## `
` ### ` ` +##'::#; . ##. .
.` ' ` ;##### `` ` # # .
` ` ` ` +# # ` ` `
`` . ``` ; # .``` .``
` ` # : ``
` #####+###;##### `
`###;,,####:,:'###
###:::::###::::,##
.'##### '#####' .
:::,`,,:.,;::. ,`' .
+ .
` ``
/ravi
|
|
|
|
|
Touché Ravi! Touché.
Jeremy Falcon
|
|
|
|
|
"Sorry" don't cut it -- death or boomba?
|
|
|
|
|
Visual Studio Online is experiencing its second major outage in less than a month, with no current timetable for a fix. "Oh no, it's raining again"
|
|
|
|
|
This happens when you try to "Put a square peg in a round hole" Microsoft might have thought like it provided Microsoft Word Online, it can also provide Microsoft Visual Studio Online.
But Visual Studio is a powerfull tool. It can't run in a Web Browser. Well unless you chop 80% of the requirements and dependencies of the software.
Favourite line: Throw me to them wolves and close the gate up. I am afraid of what will happen to them wolves - Eminem
~! Firewall !~
|
|
|
|
|
Agreed, and with people living in VS, it's a bigger blip when it does (and it will) go down.
TTFN - Kent
|
|
|
|
|
Yes, because it is a software designed for development purpose. It is not an Angry Birds game to work with browsers and run on 80MB Ram, the software requires a lot of memory and has many background threads that keep on running all the time.
Online version can never ever match the Offline version. Offline version is a killer, Online version, ummm no words!
Favourite line: Throw me to them wolves and close the gate up. I am afraid of what will happen to them wolves - Eminem
~! Firewall !~
|
|
|
|
|