Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 206605
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T17:39:40+00:00 2026-05-11T17:39:40+00:00

Whilst working on some generally horrible Javascript code this morning, I came across the

  • 0

Whilst working on some generally horrible Javascript code this morning, I came across the following (in multiple places):

// make moveAmount negative
moveAmount = moveAmount - (moveAmount * 2);

I sit directly across from the guy that wrote this; he’s been a developer here for seven years. I, on the other hand have just started, am pretty junior and don’t claim to know jack.

Nevertheless it has got me wondering about the guy’s contortions of simple logic after so many years developing software.

My question is what view others here might take of the overall competancy of a developer that wrote this (3 weeks ago), or does it even reflect at all?

Would anyone point out the convolution?

I, myself, work in constant dread that such judgements be made of me.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-11T17:39:40+00:00Added an answer on May 11, 2026 at 5:39 pm

    Simple solution: Show him the line of code and ask why he did it. It’s an opportunity for both of you to learn something. Maybe there was a bug in a browser or some other issue (rounding comes to mind) so the code might break without this. Or he made a mistake. Either way, asking will clear this up.

    And while you’re right that other people will judge you from the code they see from you, that is not the only thing they take into consideration (and if it is, then you’re working at the wrong place — leave while you’re still sane). They will also see when you’re polite, curious, helpful.

    These things count more than the code you write: Code can be fixed much more easily than angry co-workers.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Whilst trawling through some old code I came across something similar to the following:
Whilst refactoring some code I came across some getter methods that returns a std::string.
Whilst analysing some legacy code with FXCop, it occurred to me is it really
Whilst refactoring some old code I realised that a particular header file was full
Whilst refactoring some legacy C++ code I found that I could potentially remove some
I am currently working on some Java code that has a lot of ActionListeners
I have been working with the following code published on msdn: http://msdn.microsoft.com/en-us/library/fx6588te.aspx I understand
Whilst working on a recent project, I was visited by a customer QA representitive,
Whilst trying to get our app working in Firefox (I'm a big proponent of
Whilst starting to learn lisp, I've come across the term tail-recursive . What does

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.