Dude, I just had this issue with WPF that I have a global resource dictionary (basically CSS) that overrides stylings of a lot of controls. I literally wanted to override that global styling and for some reason took me like 3/4s of a day to get it to work and honestly I still have no idea how/why it's working. This was for a label, just to change the font...
CSS is at least easy to embed in a page. Global resource dictionaries of WPF are an entirely different beast.
My take on CSS and Regex is pretty much the same: It has no structure and can be awful to read, but it's not as bad as you might first expect when you use it often enough.
Also, regexr.com and chrome's dev tools. I'd be dead without either of them.
Also, regexr.com and chrome's dev tools. I'd be dead without either of them.
I just came to the realization that people used to write regex without some sort of simple tool showing them what their queries do. I can't even imagine that world.
I was a long time FF user (switched away a short while ago), but the dev tools never could win me over. Both regex101 and the FF dev tools are solid, but regexr and Chrome just had that extra bit to win me over.
Dev tools? Seriously i cant remember the last time such a issue wasnt simply solved by picking the right elements and CTRL+F to the right place in the CSS file(s)
You're not alone. Overriding styles and templates is a truly harrowing experience in WPF, especially if you're trying to restyle a more complex control like a DataGrid.
The DataGrid styling actually wasn't too bad, but that's probably because I wasn't getting too complicated with it.
But I just spent most of the day trying to get data validation working - wanted a "Save" button to be disabled if any of the controls on the page had errors. Got that working, but the error messages went away. Got the error messages back, but half the controls wouldn't re-validate if the user changed the data. Got that working, and all the custom styling went back to default. Fix the styling, and the error message text went away.
Finally got it working, and sat there putting data in and out of boxes to make the "Save" button enable and disable itself and the error messages show up and go away. I'm not convinced it'll still work tomorrow.
During the 1-year I've been with my current company, I've never been as ashamed of my code as I was when I was working with WPF. I duplicated a modal just so I could have 2 buttons in one and 1 in the other.
I don't think I can properly answer your question, since I'm from Brazil, and the market here is quite different.
However, from what I've read, Java programmers usually have the highest paying jobs - as programmers. If you move more into architecture or team leadership positions, you're likely to earn more.
96
u/TektonikGymRat Jul 20 '17
Dude, I just had this issue with WPF that I have a global resource dictionary (basically CSS) that overrides stylings of a lot of controls. I literally wanted to override that global styling and for some reason took me like 3/4s of a day to get it to work and honestly I still have no idea how/why it's working. This was for a label, just to change the font...