Welcome to BeerMoneyForum.com - BIGGEST MAKE MONEY FORUM ONLINE

Join us now to get access to all our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, and so, so much more. It's also quick and totally free, so what are you waiting for?
Blue
Red
Green
Orange
Voilet
Slate
Dark
  Guest viewing is limited

What To Do When Your Code Is Not Working

happietappy

Gold Member
LV
0
 
Joined
Jul 18, 2018
Messages
455
Reaction score
133
Points
50
Location
Somewhere
BMF Points
$94
Rating - 0%
0   0   0

One frustrating thing about computers is that they take what instructions given to them whether malicious or otherwise. It can be a really frustrating moment for computer programmers when certain code is not giving desired output or failing to compile due to wrong set of instructions. Here are things you can consider doing whenever your code is failing.

Seek For Help:
There's a great chance that you are not the only experiencing such issue, try searching for the error you are getting on search engines or posting your issue to developers forum. One thing you can also do is looking for open source implementation of what you are trying to achieve, chances are that you might be missing some steps.

Take A Break:
This is quite important cause chances are that you are burned out after spending hours coding. Take a break, relax, go for a walk, eat or take a shower. You will see that gradually ideas / solutions will start flowing in.

Have A Chat With Rubber Ducky:
This might sound silly but find a rubber ducky and explain to it what you are trying to implement and the problem you are currently facing, like magic you will start seeing solutions (this might not work in some cases).

Those are some of the things you can do when your code is failing, will love to know what you do when your code is failing.
 
Nice advice. Sometimes one missing bracket can make a lot of errors. I often check use syntax checkers for find errors. It's very helpful. Some meme related to topic.
48193
 
You have some good points but it's worth mentioning that you can often solve the problem yourself simply by reading the error message. I see too many people that go straight to the internet for help when their code isn't working, even though they could easily have solved it themselves.
 
You have some good points but it's worth mentioning that you can often solve the problem yourself simply by reading the error message. I see too many people that go straight to the internet for help when their code isn't working, even though they could easily have solved it themselves.
Obviously that should be the first thing you should do. I was assuming it was very obvious that's why i didn't include it. The method i listed are for situations when error output are vague and unhelpful, or situations where code is not working as expected e.g due to wrong implementation of algorithm.
 
Woah this is some very useful and interesting advice and I will make sure to implement the tips you have given here in the near future! Loved the rubber duck part haha!
 
i donnot code too much my friend maybe one time two time every month but my goodest friend he is big programmer everytime everyday programming. when hes code not work he use some software or some app like that to fix the code
Hey there, yeah I agree there are some Softwares that some programmers use to identify. monitor, reduce and debug errors in the code such as a source code. One such example is the software Lint
 
If your code do not work after doing much struggle so stop working and if you are a smoker so just have 2 or 3 cigarettes and stop thinking about the error or bug of your code, just feel relax for sometime and then come to your work, definitely you will be able to find the error easily and you will laugh at yourself that it was just a minor mistake.
 
what i always do when something wrong happens is that i review my steps back ( kind of similar to rewriting the code except that you re-read it with your eyes only )
 
There are many only websites specially made for coding-related details and troubleshooting your code!
Don't hesitate to visit them!
 
You should know that it is completely normal whenever your code is not working and as such you should not be hard on yourself as even the most experienced programmers sometimes forget to put that comma. There are a lot of tools online that can be able to scan your code and then tell you what is wrong depending or you can screenshot it and post it online.
 
Error messages frequently offer useful hints regarding what went wrong. Read the error message carefully to determine the nature of the issue and the section of your code that is to blame.
 
Oh, this is a common problem that many developers face! When your code isn't working, it's important to take a step back and try to identify the problem. First, try to narrow down the issue by running the code in a debugger and looking for errors or unexpected behavior. Then, look for clues in the error messages and the code itself. If all else fails, you can try asking for help from other developers or searching online for solutions.
 
One of the first thing I do is checking syntax error. There is plenty free code validators for all programming languages. Second step is google error message and using documentation solve it. If documention can't help me I go to stackoverflow solutions.
 

📢 Recommended Partners

MGID - Native Performance & Programmatic Advertising Platform MGID Team
0.00 star(s) 0 ratings
Updated
Roobet.com | Crypto’s Fastest Growing Casino 🦘 Roobet.com
0.00 star(s) 0 ratings
Updated
Duckdice.io - Top Crypto Gambling - Bitcoin Dice DuckDice.io
0.00 star(s) 0 ratings
Updated
BMFAds.com - Advertise and Monetize Your CPC, CPM, POP Traffic BMF Staff
4.00 star(s) 4 ratings
Updated

banner

REWARDS: Active Raffles


  • 🤑 Roll 3: Win 100,000 BMF Points!

    The entry period for this raffle ends in..
Back
Top Bottom

Earnings Disclaimer:  All the posts published herein are merely based on individual views, and they do not expressly or by implications represent those of BeerMoneyForum.com or its owner. It is hereby made clear that BeerMoneyForum.com does not endorse, support, adopt or vouch any views, programs and/or business opportunities posted herein. BeerMoneyForum.com also does not give and/or offer any investment advice to any members and/or it's readers. All members and readers are advised to independently consult their own consultants, lawyers and/or families before making any investment and/or business decisions. This forum is merely a place for general discussions. It is hereby agreed by all members and/or readers that BeerMoneyForum.com is in no way responsible and/or liable for any damages and/or losses suffered by anyone of you.