|
That's the one to watch for these days..
Your product may only be intended to English speaking nations (although there are differences even between these), but eventually some bright spark of a salesman's going to drop everyone in it selling a version to Beijing or some other exotic location
How do you know so much about swallows? Well, you have to know these things when you're a king, you know.
modified 31-Aug-21 21:01pm.
|
|
|
|
|
oh, now this is fun.
July and july for starters, but you can have other languages as well. In dutch it's pretty straightforward "juli", but in French that becomes juillet, spanish=julio and croatian apparently returns "srpanj"
|
|
|
|
|
I challenge you to pronounce you if you're not slavic (I am, btw)
R in sRpanj is hard as when the russian speaks english in movies and nj is single letter pronounced like New without U
|
|
|
|
|
I did before I read your explanation, do I win a cookie?
If the brain were so simple we could understand it, we would be so simple we couldn't. — Lyall Watson
|
|
|
|
|
...and in polish: "lipiec"
|
|
|
|
|
I was a bit mystified why property change notifications (INotifyPropertyChanged ) were being raised for non-existent properties in our project.
Turns out some "bright spark" had the innovative idea of using them as a general event mechanism, presumably to save all the effort of declaring an event type.
I may have to persuade the company to buy all developers a copy of "Clean Code".
"If you don't fail at least 90 percent of the time, you're not aiming high enough."
Alan Kay.
|
|
|
|
|
|
A property doesn't have to be a Property to be a property .
|
|
|
|
|
What's the problem, if it compiles?
-> [ ]
There are two kinds of people in the world: those who can extrapolate from incomplete data.
|
|
|
|
|
Rob Grainger wrote: presumably to save all the effort of declaring an event type ehr..
For me it is a code-snippet in VS. Four seconds, five tops, tada, event. How much effort does declaring an event take at your company?
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
|
|
|
|
|
About the same, I'm still kinda mystified.
"If you don't fail at least 90 percent of the time, you're not aiming high enough."
Alan Kay.
|
|
|
|
|
At least it's consistent. Don't you hate all those inconsistencies?
|
|
|
|
|
Rob Grainger wrote: were being raised for non-existent properties
Exactly how is this being done? If the property doesn't exist, then where is this case being implemented? Can you show in a code snippet?
I have never seen this done for something other than notifying the client, of a property value change.
Wow.
|
|
|
|
|
In our code, it is all done via our own MVVM framework.
I have a SetProperty method defined on a base class, using a [CallerMemberName] argument to specify the property, which performs the following actions:
- If the value has not changed, exit immediately.
- Use Reflection to check the property specified actually exists.
- Call a method
RaisePropertyChange to raise the event.
RaisePropertyChange is designed to allow firing notifications on derived properties when a base property or other change occurs that would affect their value (similar to most MVVM frameworks). Effectively this just triggers the PropertyChanged event, passing a property name as a string.
Note however that (perhaps unwisely) I didn't use reflection in RaisePropertyChange to check the property exists. The dev in question simply called this method, passing a string that doesn't correspond to a property name. I guess I didn't consider the probability of someone being that daft.
(I've now added the code to check - shame as it decreases the efficiency somewhat as it has to use Reflection to check each property access, but it costs to defend against stupidity. I'm just glad all this is in a managed language, I dread to think what would happen if these muppets were let loose on C++).
"If you don't fail at least 90 percent of the time, you're not aiming high enough."
Alan Kay.
|
|
|
|
|
...and created a WINDOWS BATCH FILE that CALCULATES PI!
Here it is![^]
I honestly have no clue as to HOW it works, though!
What do you get when you cross a joke with a rhetorical question?
---
The metaphorical solid rear-end expulsions have impacted the metaphorical motorized bladed rotating air movement mechanism.
---
Do questions with multiple question marks annoy you???
|
|
|
|
|
Same here... I wonder if that is a source code or a sleep typing.
The sh*t I complain about
It's like there ain't a cloud in the sky and it's raining out - Eminem
~! Firewall !~
|
|
|
|
|
I recently had to do something in a batch file. Getting today's date was no problem. Getting yesterdays date though...
|
|
|
|
|
Good god, he implemented floating point math with integers to 4 digits after the decimal point of precision.
Marc
|
|
|
|
|
Public Enum HierarchycalEquitySeachType As Integer
SEDOL_ISIN_CUSIP___SEDOL_ISIN___SEDOL___ISIN___CUSIP
End Enum
See - this is pretty much self documenting code... 
|
|
|
|
|
They say that if you read it backwards three times you may summon OG the Devil
Geek code v 3.12
GCS d--- s-/++ a- C++++ U+++ P- L- E-- W++ N++ o+ K- w+++ O? M-- V? PS+ PE- Y+ PGP t++ 5? X R++ tv-- b+ DI+++ D++ G e++>+++ h--- r++>+++ y+++*
Weapons extension: ma- k++ F+2 X
I use 1TBS
|
|
|
|
|
You called?
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
|
|
|
|
|
|
With great power comes great re-putation!
The sh*t I complain about
It's like there ain't a cloud in the sky and it's raining out - Eminem
~! Firewall !~
|
|
|
|
|
Nice try...but...I see no pentagram. Or Octagram, or Hexagram.
So...I'm free! FREE AT LAST! MWHAHAHAHA! FOOLS! YOU HAVE RELEASED ME FROM MY ETERNAL PRISON!
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
|
|
|
|
|