not saying it’s good design, I ditched C++ long ago. at least the C++20 modules API is gonna fix this, right guys?
not saying it’s good design, I ditched C++ long ago. at least the C++20 modules API is gonna fix this, right guys?
pretty sure the meme is about how the implementation looks ugly but using the implementation looks good because all the code is abstracted away. if it was like you said then why would they compare the code to the main.cpp
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.
Why are you putting the implementation in the .h file? You’re supposed to declare in the header and implement in the .cpp files. The meme is reversed
Dies, ich verstehe nicht wann ich einen Text mit der Formatierung der Quelle in mein Word Dokument einfügen wollen würde, was ja höchstwahrscheinlich anders formatiert ist…
exakt, wie jemand anderes hier schon geschrieben hat ist das nur ein totschlagargument
laut dem artikel liegt das daran dass polizisten sich aktuell um die israeliten in berlin kümmerm müssen und keine Zeit haben sich mit aktivisten zu befassen. der logische schluss ist dass die aktivisten israeliten gefährden, scheinbar
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
The appeal of vim is actually the opposite of just fast typitg speed. Vim’s default mode is one where you can’t type, you can only edit. The reasoning is that when coding as you said, you tend to think more and edit existing code, rather than writing completely new code. I find that vim has a lot more features for navigating and editing code than any other editor
Tatsächlich habe ich bei meiner Firma einen Anstoß in die Richtung machen können. Wir benutzen das FFI um aus unserer C Codebase heraus Rust Funktionen aufzurufen. Ist super praktisch bei high-level Dingen, also parsing uns sowas.
Aber im Herzen sind wir alle C
Edit: und good luck eine Firma zu finden die Rust Entwickler sucht lol. Die Erfolgschancen stehen besser in eine C Firma zu gehen und dann Rust dort einzuführen
Klingt irgendwie so als ob Firmware Entwicklung was für dich wäre? Entweder das oder Embedded Entwicklung.
Wobei man da nicht wirklich konkret mit Linux zu tun hat, man hat eher mit C zu tun und ab und zu interagiert man dann mit dem Linux kernel. Aber die meisten Berufe in denen man mit C entwickelt sind eher Linux-seitig angesiedelt.
“Certain people in France do this too, so this should be universally accepted behaviour. I am really smart”
Browse link aggregator website. Complain about links being aggregated
I’ll give that a shot! OneNote is literally unusable since the last Windows update because the on-screen keyboard keeps popping up everytime I touch the screen. then it goes away immediately and leaves a bugged white rectangle on the canvas
OneNote on my foldable laptop. I use it to take notes in uni simply because it’s the best option out of all the ones I’ve tried. I like OneNote’s stabilization and infinite canvas. What annoys me tho is that you cannot set the canvas to paged, so if you’re planning on exporting to pdf you have no idea where the page boundaries are.
With the last Windows 11 update they fucked it up tho and now the app is garbage anyways
still using things like Google Chrome or Chromebooks in 2023 is actually reckless behaviour. stuff like manifest v3 and the web integrity api just prove that google will use their monopoly to take over the open internet
I wouldn’t exchange my neovim config for anything. After getting used to how vim works and installing all the plugins I need, I feel like this is my favourite editor. It looks nice and I enjoy using keyboard shortcuts over using a mouse.
That said, the day I lose my neovim config is the day I die. If it disappears I’m doomed
Not just for devices but also my hard drives, I use the names of stars. For example Rigel or Betelgeuse
I’ll give it a shot :) If I manage to make something useful I’ll share it
truly spoken like someone who has never worked on a large C/C++ project