There have been multiple accounts created with the sole purpose of posting advertisement posts or replies containing unsolicited advertising.

Accounts which solely post advertisements, or persistently post them may be terminated.

programmer_humor

This magazine is from a federated server and may be incomplete. Browse more on the original instance.

sparkle , (edited ) in new preference war just dropped

in general, adjectives and verbs after nouns because it’s more organized/easier to search/filter. as god intended.

victorz , in Saw 37 the software Dev

Learn JavaScript. It’s a pretty good language. 👍

nomadjoanne , in new preference war just dropped

Romance language word order noun_descriptor is the right way.

Thcdenton , in Not really sure whether S-expressions or Python indentation-based scoping get more hate...

I like them both. But I only use lisp for fun.

FiskFisk33 , in Not really sure whether S-expressions or Python indentation-based scoping get more hate...
Laylong , in Not a Number

cost = “arm” + “leg”;

Swedneck , in Not a Number
@Swedneck@discuss.tchncs.de avatar

lidl quality

ZILtoid1991 , in Perpetual Motion finally achieved!

I’m a D developer, this wouldn’t work for me. Hell, I can even in theory directly interact with C++ code from my language of choice, except I still haven’t. I have started to write a binding (and some nice D-style API) for Wasmtime, which is written in Rust.

ricdeh , in Perpetual Motion finally achieved!
@ricdeh@lemmy.world avatar

Man, I love this template 😍

PoolloverNathan , in The easiest problem

I present to you quality variable names. (and a Mount Rustmore)


<span style="color:#323232;">(Reconfigure(f), </span><span style="color:#183691;">'c'</span><span style="color:#323232;">) </span><span style="font-weight:bold;color:#a71d5d;">=> </span><span style="color:#323232;">{
</span><span style="color:#323232;">    </span><span style="font-weight:bold;color:#a71d5d;">let mut</span><span style="color:#323232;"> p: Vec<</span><span style="font-weight:bold;color:#a71d5d;">&str</span><span style="color:#323232;">> </span><span style="font-weight:bold;color:#a71d5d;">= </span><span style="color:#323232;">vec![];
</span><span style="color:#323232;">    </span><span style="font-weight:bold;color:#a71d5d;">loop </span><span style="color:#323232;">{
</span><span style="color:#323232;">        </span><span style="font-weight:bold;color:#a71d5d;">match</span><span style="color:#323232;"> args.</span><span style="color:#62a35c;">next</span><span style="color:#323232;">() {
</span><span style="color:#323232;">            </span><span style="color:#0086b3;">Some</span><span style="color:#323232;">(k) </span><span style="font-weight:bold;color:#a71d5d;">=> </span><span style="color:#323232;">{
</span><span style="color:#323232;">                </span><span style="font-weight:bold;color:#a71d5d;">if</span><span style="color:#323232;"> k </span><span style="font-weight:bold;color:#a71d5d;">== </span><span style="color:#183691;">"=" </span><span style="color:#323232;">{
</span><span style="color:#323232;">                    </span><span style="font-weight:bold;color:#a71d5d;">match</span><span style="color:#323232;"> args.</span><span style="color:#62a35c;">next</span><span style="color:#323232;">() {
</span><span style="color:#323232;">                        </span><span style="color:#0086b3;">None </span><span style="font-weight:bold;color:#a71d5d;">=> </span><span style="color:#62a35c;">q</span><span style="color:#323232;">(</span><span style="color:#183691;">"need value for Rc"</span><span style="color:#323232;">),
</span><span style="color:#323232;">                        </span><span style="color:#0086b3;">Some</span><span style="color:#323232;">(v) </span><span style="font-weight:bold;color:#a71d5d;">=> </span><span style="color:#62a35c;">u</span><span style="color:#323232;">(
</span><span style="color:#323232;">                            f,
</span><span style="color:#323232;">                            |f| </span><span style="color:#0086b3;">Box</span><span style="color:#323232;">::new(
</span><span style="color:#323232;">                                |c| {
</span><span style="color:#323232;">                                    </span><span style="color:#62a35c;">f</span><span style="color:#323232;">(c);
</span><span style="color:#323232;">                                    c.</span><span style="color:#62a35c;">set</span><span style="color:#323232;">(p.</span><span style="color:#62a35c;">iter</span><span style="color:#323232;">().</span><span style="color:#62a35c;">copied</span><span style="color:#323232;">(), v);
</span><span style="color:#323232;">                                    </span><span style="font-weight:bold;color:#a71d5d;">for</span><span style="color:#323232;"> e </span><span style="font-weight:bold;color:#a71d5d;">in</span><span style="color:#323232;"> p {
</span><span style="color:#323232;">                                        </span><span style="font-weight:bold;color:#a71d5d;">unsafe </span><span style="color:#323232;">{
</span><span style="color:#323232;">                                            </span><span style="color:#0086b3;">Box</span><span style="color:#323232;">::<</span><span style="font-weight:bold;color:#a71d5d;">str</span><span style="color:#323232;">>::from_raw(
</span><span style="color:#323232;">                                                std::mem::transmute(e)
</span><span style="color:#323232;">                                            );
</span><span style="color:#323232;">                                        }
</span><span style="color:#323232;">                                    }
</span><span style="color:#323232;">                                }
</span><span style="color:#323232;">                            )
</span><span style="color:#323232;">                        )
</span><span style="color:#323232;">                    };
</span><span style="color:#323232;">                    </span><span style="font-weight:bold;color:#a71d5d;">break
</span><span style="color:#323232;">                } </span><span style="font-weight:bold;color:#a71d5d;">else </span><span style="color:#323232;">{
</span><span style="color:#323232;">                    p.</span><span style="color:#62a35c;">push</span><span style="color:#323232;">(</span><span style="color:#0086b3;">Box</span><span style="color:#323232;">::leak(k.</span><span style="color:#62a35c;">into</span><span style="color:#323232;">()));
</span><span style="color:#323232;">                }
</span><span style="color:#323232;">            }
</span><span style="color:#323232;">            </span><span style="color:#0086b3;">None </span><span style="font-weight:bold;color:#a71d5d;">=> </span><span style="color:#62a35c;">error</span><span style="color:#323232;">(</span><span style="color:#183691;">"need path element or = for Rc"</span><span style="color:#323232;">),
</span><span style="color:#323232;">        }
</span><span style="color:#323232;">    }
</span><span style="color:#323232;">},
</span>
lseif ,

what is this for ?

PoolloverNathan ,

Argument parsing; turning Rc foo = bar into Reconfigure(|c| c.foo = “bar”).

HeckGazer , in “ARE YOU ALL SEEING THIS”

“It is not even wrong” - Wolfgang Pauli

DarkSpectrum , in Responsive Design Go Brrrr

“Your mom” also works.

Beanie ,

did you mean to comment this here?

thesmokingman , in The real history behind the Lunix operating system

In case you want to fact check this post, I highly recommend Glyn Moody’s . It’s a nice, fast read and covers all sorts of cool shit. I’d love to see a sequel covering newer events.

(Edit: OP is facetious; mine is only facetious in that it references OP)

femtech , in Let's do micro service

We have openshift and all the works but only teams that want to use it, use it. Once your project is dockerized it goes swell.

Tyoda , in I am a sinner

Deprecated schmeprecated! Remove it or I’m going to keep using it! (and sleep well)

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • [email protected]
  • lifeLocal
  • goranko
  • All magazines