[-] somegeek@programming.dev -2 points 1 week ago

This greatly depends on language design and implementation.

For example, Clojure has all of these and much more, and it's still much simpler and hassle free than rust. The functions are just functions, but the forms and lists that are very powerful.

functions are just

(defn foo [a b] (print "do thing"))

(foo 1 2)

With the power of destructuring that maps provide us, we can have named arguments:

(defn foo [a & {:keys [b c]}] (print a b c))

(foo 1 {:b 2, :c 3})

and for multi-arity functions, there's no special syntax. It's still just plain functions and forms

(def foo
  ([a] (print "I only have one" a)
  ([a b] (print "I have two" a b)))

It also has more advanced ways of polymorphysm with methods and protocols.

It depends on the design of the language.

[-] somegeek@programming.dev -3 points 2 months ago* (last edited 2 months ago)

Murder of the 200 hundred innocent boys and girls by USA and Israel is definitely something to pay more attention to. Also, the things the regime did to people of Iran

[-] somegeek@programming.dev -5 points 3 months ago

I think we don't need much more evidence for biden being a pedo.

[-] somegeek@programming.dev -5 points 4 months ago

That's a single positive. Not "doing it right". What china has isn't even internet. Its intranet with some exceptions. Not to mention what the USA has also isn't truly internet but it's somewhat closer.

[-] somegeek@programming.dev -4 points 8 months ago

Nooo, he/she has to "Politically defend you" whatever the fuck that means

[-] somegeek@programming.dev -4 points 2 years ago

I can hear ypu americanness from behind the screen darling.

Free means freedom not "no payments" it takes huge money to develop and maintain software and infrastructures like these. So they need funding to survive.

[-] somegeek@programming.dev -3 points 2 years ago

Wayland was such a bad implementation and execution from the start. Almost 2 decades passed and it's still not usable. Xorg with all its faults is still much more usable and the architecture, though bad, makes much more sense than what wayland is doing.

Downvote me all you want.

[-] somegeek@programming.dev -3 points 2 years ago

Wayland is so much worse than X11currently,IMO. Specially on older devices.

I don't understand the forcing of wayland upon users.

[-] somegeek@programming.dev -3 points 2 years ago

Just search IBM IoT and look at IBM acquisitions in the last decade.

Everyone "used to work for that company" on the internet. And even if you used to work there it doesn't mean you know anything about their business. IBM is more of a Holding now. Like Volkswagen. Just because someone works at audi it doesn't mean they know anything about Lamborghini.

https://unixdigest.com/articles/the-real-motivation-behind-systemd.html

[-] somegeek@programming.dev -2 points 3 years ago

A good heart, and high intelligence. Also I'm religious, so faith is #1 factor for me.

view more: ‹ prev next ›

somegeek

0 post score
0 comment score
joined 3 years ago