Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. Worst day of the year so far

Worst day of the year so far

Scheduled Pinned Locked Moved The Lounge
csharpcomquestion
6 Posts 6 Posters 1 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L Offline
    L Offline
    leppie
    wrote on last edited by
    #1

    Had to deal with other people's broken code which is in a closed (source) library... (dont ask, I dont*, I just do the work I get paid for) And then you would expect a function like Rollback() to work, but no... After viewing the code via ILSpy, I realized just how wrong an implementation of a 'UnitOfWork' transaction this was. Ended up re-inventing the wheel, and wrote my own Rollback code. Very sad. At least I dont have to rely now on what should have been called a 'UnitOfTurd'. * I might seriously injure the original coders if I had to deal with them directly

    IronScheme
    ((λ (x) `(,x ',x)) '(λ (x) `(,x ',x)))

    E S P 3 Replies Last reply
    0
    • L leppie

      Had to deal with other people's broken code which is in a closed (source) library... (dont ask, I dont*, I just do the work I get paid for) And then you would expect a function like Rollback() to work, but no... After viewing the code via ILSpy, I realized just how wrong an implementation of a 'UnitOfWork' transaction this was. Ended up re-inventing the wheel, and wrote my own Rollback code. Very sad. At least I dont have to rely now on what should have been called a 'UnitOfTurd'. * I might seriously injure the original coders if I had to deal with them directly

      IronScheme
      ((λ (x) `(,x ',x)) '(λ (x) `(,x ',x)))

      E Offline
      E Offline
      Ennis Ray Lynch Jr
      wrote on last edited by
      #2

      I have a VB6 code base that is about to be migrated. The Reset Wind button does one thing ... Update someTable SET LATITUDE = 0, LONGITUDE =0; And no, someTable has nothing to do with wind.

      Need custom software developed? I do custom programming based primarily on MS tools with an emphasis on C# development and consulting. I also do Android Programming as I find it a refreshing break from the MS. "And they, since they Were not the one dead, turned to their affairs" -- Robert Frost

      N 1 Reply Last reply
      0
      • L leppie

        Had to deal with other people's broken code which is in a closed (source) library... (dont ask, I dont*, I just do the work I get paid for) And then you would expect a function like Rollback() to work, but no... After viewing the code via ILSpy, I realized just how wrong an implementation of a 'UnitOfWork' transaction this was. Ended up re-inventing the wheel, and wrote my own Rollback code. Very sad. At least I dont have to rely now on what should have been called a 'UnitOfTurd'. * I might seriously injure the original coders if I had to deal with them directly

        IronScheme
        ((λ (x) `(,x ',x)) '(λ (x) `(,x ',x)))

        S Offline
        S Offline
        Slacker007
        wrote on last edited by
        #3

        leppie wrote:

        'UnitOfTurd'.

        That deserves a fiver. :) :thumbsup:

        "the meat from that butcher is just the dogs danglies, absolutely amazing cuts of beef." - DaveAuld (2011)
        "No, that is just the earthly manifestation of the Great God Retardon." - Nagy Vilmos (2011) "It is the celestial scrotum of good luck!" - Nagy Vilmos (2011) "But you probably have the smoothest scrotum of any grown man" - Pete O'Hanlon (2012)

        1 Reply Last reply
        0
        • E Ennis Ray Lynch Jr

          I have a VB6 code base that is about to be migrated. The Reset Wind button does one thing ... Update someTable SET LATITUDE = 0, LONGITUDE =0; And no, someTable has nothing to do with wind.

          Need custom software developed? I do custom programming based primarily on MS tools with an emphasis on C# development and consulting. I also do Android Programming as I find it a refreshing break from the MS. "And they, since they Were not the one dead, turned to their affairs" -- Robert Frost

          N Offline
          N Offline
          Nagy Vilmos
          wrote on last edited by
          #4

          Ennis Ray Lynch, Jr. wrote:

          The Reset Wind button

          Very useful after a curry.


          Panic, Chaos, Destruction. My work here is done. Drink. Get drunk. Fall over - P O'H OK, I will win to day or my name isn't Ethel Crudacre! - DD Ethel Crudacre I cannot live by bread alone. Bacon and ketchup are needed as well. - Trollslayer Have a bit more patience with newbies. Of course some of them act dumb - they're often *students*, for heaven's sake - Terry Pratchett

          T 1 Reply Last reply
          0
          • L leppie

            Had to deal with other people's broken code which is in a closed (source) library... (dont ask, I dont*, I just do the work I get paid for) And then you would expect a function like Rollback() to work, but no... After viewing the code via ILSpy, I realized just how wrong an implementation of a 'UnitOfWork' transaction this was. Ended up re-inventing the wheel, and wrote my own Rollback code. Very sad. At least I dont have to rely now on what should have been called a 'UnitOfTurd'. * I might seriously injure the original coders if I had to deal with them directly

            IronScheme
            ((λ (x) `(,x ',x)) '(λ (x) `(,x ',x)))

            P Offline
            P Offline
            peterchen
            wrote on last edited by
            #5

            leppie wrote:

            (dont ask, I dont*, I just do the work I get paid for)

            Nothing to be ashamed of, really. All you open source hippos: go, yu need a shower.

            FILETIME to time_t
            | FoldWithUs! | sighist | WhoIncludes - Analyzing C++ include file hierarchy

            1 Reply Last reply
            0
            • N Nagy Vilmos

              Ennis Ray Lynch, Jr. wrote:

              The Reset Wind button

              Very useful after a curry.


              Panic, Chaos, Destruction. My work here is done. Drink. Get drunk. Fall over - P O'H OK, I will win to day or my name isn't Ethel Crudacre! - DD Ethel Crudacre I cannot live by bread alone. Bacon and ketchup are needed as well. - Trollslayer Have a bit more patience with newbies. Of course some of them act dumb - they're often *students*, for heaven's sake - Terry Pratchett

              T Offline
              T Offline
              Tom Delany
              wrote on last edited by
              #6

              Nagy Vilmos wrote:

              Ennis Ray Lynch, Jr. wrote:

              The Reset Wind button

              Very useful after a curry.

              I was thinking perhaps it prepared for the Break Wind button.

              WE ARE DYSLEXIC OF BORG. Refutance is systile. Your a$$ will be laminated. There are 10 kinds of people in the world: People who know binary and people who don't.

              1 Reply Last reply
              0
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              • Login

              • Don't have an account? Register

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • World
              • Users
              • Groups