• (cs) in reply to Ville
    Ville:
    real_aardvark:
    Sheesh. Man can't even spell FILE_NOT_FOUND properly.
    Who might you be referring to. And if you don't understand what you read, maybe you shouldn't comment on that particular message.

    Emphasis added to help you, Ville.

  • (cs) in reply to Robert Synnott
    Robert Synnott:
    "I like to start off with simple questions like the proper use of On Error Resume Next," - Answer: Don't use it, or a language which contains it. (I assume it died with classic VB[script], right?)

    "and the importance of naming your variables with a prefix that tells you what type it is." - No value. Silly. Your IDE will tell you. Looks mad. Even Microsoft no longer seems to bother.

    So, do I get the job? :)

    Not until you're smart enough to quote properly. ;-)

  • Robert Synnott (unregistered) in reply to real_aardvark
    Ville:
    It's interesting to see how many here thinks ORNE is only suitable for hiding errors.

    The only times I've used ORNE are basically something like the following

    On Error Resume Next Open FileToRead for Input as #FileId If Err Then ReturnValue = FAILED_FILE_INACCESSIBLE Exit Sub End If On Error Goto 0

    gapes in horror

    I mean, really. It's not 1980 any more. We have real non-mad exception handling which doesn't rely on mad GOTO tricks exposed to the programmer. Err is some sort of magic variable, I assume?

  • Ville (unregistered) in reply to KenW
    KenW:
    Emphasis added to help you, Ville.
    Well, I realised later that FILE_NOT_FOUND might be some insiders joke, that I'm just not getting yet. There seems to be many references to it on other threads.

    Otherwise I don't see how that comment would be relevant, considering file not existing is only one of several reasons why file open might fail.

  • Ville (unregistered) in reply to Robert Synnott
    Robert Synnott:
    Err is some sort of magic variable, I assume?
    In Visual Basic Err is an object containing details of occurred error, pretty much like the Exception object you would catch in more recent languages.
  • Mark (unregistered) in reply to wtf
    wtf:
    Surely you're joking...

    But seriously, what 3 disadvantages to MVC do you have in mind?

    Unjustifiable overhead in apps that don't benefit from MVC?

    MVC is great, but not always the solution. Using it in Access for example doesn't really work so well. You can separate your presentation layer, business logic layer, and data access layers separately which is still a win. But that's not necessarily MVC.

  • Ville (unregistered) in reply to Robert Synnott

    Actually, I'll explain in a bit more detail.

    Robert Synnott:
    Ville:
    On Error Resume Next Open FileToRead for Input as #FileId If Err Then ReturnValue = FAILED_FILE_INACCESSIBLE Exit Sub End If On Error Goto 0

    gapes in horror

    The above code is effectively equivalent to more recent syntax:

    Try
      MethodAccessingFileThatMayThrowException
    Catch (Ex as Exception)
      Return FAILED_FILE_INACCESSIBLE
    End Try
    

    So basically "On Error Resume Next" means that we don't want to throw error possibly generated by the following sentence(s) to next level, but instead we would like to handle them here.

    The next line "If Err Then" is basically the same as "Catch (Ex as Exception)". Err is an object that gets information of any errors occurred after we instructed "On Error...". "If Err Then" is shorter way of writing "If Err.Number <> 0 Then" because Number is the default value of Err object and anything besides 0 is considered true as boolean.

    And On Error Goto 0 means that we don't want to handle errors locally anymore but instead throw it to next level. So it's basically "End Try"

    I agree the syntax was not nice, but it was generally something a programmer could not decide by himself/herself.

    So yeah, I guess in twenty years from now when we've come up with neater syntax someone might look at todays "Try .. Catch .. Finally" block and gape in horror.

    Robert Synnott:
    I mean, really. It's not 1980 any more.
    Well, I wasn't saying this is something that should be used today, was I? I was commenting about the misconception people have about how OERN was supposed to be used - back in the day when people used languages that had different ways of handling errors than what we are used to today.

    Saying OERN is only good for ignoring errors is just as sane comment as claiming that Try Catch is only good for ignoring errors. Sure, both can be used for that, but neither are designed for that.

  • Mark (unregistered)

    It has been a long time since I have done VB coding, but if I remember correctly On Error Resume next had some practical purposes.

    I think one of the most common purposes was dealing with pulling items from a collection or seeing if an item was in a collection. If I recall correctly, one of the best ways was to set On Error Resume next ant then access the item as if it was in there. If there is an error then it was not, if there is no error than it was.

  • (cs) in reply to Eam

    I can name 3 off the bat:

    1. Possibly overkill for small projects. You might not need a model layer for a quick n' dirty.
    2. Requires you to segment code along MVC dimensions, rather than functional areas. (Of course, this is also a benefit of MVC, but it's a double edged sword.)
    3. Business logic is still not all in one place, because some will be in the model layer and some will be in the controller layer.

    Still I think it makes the most sense for nearly every business application out there.

  • Steve (unregistered)

    The trouble with MVC in web applications is that it's never done right. Hint: if your controller is server-side, then you're doing it wrong.

    MVC is about user interfaces and event loops, not program organization.

    The controller interprets the mouse and keyboard inputs from the user, commanding the model and/or the view to change as appropriate.
  • An Old Hacker (unregistered) in reply to Appomattox

    Sorry. Buy yourself a real test engineer, and he'll automate this joker out of a job in a few days. Test is harder than design, people.

  • (cs) in reply to Tourist
    Tourist:
    Chris:
    Then there's the whole 'far pointer to an array of pointers to functions expecting a string and an integer and returning nulls' prefix thang. (Oops, not the function takes a long!). Any meaningful prefix for that will be a nightmare to read -- "fpApfvSia[i++] = fpApfvSib[j++];" anyone?

    ever heard of typedef's ?

    Yes, let's invent a totally unnecessary and obfuscatory way to mangle our code, and then use the built-in aliasing of the language to magic away the migraine (and also the supposed semantic or syntactic carrier signal).

    This wins the Tin Foil Hat Award for the most entertaining defence of the indefensible seen so far. Or for trolling. Or for sarcasm. Any which way, it's superbly tin-foily.

    (Lose the green-grocers' apostrophe, btw. An opportunity to exercise my inner Grammar Nazi as well ... can life get any sweeter?)

  • Tom JP (unregistered) in reply to El Duderino
    El Duderino:
    A Wizard a True Star:
    So, in which languages do you think Hungarian Notation would actually be useful?
    pI advActually vLove adjHungarian nNotation advSo adjMuch, pI vUse pIt advAll artThe nTime! pIt advSure vMakes nEnglish adjEasier prepTo vUnderstand. vImagine cIf pYou vHad prepTo vRead pThis prepWithout pIt. pYou vWould vHave adjNo nClue advWhat pThese nWords vMeant prepWithout pTheir nParts prepOf nSpeech!

    I never was into the whole brevity thing.

  • (cs)

    Always refreshing to see the amazing level of penis fencing in the comments.

    As has been pointed out by several reasonable people, On Error Resume Next had quite legitimate uses in VB6 and prior. One might prefer to check for error conditions in-line in certain situations rather than construct a series of complex error handlers (leads to spaghetti) or having a catch-all handler try to figure out the context. Remember good ol' fashioned ANSI C?

  • Jay (unregistered)

    I'm working on a reference book which I think might be valuable to many aspiring mathematicians: A List of Even Primes (Abridged Edition).

  • (cs) in reply to real_aardvark
    real_aardvark:
    Tourist:
    ever heard of typedef's ?
    (Lose the green-grocers' apostrophe)

    That's not a greengrocers' apostrophe. It is acceptable to use an apostrophe before a plural "s" in cases where this removes ambiguity. I would include compiler keywords in such cases.

    http://en.wikipedia.org/wiki/Apostrophe#Use_in_forming_certain_plurals

    E.g., in a code review, I might say "consider replacing all of your fget's with fget_s" and I would heartily defend that apostrophe to the core of my eating-shoots-and-leaving being.

  • Jay (unregistered)

    When I'm interviewing people for jobs, I give them a sample of code that I've written. If they immediately fall to their knees and shout, "You are a programming god! I am not worthy to study at your feet, but please allow me the privilege of basking in your glory!" then I conclude the person should be hired. If they presume to find flaws in my code, I order that they be immediately killed.

  • (cs)
    "It depends?" I questioned, unsure if this was some sort of trick question, "it depends on...?"

    "Well," he responded, "there are times when '1' is prime, and times when it's not."

    I was tempted to ask what it depended on

    Um, you did ask what it depended on.

    The interviewer's answer, though not especially informative, is fairly close to correct. 1 is "prime" if your notion of "prime" is "non-negative, non-composite integer."

    The more forthcoming answer is that 1 is better than prime - it's the multiplicative identity (or a "unit", for those versed in ring theory.)

    The interviewer was probably less interested in whether you printed 1 than if you did other things... like use the inequality

    Pn < n ln n + n ln ln n (for n >= 6)

    to do a Sieve-of-Erastosthenes solution for speed...

    or some other approach for memory...

    Most of the "code interview" is tackling the problem. Surprisingly little is actual code.

  • Jay (unregistered)

    I can think of lots of drawbacks of MVC, like for starters, by splitting code across three modules, you can make it more difficult for a reader to see the flow.

    I'd be hard-pressed to think of any programming technique that has absolutely no drawbacks. Someone who says that he cannot even imagine any situation where a given technique would be a bad idea is admitting that he either doesn't understand all the implications of the technique or that he doesn't have much imagination. Database normalization? Excellent idea, but surely we all know times when denormalization can simplify code or improve performance. Data hiding? Sure, but sometimes a variable is used in so many places and is so obviously generic that a public global is preferable to passing it up and down every parameter list in the system. Etc.

  • (cs) in reply to Maurits
    Maurits:
    real_aardvark:
    Tourist:
    ever heard of typedef's ?
    (Lose the green-grocers' apostrophe)

    That's not a greengrocers' apostrophe. It is acceptable to use an apostrophe before a plural "s" in cases where this removes ambiguity. I would include compiler keywords in such cases.

    http://en.wikipedia.org/wiki/Apostrophe#Use_in_forming_certain_plurals

    E.g., in a code review, I might say "consider replacing all of your fget's with fget_s" and I would heartily defend that apostrophe to the core of my eating-shoots-and-leaving being.

    (a) Read better authorities (Fowler et al spring to mind) (b) You are, I'm afraid, wrong (c) Itll' happen anyhoo. Us gots no choice. (d) Consider replacing 'fget' with 'fget_s.' Or did you mean, consider replacing 'fgets' with 'fget_s'? Or did you mean "I don't give a fuck whether there's an apostrophe or a plural or any other form of grammatical annoyance -- just type 'fget_s' whether it makes any sense or not?

    This is a terribly important question.

    (e) I'm guessing here, because Wikipedia is renowned throughout the academic world as an incorruptible authority par excellence -- and, of course, a simple URL link to such a treasure trove would immediately lead me to your point -- that you are referring to the following comment:

    "The apostrophe is often used in plurals of symbols. Again, since there can be no misreading, this is also regarded[who?] as wrong.[23] That page has too many &s and #s on it."

    You will find my answer to your assertion somewhere between your upper thighs and your lower abdomen. Don't squeeze too hard. Somebody might be listening.

  • Ville (unregistered) in reply to Jay
    Jay:
    I'm working on a reference book which I think might be valuable to many aspiring mathematicians: A List of Even Primes (Abridged Edition).

    One definition of even number is that it has integer factor 2. This naturally leads to certain limits on how many even primes can exist.

    If your book becomes succesful you should consider sequel called A List of Primes With Integer Factor 3 (Abridged Edition).

  • (cs) in reply to real_aardvark
    real_aardvark:
    (a) Read better authorities (Fowler et al spring to mind)
    Conventions are not formed by authorities, merely reported by them; as such they are constantly out-of-date. And by the way, "et al." has a period after "al".
    real_aardvark:
    (d) Consider replacing 'fget' with 'fget_s.' Or did you mean, consider replacing 'fgets' with 'fget_s'? Or did you mean "I don't give a fuck whether there's an apostrophe or a plural or any other form of grammatical annoyance -- just type 'fget_s' whether it makes any sense or not?

    Oops, bad example (the function name is fgets) - make that "Consider replacing sprintf's with sprintf_s'es"

    real_aardvark:
    (e) I'm guessing here, because Wikipedia is renowned throughout the academic world as an incorruptible authority par excellence -- and, of course, a simple URL link to such a treasure trove would immediately lead me to your point -- that you are referring to the following comment:

    "The apostrophe is often used in plurals of symbols. Again, since there can be no misreading, this is also regarded[who?] as wrong.[23] That page has too many &s and #s on it."

    I was actually referring to this: "An apostrophe is used by some writers to form a plural for abbreviations, acronyms, and symbols where adding just s rather than 's may leave things ambiguous or inelegant."

    Adding just s to a compiler token creates a different compiler token. Adding 's makes it clear that the thing preceding the apostrophe is the term, and that the s is not part of it.

  • anonymous (unregistered) in reply to Top Cod3r
    Top Cod3r:
    I purposely tried to make it complex so we could weed out developers who think they know everything but don't. ..., and the importance of naming your variables with a prefix that tells you what type it is. ...

    The last couple years, we have had problems with new developers questioning the code and methodology we use, so I decided to add some real-life questions with some actual code examples from our apps to make sure that they are willing to learn from my code and not think that they know it all.

    How'd you get in then? Oh wait, you do know it all, despite the insistence that Hungarian (or similar) notation isn't an idea that should have died long ago.

  • Péter (unregistered) in reply to real_aardvark

    Trivial to pronounce for some, for you maybe (or Top Cod3r). You can easily say "Gyagyás vagyok", right? "Mit sütsz, kis szűcs? Tán sós húst sütsz kis szűcs?"

    Let's then start the flame war over "Asiatic" languages: Hungarian belongs to the Finno-ugric subfamily of the Uralic family Turkish is a prominent member of the Turkic family.

    Bring it on!

  • Alex (unregistered)
    "Well," he responded, "there are times when '1' is prime, and times when it's not."

    If you are old, 1 is a prime. Basically, a bunch of mathematicians decided that for certain proofs to work they had to change the definition of prime numbers. I call that cheating; 2+2=5 for large values of 2.

  • Ville (unregistered) in reply to Alex
    Alex:
    If you are old, 1 is a prime. Basically, a bunch of mathematicians decided that for certain proofs to work they had to change the definition of prime numbers. I call that cheating; 2+2=5 for large values of 2.
    Number 1 being prime is not very eloquent in many aspects. Consider factoring any number. Like 18, would that be 1 * 1 * 1 * 1 * 1 * 1 * 1 * 2 * 3 * 3. Technically that might be okay, but not too useful.

    Changing an arbitrary definition to another arbitrary definition in order to make rest of the things simpler is not cheating in my opinion.

    The "certain proofs" you are referring to would work even if 1 was considered prime, their wording would just be a bit more cumbersome.

  • Aran (unregistered) in reply to Outlaw Programmer
    Outlaw Programmer:
    Marty McFly:
    I hope this does not affect my possible future employment with ------- in the past.

    Their problem was they weren't thinking fourth-dimensionally!

    They actually had the chance to hire The Doctor, and they missed out on it!

  • Jobsworth (unregistered) in reply to SarcasmFTW
    SarcasmFTW:
    You kinda have to assume that the first interview is for a position requiring a fair amount of mathematical knowledge. Because unless I have really fallen out of touch, knowing off the top of your head how to calculate the nth prime is not something everyone is expected to know how to do. Unless of course, they were expected the exhaustive search method, but if they were only expecting that, why even bother ask the question.
    I know about 4 different algorithms to calculate up the n-th prime: 2 sieve methods, one based on probability, and the Fermat test (which is actually for pseudoprimes). While I'm typing this comment, I just thought of a fifth: wgetting a primes list from the web, like http://primes.utm.edu/lists/small/1000.txt for the first 1000 primes, and parsing it in a bash script.

    Why do all the calculation if others have done it before you?

    CAPTCHA: ratis

  • Jobsworth (unregistered) in reply to real_aardvark
    real_aardvark:
    Incidentally, Hungarian Notation would be a seriously bad idea for Magyar.
    Because Magyar is an agglutinative language?
    real_aardvark:
    And the only advantage to the damn language is that it's trivial to pronounce (much like Turkish, if I may be permitted to start a small and obscure flame war over asiatic languages).
    If you are you referring to the hypothetical Uralo-Altaic language group (with Finnish, Estonian, Hungarian, Turkish, Mongolian, Korean, Japanese), the evidence is so thin and circumstantial, and so polluted with racial prejudices (because most linguist are from the Indo-European language group), that I call a Godwin.
  • eryn (unregistered) in reply to Vroomfundel
    Vroomfundel:
    Top Cod3r:
    the importance of naming your variables with a prefix that tells you what type it is

    WTF? Why don't you ask why Jesus is so much cooler than Buddha?

    it's different for everybody, i used to do this until i found that everybody was using different prefixs, so i just use suffixes now like SaveButton, NameTextBox, etc, its easier to remember the control/variable and i can choose the correct one (if there is more than one type of control with the same function, i.e. NameTextBox and NameLabel), using Intellisense that is.

    my 2cents, take it or leave it.

  • (cs) in reply to Jobsworth
    Jobsworth:
    real_aardvark:
    Incidentally, Hungarian Notation would be a seriously bad idea for Magyar.
    Because Magyar is an agglutinative language?
    real_aardvark:
    And the only advantage to the damn language is that it's trivial to pronounce (much like Turkish, if I may be permitted to start a small and obscure flame war over asiatic languages).
    If you are you referring to the hypothetical Uralo-Altaic language group (with Finnish, Estonian, Hungarian, Turkish, Mongolian, Korean, Japanese), the evidence is so thin and circumstantial, and so polluted with racial prejudices (because most linguist are from the Indo-European language group), that I call a Godwin.
    Hello, Mikey (a) G!

    Gosh, I forgot to mention the Nazis, didn't I? Naughty me. It's so obvious that I was associating Magyar and türkçe from an Aryan Nationalist point of view.

    Luckily you caught me at it. Silly me. I thought I was just talking about non-PIE languages, and assigning two of them the vague epithet of "asiatic."

    Love to know how the evidence is thin and polluted with racial prejudice, however. Even though I didn't mention it, and it's not remotely relevant to the fact that Turkish and Hungarian are not PIE, and I wasn't suggesting in any way, shape or form that Hungarian and Turkish share a recent common root; nor to the fact that both languages are pleasingly pronouncable (unlike, say, English), but ... Uralo-Altaic is a genuine and reasonable approximation for a linguistic group.

    I call dickhead.

  • (cs) in reply to Maurits
    Maurits:
    I was actually referring to this: "An apostrophe is used by some writers to form a plural for abbreviations, acronyms, and symbols where adding just s rather than 's may leave things ambiguous or inelegant."

    Adding just s to a compiler token creates a different compiler token. Adding 's makes it clear that the thing preceding the apostrophe is the term, and that the s is not part of it.

    Well, I see your point, and I can't deny that I make exactly the same distinction for exactly the same reason.

    I try to avoid it if there's any alternative recourse, however.

    The basic problem is that you and I are two amongst six billion people, many of whom speak English, and many of whom speak English as a second language. Misuse of the apostrophe is easy, because it's practically universal, for understandable reasons of convenience. But why stop there? Why not mangle any other part of language.

    Permit me once more to introduce my friend Larry Trask, who is far better qualified on the subject than I.

  • (cs) in reply to Chris
    Chris:
    int iValue;

    ... 20,000 lines later...

    Oops, we need to handle more widgets than we expected. Make iValue a 'long'.

    Now what do you do? Do you change every instance of 'iValue' to 'lValue'? How long will that take? Remember to include time for testing, documentation, etc.

    And here you come to one good reason TO use HN...

    So, you're not using HN, and you change

    int Value;

    to

    long Value; (easy, see, so why not do it?)

    Now, suddenly you get errors all over the place, for instance data persistence to binary files breaks, database storage problems occur (SMALLINT fields no longer work, and NUMERIC(5) fields do strange things), you get weird mathematical errors (long x = (long)Value * 50000) and so on.

    Having HN would at least make you think hard about changing the type of a variable without having tests in place.

  • (cs) in reply to Top Cod3r
    Top Cod3r:
    I like to start off with simple questions like the proper use of On Error Resume Next, and the importance of naming your variables with a prefix that tells you what type it is.

    The "importance" of naming your variables with a prefix that tells you what type it is? Do you mean the low-level data type? If so, that's a horrible idea, and it has been denounced many times. What if you need to change the type of the variable, do you rename it everywhere it's used?

  • CiH (unregistered) in reply to Me
    Me:
    Like assholes, everyone has one.
    Everyone has them.

    Pedantry in honor of Dennis Leary. Couldn't resist.

  • Joe (unregistered)

    Stargate Featurette

    http://stargate.mgm.com/specialops/link.php?urlid=9&id=5924

    An Official Stargate Special Ops Member

    http://stargate.mgm.com/specialops/link.php?urlid=10&id=5924

    An Official Stargate Special Ops Member

  • CiH (unregistered) in reply to Sam B
    Sam B:
    There's a point where if your satire or sarcasm is so veiled as to be undetectable, consistently, then it's just plain trolling.
    "Clattering with diction and dice, I outwit the solemn assistants: all those stern watchers shall my will and purpose elude.

    That no one might see down into my depth and into mine ultimate will--for that purpose did I devise the long clear silence.

    Many a shrewd one did I find: he veiled his countenance and made his water muddy, that no one might see therethrough and thereunder.

    But precisely unto him came the shrewder distrusters and nut-crackers: precisely from him did they fish his best-concealed fish!

    But the clear, the honest, the transparent--these are for me the wisest silent ones: in them, so profound is the depth that even the clearest water doth not betray it."

    --Nietzsche, Thus Spake Zarathustra

  • Pinkerton (unregistered) in reply to cfreak

    Your variables are directly accessible from files they're not actually defined in?

    You are the obvious master of encapsulation and scope.

  • TME (unregistered) in reply to A. Bear

    So basically that article is saying that... It depends.

  • Leonhard Euler (unregistered) in reply to John

    Let me get this straight - you don't know what Euler's identity is and consider yourself as have "excellent" math skills. Please tell me your a high school student.

  • Leonhard Euler (unregistered) in reply to Jobsworth
    Jobsworth:
    SarcasmFTW:
    You kinda have to assume that the first interview is for a position requiring a fair amount of mathematical knowledge. Because unless I have really fallen out of touch, knowing off the top of your head how to calculate the nth prime is not something everyone is expected to know how to do. Unless of course, they were expected the exhaustive search method, but if they were only expecting that, why even bother ask the question.
    I know about 4 different algorithms to calculate up the n-th prime: 2 sieve methods, one based on probability, and the Fermat test (which is actually for pseudoprimes). While I'm typing this comment, I just thought of a fifth: wgetting a primes list from the web, like http://primes.utm.edu/lists/small/1000.txt for the first 1000 primes, and parsing it in a bash script.

    Why do all the calculation if others have done it before you?

    CAPTCHA: ratis

    It's probably for a job with an encryption company.

  • Francisco (unregistered) in reply to El Duderino
    El Duderino:
    A Wizard a True Star:
    So, in which languages do you think Hungarian Notation would actually be useful?
    pI advActually vLove adjHungarian nNotation advSo adjMuch, pI vUse pIt advAll artThe nTime! pIt advSure vMakes nEnglish adjEasier prepTo vUnderstand. vImagine cIf pYou vHad prepTo vRead pThis prepWithout pIt. pYou vWould vHave adjNo nClue advWhat pThese nWords vMeant prepWithout pTheir nParts prepOf nSpeech!

    Considering the standard of education these days, some people may not.

    << slaps hand to forehead

    Oh no! I'm turning into an old fuddy duddy!

  • (cs) in reply to Robert Synnott

    There is nothing intrinsically wrong with using On Error Resume Next, if you handle errors. The problem is that too many VBScript/Classic ASP "programmers" litter their code with OERN, and then don't even bother to continuously check for errors, they just happily code away.

    Try dealing with over 1,000 ASP files, all of which use OERN, and trying to track down bugs in it. It's not a simple matter of just removing OERN, because the code doesn't work without it, due to the original programmer calling methods on objects before they're created or referencing variables that don't exist.

    It's a freaking nightmare. I could deal with it, if it was only done properly and not used as a crutch.

  • Francisco (unregistered) in reply to Aran
    Aran:
    Outlaw Programmer:
    Marty McFly:
    I hope this does not affect my possible future employment with ------- in the past.

    Their problem was they weren't thinking fourth-dimensionally!

    They actually had the chance to hire The Doctor, and they missed out on it!

    I think it was the Doctor's daughter (see Season 4 of the new set of Dr Who) as the Doctor would have got 100% first time and re-wrote the test to confound a Dalek so that he could deal with it. ;-)

  • Francisco (unregistered) in reply to lokey
    lokey:
    [...]

    Yes, like using any Microsoft product - definitely not: a) smart or b) the best way to increase productivity - but a definite win for marketing...

    I'm not going to get into an argument about the merits or otherwise of any platform, OS, etc, as my point is separate to that.

    If your employer has UNIX at work then you write scripts compatible with that, if your employer has Microsoft products then you write scripts compatible with that, if your employer has their own architecture...

  • (cs) in reply to real_aardvark
    real_aardvark:
    Permit me once more to introduce my friend Larry Trask, who is far better qualified on the subject than I.

    I note he lists this sentence as correct:

    It is very bad style to spatter e.g.'s and i.e.'s through your writing.

    He's doing the same thing as I am, just for literary jargon rather than technical jargon.

  • BOB (unregistered)

    The prime number one is really a trick queston -- it's impossible since there are complex numbers that are prime (Gaussian Primes) and Complex numbers are not ordered.

  • Dennis (unregistered) in reply to John

    Quite simply your knowledge of maths isn't excellent. e^i*Pi=-1 is highschool mathematics.

  • Paolone (unregistered) in reply to El Duderino
    El Duderino:
    A Wizard a True Star:
    So, in which languages do you think Hungarian Notation would actually be useful?
    pI advActually vLove adjHungarian nNotation advSo adjMuch, pI vUse pIt advAll artThe nTime! pIt advSure vMakes nEnglish adjEasier prepTo vUnderstand. vImagine cIf pYou vHad prepTo vRead pThis prepWithout pIt. pYou vWould vHave adjNo nClue advWhat pThese nWords vMeant prepWithout pTheir nParts prepOf nSpeech!
    varcharStill varcharCan't varcharSee varcharThe varcharPoint.
  • GregGregGregGregGregGregGregGregGregGreg (unregistered)
    Alex Papadimoulis:
    Dear Greg, I really apologize for taking the test so many times. Is it still possible to apply in the future?

    Sincerely, C------

    Dear C------, Please feel free to apply in the future. As soon as we receive your 140th application we will give it serious consideration. Really. Greg

Leave a comment on “It Depends & Too Good To Be True”

Log In or post as a guest

Replying to comment #:

« Return to Article