Win a copy of 97 Things Every Java Programmer Should Know this week in the Java in General forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Jeanne Boyarsky
  • Junilu Lacar
  • Henry Wong
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Frits Walraven
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • salvin francis
  • fred rosenberger

Three Great Lies

 
Marshal
Posts: 69422
276
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
We have doubtless all been told one of the Three Great Lies:-
  • 1: Somebody's on their way to help you already.
  • 2: The cheque's in the post.
  • 3: The equals method is easy to write.
  • Am I quite right about No 3? Does anybody know the correct version for No 3?
     
    Sheriff
    Posts: 7616
    522
    Mac OS X VI Editor BSD Linux
    • Likes 1
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator

    Campbell Ritchie wrote:Am I quite right about No 3?

    No!

    Everybody on this planet knows, that if there is something easy about those (not this), then: "easy to override equals() AND hashcode()".

    In nowadays, there's another one lie we hear often enough: "will fix indentation later"
     
    Sheriff
    Posts: 4868
    317
    IntelliJ IDE Python Java Linux
    • Likes 1
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator
    Or more generally "Will fix <insert short cut> later", when we all know that later means never.
     
    Saloon Keeper
    Posts: 22118
    151
    Android Eclipse IDE Tomcat Server Redhat Java Linux
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator
    Four Great Lies:

    4. It's simple! All You Have To Do Is...
     
    Tim Cooke
    Sheriff
    Posts: 4868
    317
    IntelliJ IDE Python Java Linux
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator
    Oh that well known falseness: Small matter of programming
     
    Tim Holloway
    Saloon Keeper
    Posts: 22118
    151
    Android Eclipse IDE Tomcat Server Redhat Java Linux
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator
    Actually, SMOP is a subset of AYHTDI.

    AYHTDI is also heard when servers need upgrading, cables need to be run, and software needs to be updated or replaced. In other words, virtually any IT work.

    It's close relative is "Oh, I see you've got the sample webpages to display. You can have the rest of the system done and in production by Thursday, right?"

    And its deadly evil twin, thoughtlessly uttered by the developers themselves: "All I Have To Do Is..."
     
    Tim Cooke
    Sheriff
    Posts: 4868
    317
    IntelliJ IDE Python Java Linux
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator
    One of my project managers has a bad habit of saying things like "It shouldn't take long" or "It should just be a case of doing...". Worse is when I overhear those words being delivered to our product stakeholders before I've even had a chance to evaluate the problem.

    In a previous company our development team manager and lead engineer had a rather heated disagreement with some project managers about a work estimate he'd provided because they believed the Proof of Concept system written by another team would account for 80% of the final production ready product. There was profuse objection when told the PoC worked for a narrow set of use cases but the quality was such that none of it could be used in production. Egos were bruised and strops were had. Bad times.
     
    Campbell Ritchie
    Marshal
    Posts: 69422
    276
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator

    Liutauras Vilda wrote:. . . "will fix indentation later"

    I thought that was a username; everybody on BJ has that username.
     
    Tim Cooke
    Sheriff
    Posts: 4868
    317
    IntelliJ IDE Python Java Linux
    • Likes 2
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator
    "Please just give me the code for my assignment due in 3 hours time. I'll learn how it works later."

    Right. Sure you will.
     
    Sheriff
    Posts: 67401
    173
    Mac Mac OS X IntelliJ IDE jQuery Java
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator
    They all come under the single great lie:

    Trust me!

     
    Tim Cooke
    Sheriff
    Posts: 4868
    317
    IntelliJ IDE Python Java Linux
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator
    Just right Bear. Like a codebase with no tests.
     
    Campbell Ritchie
    Marshal
    Posts: 69422
    276
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator

    Tim Cooke wrote:. . . no tests.

    How peculiar; everybody on BJ has that username, too.
     
    author & internet detective
    Posts: 39996
    807
    Eclipse IDE VI Editor Java
     
    Bartender
    Posts: 3959
    155
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator
    You have three great lies, three damned great lies and you have statistics.
     
    Campbell Ritchie
    Marshal
    Posts: 69422
    276
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator

    Piet Souris wrote:. .  . and you have statistics.

    Surely that means three statistics.
     
    I am not young enough to know everything. - Oscar Wilde This tiny ad thinks it knows more than Oscar:
    Devious Experiments for a Truly Passive Greenhouse!
    https://www.kickstarter.com/projects/paulwheaton/greenhouse-1
      Bookmark Topic Watch Topic
    • New Topic