“then” is used to depict time, sequence or a causal relationship. “than” is used with comparative adjectives, to depict comparison.

  • 0 Posts
  • 3 Comments
Joined 2 years ago
cake
Cake day: November 12th, 2024

help-circle
  • Seems like you have the problem of ‘having your tools but not knowing how to use them’.

    Perhaps start with something very basic.
    Make a simple interactive program that does +, -, ×, ÷.
    No need for fancy GUI. Let it ask: “What do you want to do? 1. + 2. - 3. × 4. ÷ 5. exit” When the user enters one of the numbers, then you ask for the operands and then you give the result.

    The important part is to do it all by yourself.
    Don’t use an IDE. A simple text editor will do. i.e. write all the boilerplate yourself. There is a meaning to it. It only becomes boilerplate because it is the default way to do things.
    No need to use a build system. Just make it in a single file and call the compiler command yourself. Or the interpreter, if it is an interpreted language.

    If it is Python you want to use, don’t use PyCharm or what not.
    If you are on Linux, just open a terminal and type python3 (assuming it is installed). If on Windows, use IDLE.

    In case of C++, just write in a normal text editor and the call g++ or mingw.

    Make sure to complete this simple little thing all by yourself.
    After a while you’ll see yourself getting ideas, mental pathways unblocking and you being able to convert logic to code.