@kiri@ani.social to Programmer Humor@programming.dev • edit-23 days agoC++ani.socialimagemessage-square90fedilinkarrow-up1799arrow-down115file-text
arrow-up1784arrow-down1imageC++ani.social@kiri@ani.social to Programmer Humor@programming.dev • edit-23 days agomessage-square90fedilinkfile-text
minus-square@Gladaed@feddit.orglinkfedilink1•2 days agoIf you tell the Compiler to be careful and avoid writing c code c++ does not segfault. This is a user error. You can technically even write Assembler code and compile with gpp.
minus-square@T156@lemmy.worldlinkfedilinkEnglish6•1 day agoDoes it count as user error if the user has to micromanage the compiler?
minus-square@Gladaed@feddit.orglinkfedilink1•20 hours agoYes. Unless you have a really good reasons there are safe and portable versions you should use instead.
If you tell the Compiler to be careful and avoid writing c code c++ does not segfault. This is a user error.
You can technically even write Assembler code and compile with gpp.
Does it count as user error if the user has to micromanage the compiler?
Yes. Unless you have a really good reasons there are safe and portable versions you should use instead.