• 1 Post
  • 18 Comments
Joined 1 year ago
cake
Cake day: June 12th, 2023

help-circle



  • Lauchmelder@feddit.detoProgrammer Humor@lemmy.mlTrue Story
    link
    fedilink
    Deutsch
    arrow-up
    2
    arrow-down
    5
    ·
    4 months ago

    The reason is that header files are pretty much copy/pasted into your c files when you include them. so the code in them keeps getting recompiled for every c file, which drastically increases overall build times. If you only declare in the header and have one c file implementing the functions you compile them only once.



  • In my neovim setup I have basically the same functionality as vscode. with the added benefit of not having to reach for my mouse to navigate the cursor to a certain location. Vim has a steep learning curve, but all the hotkeys let you navigate way more quickly than you could with a mouse (or with arrow keys)

    Edit: By “same functionality as vscode” I mean file tree, quickly finding files by searching, fuzzy finding terms in the project, syntax highlighting, linting, intelli sense, and all the qol features the modern developer wants like auto-closing brackets etc. Really the main reason I use vim is just the hotkeys. I’ve gotten used to them and wouldn’t wanna go back to using my mouse that much. And ofc vim is a lot more lightweight than vscode













  • I tried and it was absolute hell. I used mail-in-a-box and the setup seemed to work but there was a bunch of issues with serving and syncing the e mails. none of the guides helped and in the end i thought if i were to get it working i wouldnt trust it very much. Can’t be sure it’ll be reliable or if it’s gonna be blacklisted because some weird E-Mail thing isnt set fully correctly.

    So it’s probably possible but I don’t think it’s worth the hassle