[–] 3 points 6 days ago

Yeah. They all use the same text editor library.

KWrite has a very small amount of features (which is still way more than Notepad though). It still has syntax highlighting and stuff. I would recommend it if you are editing stuff like grub/sshd configuration files or reading log files.
Kate has a "Sessions" thingy, unless you are on Debian 12 or older. So when you want to open a directory as a project and save some metadata of your session, this is a good idea. Also, proper LSPs and stuff.

KDevelop is fully meant for programming, using build systems and such. It does require a fair bit of configuration on the first time though. So if you have a CMakeLists.txt in your project, you can use this thing to make your work easier. It works with other build systems too, I just didn't try them out.

  • source
  • parent
  • context
  • [–] 4 points 6 days ago

    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.

  • source
  • [–] 3 points 6 days ago (2 children)

    Interesting. I use Kate for the same type of projects.
    Except that web development is something I hardly do, so I just need something simple.
    Similarly, for the occasional Python script or some other language that I rarely use, I go with Kate.

    For markdown, I prefer KWrite.

    I mainly do C and C++ and for those I have KDevelop and Qt Creator.
    For Rust, it would be KDevelop. I haven't looked into whether Qt Creator has any special Rust support.

  • source
  • [–] 5 points 1 week ago

    I was just recently talking about this with a colleague, who in the end, just said "Windows is better".
    Guess now KDE is better. Or has Windows fixed that problem too? (in that case it was kinda sporadic).

  • source
  • [–] 2 points 1 week ago

    Isn't buying pre-baked bread usually more expensive than raw ingredients?

    Anyway, what's more important is that you have enough energy for your everyday life.
    As long as you don't start feeling weak at any time of the day, even lower weight should be pretty fine.

    If your lack of weight is due to heavy physical labour, you can check if glucose powder has a higher calorie count per $ as compared to bread in your area.
    Remember though, glucose powder will mean even lesser essential nutrients, so take the advice of bean people. Dehydrated beans should be cheaper than canned ones. It will take longer to prep for eating though. And simple stuff like ginger, garlic and onion can make the thing way more appetising.

  • source
  • [–] 1 point 1 week ago

    clang format only serves to make code unreadable.

    Looks like this person hasn't seen how badly some people will format their additions to a codebase.

    But yeah, it does serve as a good way to get rid of multiple break-times every time an update is required.

  • source
  • view more: next ›