Am I the only code monkey here? Let's talk programming. What's the most unpleasant regular expression you've seen recently? Feast your eyes upon this, courtesy of vim:
Code::%s/\v(^[^"]*)@<!"@<!""@!([^"]$)@!/""/g
Am I the only code monkey here? Let's talk programming. What's the most unpleasant regular expression you've seen recently? Feast your eyes upon this, courtesy of vim:
Code::%s/\v(^[^"]*)@<!"@<!""@!([^"]$)@!/""/g
I used to program regularly (and was quite fantastic at it if I do say so myself) but I let my skills wither. However I'm taking a class in Python as we speak. I'll probably have more relevant things to say later.
I'm a code monkey but I haven't done any regular expressions since university. I'm currently writing a system which validates data sent by handheld devices used by police at the scene of road traffic collisions. These guys record everything. If your (left hand drive) car hit a lamp post after swerving off the road because a horse and cart hit a pothole in wet weather on the way to a football game, we know.
there was a picture here
That's incredible!
I work for a small custom software company in the agriculture business. We build web apps, though I did two years of C++ dev that was a lot more rigorous. It was great experience and I still love low-level stuff... JavaScript sucks ass. PHP is alright though.
My current job is less challenging than my last one but I'm trying to take on more big things to keep myself from stagnating. Overall the environment is a lot better and I've been able to push more ideas about the dev process, as well as be more integral in high-level design decisions. But I'd be lying if I said I didn't miss scientific programming, working with OpenGL, or optimizing the trout out of C++.
All of that looks like gibberish to me.
They tried to teach me to program in school. Just would not take!
Oh man that regex lol
I am currently using regex as part of a uni assignment. Or will be when I start it. The lecturer decided to surprise us with a language we haven't used before. It's good because we get to learn something new but it's sort of bad because he takes great pleasure in springing something we haven't learned yet and making it an important part of our grade. It's Perl and so far I'm not super into it because I have been blessed with Python, but I'm having a little fun with it so far.
Surprisingly the programming stuff we've learned so far in other years hasn't been great and it wasn't until the last year or so that I actually enjoyed doing it, although I'm still a total noob programming-wise.
I'm primarily a web programmer. I work with an online business administration system (accounting, invoicing, CRM, stuff) built in PHP. It does get a bit boring sometimes for every new project to still be subject to the restrictions and quirks of the same old system, but it's not so bad, and I love my workplace so I'm pretty happy. My latest big project, though I can't say much about it, is being incredibly well received and might end up being adapted by a partner company that has a huge userbase, so that's kind of cool!
Outside of regular PHP/SQL setups I've not done much other concrete programming work. I've dabbled in C++, C#, Ruby, Python, but only enough to just barely warrant mention. If I had more free time, though...
Edit: Also, I love regular expressions. I'm actually really sad that I get so few chances to legitimately use them in my job. I use them pretty much daily for find/replace operations, although those use cases are usually pretty simple.
Confession timeI very occasionally have to do some Javascript. I never got around to learning it. I get all my bits of code off the internet and rejig it via trial and error to fit my needs
there was a picture here
Confession timeJavaScript cops a lot of hate for, well, a lot of things, but I actually really love working with it. I have to hold myself back from overusing it.
Im trying to make an First Person Shooter with C++ and Direct3D
Kefka's coming, look intimidating!
Have a nice day!!
My big issue with it is just that it doesn't seem to know what it wants to be, so it's kind of a lightweight scripting language, and kind of an extensive object-oriented language, which makes it pretty slushy for my liking. Coming from a language as strict as C++, it's a big adjustment that I still haven't made.
Python, on the other hand, is definitely a personal favorite.