Good talk but the speaker wasted too much time in chit chat rather than staying focussed.
@nvlddmkm12822 жыл бұрын
I agree, I really wish they'd use moderators to pass a mic to attendees to ask questions only during certain parts, limit the amount of questions, then do a full Q&A at the end. To this day, the PS summits don't use moderators or mics for audience questions, so viewers of the recordings can't hear the questions and presenters mostly forget to repeat the questions back for the recording. It took 1 hour to cover only a few VERY basic examples because the audience felt they could just interrupt any time, then, < 30 minutes went to RegEx usage in PS. I understand this course was meant for beginners as well, but opening it up to the floor during "how RegEx works" was pretty rough. Problem with opening a lecture up for questions too frequently, is people typically ask questions that will be answered later or they haven't had enough time to think and just blurt out a question that the presenter just answered in the material.
@gareginasatryan67614 жыл бұрын
Can’t you just use bunch of conditions and loops instead of regex. That way the syntax is uniform and you don’t have to learn a new language
@nvlddmkm12822 жыл бұрын
Well it's not really learning a new language, you're learning how to use a tool that almost all languages sit on top of. Multiple loops and condition statements could consume too many system resources and are way less maintainable since typically the more conditions you introduce or loops you iterate through, the more you'll start causing logic issues - whereas the purpose of regex (and the reason it's still in use), is you're putting in complex patterns into a much shorter statement. Also, not everything can be fed into loops or condition statements. If you're already using -like -contains -matches in PowerShell, you're already using Regex, so might as well learn how to use it to its full potential.