|
dancavallaro posted:http://forums.somethingawful.com/showthread.php?noseen=0&threadid=3178624 That thread is terrible. Bhaal posted:Being familiar with .NET could look extra appetizing on your resume if your PR/marketing duties are largely web-oriented. Yes, someone who doesn't know any language and is asking about learning challenges should start with .NET because it'll look awesome to marketing dudes. It looks like the OP is asking for the challenges people have dealt with, not recommendations for a first languages to learn. Why are people posting poo poo like this? mrbass21 posted:If you choose linux for your compiler
|
# ? Aug 2, 2009 02:32 |
|
|
# ? May 14, 2024 18:13 |
|
quadreb posted:"Moved on"? Regular expressions are an integral part of modern business programming. Business programming?
|
# ? Aug 2, 2009 03:01 |
|
The Noble Nobbler posted:Business programming? You know, CRUD applications.
|
# ? Aug 2, 2009 03:33 |
|
Tulenian posted:You know, CRUD applications. The R stands for Regular Expression!
|
# ? Aug 2, 2009 03:39 |
|
The Noble Nobbler posted:Business programming? Move data from point A to point B while performing some operation(s) on it. Maybe put a ribbon in its hair with a GUI too.
|
# ? Aug 2, 2009 04:50 |
|
The Noble Nobbler posted:Business programming? "Can we have it in Excel?". Eh, keeps me in a job. On the topic of regular expressions and 'knowledge requirements', sod the theory, it's just nice if the original developer documents what it's *supposed* to do, and what the expected form of the inputs are.
|
# ? Aug 2, 2009 10:53 |
|
quadreb posted:Move data from point A to point B while performing some operation(s) on it. Maybe put a ribbon in its hair with a GUI too.
|
# ? Aug 2, 2009 11:00 |
|
TSDK posted:Can I get that in cornflower blue? *Auto-reply from quadreb since you're not on my whitelist* All requests must be put in through the ticket system. If you do not have access to the ticket system, please email [the person who never reads or replies to his emails]. *receives ticket to change color scheme to cornflower blue* *revokes that person's ticket system access*
|
# ? Aug 2, 2009 11:06 |
|
1337JiveTurkey posted:http://java.sun.com/javase/6/docs/api/javax/xml/transform/TransformerFactory.html Take a glance at the #setFeature() method too. - Uses Strings defined in who knows where which MUST actually be fully qualified URI:s as feature keys - Throws Exception instead of RuntimeException... - ...and doesn't require Transformer to support all but one feature. This means that you get all sorts of nasty cross-platform issues right at the beginning when setting features and unless you wrap the #setFeature() as its own method, it may break down your feature setting code if you have more than one feature to set and you're not careful. This is especially nice if you have multiple Transformers in your software since cross-feature support is apparently a good joke among the XML Transformer developers. And all that for one method. When manipulating Document's contents programmatically I've managed to get insane amount of NPE:s in internal methods with quality comments akin to /* this hack needed to make [feature xyz] work */ sprinkled all over. Java's default XML is the worst thing ever, never dwell into its source to understand what it does, this is a plain warning. As far as I know, javax.xml.* is entirely made by people at W3C. They can write great specifications but drat if they ever manage to create code that impresses in the positive way...
|
# ? Aug 2, 2009 14:47 |
|
TSDK posted:If they didn't fancy it, I suppose they could always go with John Martin's Introduction to Languages and the Theory of Computation instead. Not only did I have to use that text, I had him as a professor. http://www.cs.ndsu.nodak.edu/~jmartin/ - here's his web page.
|
# ? Aug 2, 2009 15:34 |
|
PnP Bios posted:Not only did I have to use that text, I had him as a professor. I also had him for my professor in Theoretical Comp. Science I/II and Algorithm Analysis. The guy is a genius but he has a knack for making most of his students fall asleep during lectures. This is the biggest roadblock most Computer Science majors have at NDSU.
|
# ? Aug 2, 2009 15:55 |
|
if you find yourself checking in a method that ends like this:code:
|
# ? Aug 3, 2009 17:52 |
|
Found this in one of the perl modules of our ticket system. The code's not that bad, I just thought the comment was priceless.code:
|
# ? Aug 3, 2009 19:12 |
|
BigRedDot posted:I work on sonar systems for submarines, I can say confidently that regular expressions are not at all an integral part of the programming we do. But what if you have to find an enemy submarine that resembles a well-formed propper name? What then Mr. Smarty-Pants?
|
# ? Aug 3, 2009 21:12 |
|
BigRedDot posted:I work on sonar systems for submarines, I can say confidently that regular expressions are not at all an integral part of the programming we do. I find it hard to believe that you could extract those little blips accurately from the ocean without some kind of regular expression.
|
# ? Aug 3, 2009 21:52 |
|
PerlMonks got hacked recently. What does this have to do with coding horrors, other than it's Perl?quote:There is a really simple reason we owned PerlMonks: we couldn't resist more
|
# ? Aug 4, 2009 00:59 |
|
quote:There is a really simple reason we owned PerlMonks: we couldn't resist more quote:the administrators notified the owners of the exposed accounts and forced a reset of all their passwords. problem solved guys go home nothing to see here
|
# ? Aug 4, 2009 01:21 |
|
quote:There's a bit of controversy going on as to why the passwords were stored in plain text in the first place, with some arguing that it was because of the very large user base. Password hashing was apparently on the TODO list for the future, but that has become a priority now.
|
# ? Aug 4, 2009 01:54 |
|
Scaevolus posted:There's a bit of controversy going on as to why the passwords were stored in plain text in the first place, with some arguing that it was because of the very large user base You heard it here first, folks. Perl can't handle hashing 50,000 passwords.
|
# ? Aug 4, 2009 03:48 |
|
quote:There's a bit of controversy going on as to why the passwords were stored in plain text in the first place, with some arguing that it was because of the very large user base. Password hashing was apparently on the TODO list for the future, but that has become a priority now. Now that's premature optimization.
|
# ? Aug 4, 2009 07:07 |
The gently caress is with people using the eclipse auto format bullshit on code they don't even need to change, and then they check it in anyways to make my next diff/merge a living hell?
|
|
# ? Aug 6, 2009 23:16 |
|
fletcher posted:The gently caress is with people using the eclipse auto format bullshit on code they don't even need to change, and then they check it in anyways to make my next diff/merge a living hell? Use a diff utility that can ignore whitespace changes.
|
# ? Aug 6, 2009 23:24 |
plushpuffin posted:Use a diff utility that can ignore whitespace changes. It's not just whitespace. static functions get moved to the top, variable/function names get sorted alphabetically, and the curly braces go from 1TBS to K&R
|
|
# ? Aug 6, 2009 23:27 |
|
If only that were configurable...
|
# ? Aug 6, 2009 23:37 |
|
fletcher posted:It's not just whitespace. static functions get moved to the top, variable/function names get sorted alphabetically, and the curly braces go from 1TBS to K&R Ah, okay. My apologies.
|
# ? Aug 6, 2009 23:38 |
|
I saw this lovely piece of pre-STL legacy code in the other day.code:
It's actually a macro: code:
Fun stuff. jayhat fucked around with this message at 01:33 on Aug 7, 2009 |
# ? Aug 7, 2009 01:29 |
|
In shipped, production code (6 happens to be the highest log level)code:
|
# ? Aug 7, 2009 03:58 |
|
code:
code:
jimbroof fucked around with this message at 07:10 on Aug 7, 2009 |
# ? Aug 7, 2009 07:08 |
|
I bet something like code:
|
# ? Aug 7, 2009 07:11 |
|
Seen in some Rails code where the developer was trying to get the start of the day:code:
code:
I also tend to see a lot of stuff like: code:
|
# ? Aug 7, 2009 15:41 |
|
Nevermind, thought this thread was shorter then it is.
|
# ? Aug 7, 2009 17:12 |
|
fletcher posted:The gently caress is with people using the eclipse auto format bullshit on code they don't even need to change, and then they check it in anyways to make my next diff/merge a living hell? The real problem when working with code is that you need a diff utility that parses the code given (lex) and then runs a diff on the resulting tokens to find the difference.
|
# ? Aug 7, 2009 17:16 |
|
fletcher posted:It's not just whitespace. static functions get moved to the top, variable/function names get sorted alphabetically, and the curly braces go from 1TBS to K&R Seriously? Java has so much to answer for. Cue coding standard that require prefixing similar functions in order for Eclipse to group them correctly.
|
# ? Aug 7, 2009 18:46 |
|
Zombywuf posted:Cue coding standard that require Much more fun.
|
# ? Aug 7, 2009 18:48 |
|
Zombywuf posted:Seriously? That's an Eclipse quirk. IntelliJ is perfectly happy to list the class structure in the sidebar in alphabetical order while leaving the code well enough alone. In any case if it's impossible to find anything in a class without putting every member in alphabetical order, the class is probably too drat big to begin with.
|
# ? Aug 7, 2009 19:35 |
|
Zombywuf posted:Seriously? It is a little known quirk of the Java specification that all member functions must be lexicographically sorted or the program is ill-formed.
|
# ? Aug 7, 2009 19:51 |
|
By the way, does Java make any guarantees as to the layout of the class based on the order of declaration of members?
|
# ? Aug 7, 2009 19:56 |
|
enki42 posted:Jesus, you guys with your requirements for programmers should spend a couple weeks working for an internal IT department. I'm fricking thrilled if one of my devs knows what a pointer is. I've been involved with a few projects from initial concept all the way through to deployment. This process usually changes hands a few times so one team is never really involved from start to finish but somehow I managed to do just that. I got to see everything from initial concept to working with the architects to draw up the requirements then the developer hand off, testing and eventual installation. It's fun to see how a perfectly reasonable design document ends up producing a lump of poo poo.
|
# ? Aug 7, 2009 20:09 |
1337JiveTurkey posted:That's an Eclipse quirk. IntelliJ is perfectly happy to list the class structure in the sidebar in alphabetical order while leaving the code well enough alone. In any case if it's impossible to find anything in a class without putting every member in alphabetical order, the class is probably too drat big to begin with. Eclipse lists it in alphabetical order in the sidebar while leaving the code alone as well, but if you do Source->Format or Source->Cleanup or whatever the hell it is it will rearrange everything. I can't imagine why they even put something like that in. Are people really that lazy that they can't keep their code formatted properly as they write it?
|
|
# ? Aug 7, 2009 20:24 |
|
|
# ? May 14, 2024 18:13 |
|
Eclipse's Format feature will mess with all your whitespace, but leaves the order and everything else alone. There's a Sort Members feature that does precisely that, though.
|
# ? Aug 7, 2009 20:50 |