|
Awesome!
|
|
|
|
|
{"account-number": "1234"}
Seriously? A dash? I know some languages support that (I think Ruby? ) but really, can we get with modern and more standard keys that are easily serializable from the object? Now I'll have to code attributes for the key names.
Latest Article - A 4-Stack rPI Cluster with WiFi-Ethernet Bridging
Learning to code with python is like learning to swim with those little arm floaties. It gives you undeserved confidence and will eventually drown you. - DangerBunny
Artificial intelligence is the only remedy for natural stupidity. - CDP1802
|
|
|
|
|
Well, at least it's not a space.
|
|
|
|
|
Using a hex-editor one could add "08" right after the space, and most programs would not show it nor the space
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
"If you just follow the bacon Eddy, wherever it leads you, then you won't have to think about politics." -- Some Bell.
|
|
|
|
|
i ran into the same problem with XML and at one point had developed a complex naming and case transformation system that could split on camel, title, even CAPS_UNDERSCORE casing and transform to any of those, and it handled embedded "-"s by using XML serialization attributes
It seems like a lot of work, and it is, but something like that, if you're doing a lot of serialization like this, might become inevitable.
I'm not sure how it would all translate to JSON either - i guess that depends on what your JSON serialization code/lib looks like.
When I was growin' up, I was the smartest kid I knew. Maybe that was just because I didn't know that many kids. All I know is now I feel the opposite.
|
|
|
|
|
account-number is JavaScript friendly like accountNumber.
Account_Number is SQL friendly (for example).
It does not bother me too much this types of key naming convention...
|
|
|
|
|
T-SQL accepts [account number] , but that doesn't make it right.
|
|
|
|
|
[account number] isn't development friendly, it's only for reports...
It's disgustingly horrible (for DataColumns).
|
|
|
|
|
How about this one I have to deal with?
[Is the application used to provide merchant or other external entities with PAN/SAD related services]
|
|
|
|
|
Why hasn't camelCase or PascalCase simply taken over the world by now? What is wrong with people?
Why would some dev who types with two fingers want to reach up there for a dash anyways?
What is wrong with people?
|
|
|
|
|
|
PIEBALDconsult wrote: camelCase is filth.
I hope you are serious. And I hope you are saying that because you are a staunch supporter of PascalCase. If you are one of those Hungarian Notation people, we will have to remove your dev card.
Back in the day Hungarian would fly, but now, we kick you off of CP for that.
|
|
|
|
|
Hungarian (ptui) is the worst form of camelCase.
|
|
|
|
|
If it's "only" a convention why follow it?
Is an underscore unacceptable?
"They have a consciousness, they have a life, they have a soul! Damn you! Let the rabbits wear glasses! Save our brothers! Can I get an amen?"
|
|
|
|
|
Please calm down and slowly back away from the keyboard.
There problem solved.
CQ de W5ALT
Walt Fair, Jr., P. E.
Comport Computing
Specializing in Technical Engineering Software
|
|
|
|
|
I first saw the damn things on Ubuntu desktop, now they seem to be in Edge (which is the default PDF viewer on my system, going to change that)
We hates pop out scrollbars! They require extra precision to just get the damn thing to pop out, then extra precision not to overshoot and minimize the damn scrollbar when scrolling.
What absolute moron thought that saving .01% of screen real estate would be worth the coordination hassle of this totally unusable feature?
Oh wait. It was an Ubuntu/Linux developer to start with, I'm sure. That explains a lot, as these people seem to have it as their mission to make things obtuse, complicated, and over-designed while at the same time totally under-designing usability.
Latest Article - A 4-Stack rPI Cluster with WiFi-Ethernet Bridging
Learning to code with python is like learning to swim with those little arm floaties. It gives you undeserved confidence and will eventually drown you. - DangerBunny
Artificial intelligence is the only remedy for natural stupidity. - CDP1802
|
|
|
|
|
Could not agree more! I cuss them every day. It does not help that my right hand has a small problem with 'essential tremors' (why any doctor thought they should be 'essential' is beyond me).
A human being should be able to change a diaper, plan an invasion, butcher a hog, navigate a ship, design a building, write a sonnet, balance accounts, build a wall, set a bone, comfort the dying, take orders, give orders, cooperate, act alone, solve equations, analyze a new problem, pitch manure, program a computer, cook a tasty meal, fight efficiently, die gallantly. Specialization is for insects! - Lazarus Long
|
|
|
|
|
stoneyowl2 wrote: (why any doctor thought they should be 'essential' is beyond me).
so he can tell if you've fallen asleep?
Message Signature
(Click to edit ->)
|
|
|
|
|
Well, I rarely fall asleep near my doctor, and he could always poke me if he really wanted to know if I was asleep.
"Don't take life so serious, son. It ain't nohow perm'nent." - Pogo Possum (via Walt Kelley)
|
|
|
|
|
stoneyowl2 wrote: Well, I rarely fall asleep near my doctor, and he could always poke me if he really wanted to know if I was asleep.
But seeing your reaction to pop out scroll bars is much more entertaining.
CQ de W5ALT
Walt Fair, Jr., P. E.
Comport Computing
Specializing in Technical Engineering Software
|
|
|
|
|
I think they are a terrible idea because - when a window opens I don't know if I am seeing the whole contents of the window unless I move the cursor to display the scrollbars.
Why would you want to hide this important information from a user or only make it available when they move the cursor to the right of the window?
Plus how is this sort of feature helpful to older users who may have more difficulty with fine muscle coordination than younger users?
“That which can be asserted without evidence, can be dismissed without evidence.”
― Christopher Hitchens
|
|
|
|
|
Doesn't rolling the wheel 1 notch forwards then 1 notch backwards achieve the same result with a whole lot less effort?
|
|
|
|
|
You are all not getting the point, it's all about "gamification", to be more precise: turning Windows into a Hidden Object game
|
|
|
|
|
Me too.
Everything has been done by the time Windows 7 came out.
Everything since has been because "well, we have to do something"
|
|
|
|
|
Unfortunately, MS doesn't seem to be able to "roll back" mistakes, even when it's clear that everybody hates them: The Ribbon, Fisher-Price start menus, VB ...
So I suspect they will be here for a while*.
* And be replaced with something that takes 1/3 of your screen and pulses multiple colours to tell you how far you have scrolled, probably.
Sent from my Amstrad PC 1640
Never throw anything away, Griff
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
AntiTwitter: @DalekDave is now a follower!
|
|
|
|