The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.
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.
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.
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?
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.
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.
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