How do Programmers actually Program their software or a thing?

So when I was scripting a long time ago, I asked myself how did these scripters script their software or other things without even getting a bug or fixing a bug easily and just today I realized that it took them alot of time just to make these things so ill tell it to you 1 by 1

tbh I use this method just to actually successfully script my systems
this can be applied to other things as well
its also a short tutorial too

1. Think of how the Software or Thing Works

Before scripting the thing you should already know how this thing works, why? because if you don’t know how it works you can’t simply make it if you don’t know how it works

Here is an Example Logic:
Inventory System Functions:

  • Listing Weapons
  • Equipping Weapons
  • Unequipping

Simply the functions of the thing is really important for the next step because you will have no clue of how you can code the functions within that System that you are thinking about

2. Planning on HOW to Code it

So Planning on HOW to Code it is a vital part of your scripting career even the best programmers plan on how to make their systems to work, without planning on how to make your system work it can be unorganized not working etc.

For Reference:
Planned You vs Unplanned You

Planned You:
Ready to work on code tomorrow without even the hassle of Planning it since it’s already prepared and just needed to be coded

Unplanned You:
Not Ready to write code tomorrow the system needs planning which could take days or even weeks to make a great plan for it

Planning should not be rushed but rather than polished and good quality

3. Code the System

Basically the final one after the 2 Steps code the system, if you are going to code alot of system just give your friend or developer some tasks like programming the systems you will give but they just need to be an programmer and if you are alone finish it 1 by 1

Thanks,
FerbZides

6 Likes

Hi I’ve a question, when devs plan code out before actually scripting them out, do you/they physically write the code on a piece of paper beforehand or is all of it in the head?

I normally write from the top of my head not sure what other programmers do.

2 Likes

In this context I wouldn’t really call a game a software. I like to think of software as applications like photo editors, game engines, that kind of thing.

Speak for yourself – all my code is improvised and it works just fine :stuck_out_tongue:

6 Likes

Nice Question, The Answer is no you write some sample code before trying to actually writing it

I usually just think of psuedocode in my head in pictures when I’m making stuff.

3 Likes

I just start coding it without any planning.
I just check what I need to do, then I think how to do it and the logic behind it and then I start with it.

The post is trying to convey how a system architect would collaborate with a software engineer in implementing a system design.

TBH, these are all vague but true instructions on how one could write code with the least amount of bugs. Abstractly go through what kind of datastructures you’re going to use, how tasks are handled, make analysis of risks, solve problems and etc. And then how you write each of those things also could come into play. However, this is very overkill, in a professional environment, it may be what you need to do but on Roblox, that’s not that big of an issue just yet. I wouldn’t expect kids to adher this kind of workflow.