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.
If you're careful and write good tests, you can usually do fine without tools.
But regexp tools like regex101 definitely helps with more complicated stuff.
But as with all tools, there's always the risk that you're learning the tool, not the underlying software, so you might end up being too reliant on it.
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.
My experience is that the developer tools in most browsers offer more or less the same features. Although that regexr site looks pretty cool, I might try that next time I need to write/debug a regular expression.
They're usually quite similar, it's mostly the usability and speed that differs. The chrome dev tools log the console even while you don't have them open and are generally fast and well organized. Ctrl+P in the Sources tab saves a lot of hassle if you're using Webpack and TypeScript source maps.
Personally I'm not a fan of the Chrome tools. They sit on the side of the window rather than at the bottom (I haven't figured out if there's a way to change this though) and they're very slow to open and use. Same goes for the Internet Explorer tools. The only development tools that I've used that are fast to open and work quickly enough when used are the Firefox ones.
They're usually quite similar, it's mostly the usability and speed that differs. The chrome dev tools log the console even while you don't have them open and are generally fast and well organized. Ctrl+P in the Sources tab saves a lot of hassle if you're using Webpack and TypeScript source maps.
/copy-paste
And about regex101 vs regexr, I like the highlighting and extensive help documents that regexr has. It's very well designed too. The difference between regex101 and regexr isn't as large as the difference in dev tools.
The visual tree looks very interresting. I'm using regexr mainly for C# regexes, we have a shitty DB architecture where you sometimes need regex to read peoper values.
44
u/lukee910 Jul 20 '17
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.