|
I refuse to work in a programming language that provides something as nasty as method_missing and has a triple === operator.
Marc
|
|
|
|
|
That's what you get with "dynamic" languages. So, I guess you'd not like Python, JavaScript, etc.. either. BTW, you'd get a version of this behavior when using reflection in C# and Java and other reflective languages.
#SupportHeForShe
Government can give you nothing but what it takes from somebody else. A government big enough to give you everything you want is big enough to take everything you've got, including your freedom.-Ezra Taft Benson
You must accept 1 of 2 basic premises: Either we are alone in the universe or we are not alone. Either way, the implications are staggering!-Wernher von Braun
modified 16-May-16 17:27pm.
|
|
|
|
|
Quote: you'd get a version of this behavior when using reflection in C# Nah. At least there is no triple equal operator.
Wonde Tadesse
|
|
|
|
|
Yup. If the member you're looking up doesn't exist you get null. If you try to use it, then NullReferenceException. You also get this sort of behavior when using C#'s dynamic.
I agree Ruby's === is assinine. Logical NOT? Why not just != like every other language. WTF?
#SupportHeForShe
Government can give you nothing but what it takes from somebody else. A government big enough to give you everything you want is big enough to take everything you've got, including your freedom.-Ezra Taft Benson
You must accept 1 of 2 basic premises: Either we are alone in the universe or we are not alone. Either way, the implications are staggering!-Wernher von Braun
|
|
|
|
|
Quote: I agree Ruby's === is assinine. Logical NOT? Why not just != like every other language. WTF? Stick to C#. That's all I can say for now.
Wonde Tadesse
|
|
|
|
|
!= is pretty well limited to C-style languages.
VB has <>, as does SQL and Pascal.
Haskell uses /= (which kind of matches the mathematical operator, indeed Haskell supports ≠ directly).
Smalltalk uses ~=.
There's quite a wide variety. Get out more
"If you don't fail at least 90 percent of the time, you're not aiming high enough."
Alan Kay.
|
|
|
|
|
I'm aware. Just that === is more like the mathematical equivalent, not "logical not".
#SupportHeForShe
Government can give you nothing but what it takes from somebody else. A government big enough to give you everything you want is big enough to take everything you've got, including your freedom.-Ezra Taft Benson
You must accept 1 of 2 basic premises: Either we are alone in the universe or we are not alone. Either way, the implications are staggering!-Wernher von Braun
|
|
|
|
|
In a Google Groups thread named "Intent to implement: HTML5 by Default," the Google developers have announced initial plans to implement a new feature in the Chromium core that will disable the playback of Flash content by default and use HTML5 instead, if available. Take that, Flash.
|
|
|
|
|
YEAH!
#SupportHeForShe
Government can give you nothing but what it takes from somebody else. A government big enough to give you everything you want is big enough to take everything you've got, including your freedom.-Ezra Taft Benson
You must accept 1 of 2 basic premises: Either we are alone in the universe or we are not alone. Either way, the implications are staggering!-Wernher von Braun
|
|
|
|
|
Game over Flash!
Microsoft Certified Solutions Developer.
|
|
|
|
|
I propose a more visual syntax and a keyboard-usable UI for generating regular expressions. One man's take
|
|
|
|
|
I absolutely agree that regex's are typically not good for reading. Great in uses such as search/replace, but for not so hot for use in code.
One of the things I liked about Microsoft's (discontinued) MGrammar project was that they just used the same syntax for lexical and syntactical constructs, so matching an identifier looked like:
Upper = 'A'..'Z'
Lower = 'a'..'z'
Letter = Upper | Lower
Digit = '0'..'9'
IdFirst = Letter | '_'
IdRest = IdFirst | Digit
Identifier = IdFirst IdRest*
While a bit more verbose, it rendered the result much more readable.
"If you don't fail at least 90 percent of the time, you're not aiming high enough."
Alan Kay.
|
|
|
|
|
With the release of Linux 4.6, here's a look at some of the features we can hope to see merged over the next two weeks once the Linux 4.7 merge window opens. And the crowd cheers as the tortoise takes another step!
|
|
|
|
|
When I first learned about the Julia programming language, I became very enthusiastic about it. However, as I learned more about the language and experimented with it, I because increasingly disenchanted with it, and I’ll explain why in this post. I think we should start seeing other languages.
|
|
|
|
|
Quote: O Romeo, Romeo! Wherefore art thou Romeo?
Deny thy father and refuse thy name.
It all begins with denial...A good girl from the wrong family...
Skipper: We'll fix it.
Alex: Fix it? How you gonna fix this?
Skipper: Grit, spit and a whole lotta duct tape.
|
|
|
|
|
|
Windows 10 has been with us for a little over eight months now, which means there are only about four months remaining to get a free upgrade from an older Windows operating system. As the clock counts down, Microsoft has begun to auto-schedule PCs to upgrade to Windows 10 with or without consent from end users. Just gonna go home and check my settings, brb.
|
|
|
|
|
Sean Ewington wrote: Microsoft has begun to auto-schedule PCs to upgrade to Windows 10 with or without consent
My wife's laptop was taken over by the Win10 virus. She was unable to move the mouse due to GetWinX eating all of the processor.
Me: "Okay, let's update." <click>
GetWinX : blurgh! <fail>
I tried 3 or 4 different ways of upgrading. Was unable to download updates or even use the PC.
Finally, I downloaded an ISO for win10 to a USB drive and wiped the entire machine / installed.
Oh, it's very easy for the non-technical user, I am sure.
modified 16-May-16 16:35pm.
|
|
|
|
|
It is irritating, how Microsoft treats us...but it is relatively easy to stop the scheduled upgrade...
Look for this: gwx.png (66.1 KB)
Skipper: We'll fix it.
Alex: Fix it? How you gonna fix this?
Skipper: Grit, spit and a whole lotta duct tape.
|
|
|
|
|
What's really a pain in the ass is that even though you hide the various Win10 updater updates in WinUpdate, they come back each time new updates are available.
".45 ACP - because shooting twice is just silly" - JSOP, 2010
- You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
- When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013
|
|
|
|
|
Apple deleting music from Apple Music subscriber’s accounts has been a problem since the service launched last year, but after a blog post titled, “Apple Music stole my music. No, seriously,” by freelance composer James Pinkstone, the problem has taken center stage yet again. If Apple comes for my Justin Bieber collection, we're going to have words.
|
|
|
|
|
Sean Ewington wrote: If Apple comes for my Justin Bieber collection, we're going to have words.
That would almost be a good reason to buy Apple.
"If you don't fail at least 90 percent of the time, you're not aiming high enough."
Alan Kay.
|
|
|
|
|
Sean Ewington wrote: If Apple comes for my Justin Bieber collection, we're going to have words.
"Halleluiah!", "Praise Lord Jobs!", and "iTunes 4Evar!!!!11!1oneone1eleventyone"?
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
|
|
|
|
|
If you need security clearance from the federal government, it’s probably wise to stop being an idiot on social media. Government is effective and efficient. #Truth #ProudCitizen
|
|
|
|
|
Google is seeking drivers to test its driverless cars in Arizona. If you meet the requirements, you can earn $20 per hour to sit behind the wheel. "2:01 PM. Still nothing to report. Reflecting on my inadequacies as a human being."
|
|
|
|