He/Him | Hu/En/some Jp | ASD | Bi | C/C++/D/C#/Java
- 11 Posts
- 146 Comments
Good, now invent a keyword for variables you don’t want to declare the type.
auto
. Also in D, you only needconst
if you don’t want to specify a type for a constant, the compiler automatically inferres it to you.Function declarations can be easily decyphered from context, no problem.
ZILtoid1991@lemmy.worldto Programmer Humor@programming.dev•No, we have SRE at home... SRE at home:92·2 days agoI can draw programmer comedy at a relatively high speed, at no greater cost of water, power, etc., than I’m already using to live.
Speaking of which, I probably should draw some of my ideas…
We need to bring back system development! Not everything needs to be an electron app!
That’s why you self-host!
ZILtoid1991@lemmy.worldto Programmer Humor@programming.dev•Fox news trying to explain github.1·8 days agoSopposotoro
ZILtoid1991@lemmy.worldto Programmer Humor@programming.dev•Types of development but more realistic71·10 days agoFunctional: car, but without moving parts.
What no type safety does to an MF…
That’s like:
Car with the dashboard and the switches all ripped out >>>>> A normal car >>>>> A stereotypical Arab sheik car, with a solid gold dashboard and a fancy infotainment system
Kate >>>>> Vi$ual$tudio
Rust: you’re an annoying nerd
D: you’re a nonexistent nerd
Weirdly enough, when someone asked an LLM for an OpenGL grievance for me, first it just recommended to use GLFW or SDL for the task, both of which I didn’t want to use (GLFW controller handling🤮), after that they got an answer that just bugged out on most WM.
You’re young. Back in my day, we bought a book called “Advanced Algorithms for C vol. 3”, and we manually typed the code from it if it didn’t come with a CD.
ZILtoid1991@lemmy.worldOPto Programmer Humor@programming.dev•You can't "skill issue" yourself out from every situation81·26 days ago"Trust me bro, after you spend 342786 hours learning GDB, you’ll be able to write scripts that will be able to test you programs for regressions and stuff, but only if you write command-line utilities in the first place, and if you needed a GUI for more real time stuff, then you’re a soyboy <insert various slurs here>!
ZILtoid1991@lemmy.worldOPto Programmer Humor@programming.dev•You can't "skill issue" yourself out from every situation8·26 days agoFrom what I’ve heard from devs who touched GTK/Gnome, that iskind of caused by the GTK devs.
ZILtoid1991@lemmy.worldOPto Programmer Humor@programming.dev•You can't "skill issue" yourself out from every situation363·26 days agoCounterpoint: Blender, once they stopped trying to dismiss critique of its formerly godawful UX as a “skill issue”. I even saw Blender users looking into alternatives the moment Blender wasn’t awful to use, because they no longer could be special little snowflakes for using a piece of software, as “normies” started to “invade” their community.
It’s fiction, so it’ll have differences from reality.
In speulative fiction, the only rule is to make it interesting for whoever consuming it.
That’s why I primarily use booleans in return parameters, beyond that I’ll try to use bitfields. My game engine’s tilemap format uses a 32 bit struct, with 16 bit selecting the tile, 12 bit selecting the palette, and 4 bit used for various bitflags (horizontal and vertical mirroring, X-Y axis invert, and priority bit).
We should host a parody (online) conference, where we talk about things we know jackshit about, but if we were experts.
So is
let
in some languages. In Rust, you have to constantly opt out from immutability withlet mut
, which makes writing more procedural code feel like you’re fighting with the compiler, and otherwise I don’t really see the rationale behind full functional coding. I only had a bug caused only once by unwanted mutation, the hardest part fixing it was to learn the proper use of my debugger tool.