Become a fan of Slashdot on Facebook


Forgot your password?
DEAL: For $25 - Add A Second Phone Number To Your Smartphone for life! Use promo code SLASHDOT25. Also, Slashdot's Facebook page has a chat bot now. Message it for stories and more. Check out the new SourceForge HTML5 internet speed test! ×

Comment Ugly syntax (Score 1) 205

One of the nice things about lisp is that it is so clean. Lux appears verbose and cluttered with odd symbols.


(defun hello ()
    "Hello, world!"


(;module: {#;doc "This will be our program's main module."}
        (lux (codata io)
                [cli #+ program:]))

(program: args
        (io (log! "Hello, world!")))

Comment Re:Golden (Score 1) 205

Why should we care? Porn is ubiquitous, and you can see much kinkier stuff from your local web-pimp. Hop over to fetlife and you can find someone to do it with. If it's that he paid: again so what? Prostitution ts legal in (parts of) the US and Canada.

Oh the horror! Trump may have done something that I* do! But it's bad when he does it! (*Not saying you're into peeing hookers; likely your tastes would make Trump blush.)

But really, what does this have to do with Lux?

Comment Here comes the malware (Score 1) 376

How long before we see malware kits that hack these devices via firmware exploits? Set all the fridges in the USA to "freeze" or "off". Or turn on the camera and capture pix of folks walking around their kitchen in their underwear. Or inventory your bluetooth-enabled groceries, upload it to Walmart so they can target you with grocery mailers and spam that your pickles are expired, or upload it to your health insurance provider so they can raise your rates because of all the junk food you consume? You'll get a health insurance "discount" if you enable your fridge to upload your groceries, but pay top dollar if you choose privacy.

Then again maybe I can install Linux on my fridge, program it to upload my neighbor's data instead of mine.

Comment Re:No. (Score 1) 449

Eh, speaking for myself: not likely. I loved curses programming! Clean and straightforward compared to modern stuff. (And curses was kind of ugly even then. Its just that everything is so much worse now.)

What you can do today -- that you couldn't then -- is make much more complex programs, and use them in more places. The code is butt-ugly and tedious to develop, but the end result is impressive.

But clean elegant simplicity is fun and satisfying. I love to refactor a function until it is clean and simple. Makefiles are so much more enjoyable than coding in XML, at least until you try to do something complicated. C++ was fun when it was little more than "C with classes." Linux was fun until we got Systemd. HTML used to be fun until you had to add CSS and Javascript etc. Of course you can still code straight HTML in vim, and you can also write 8-bit assembler in a an emulator, but these things are not relevant any more. You almost have to use an IDE for some things, like programming Unity or Unreal. As soon as I "have" to use an IDE the fun is gone.

But for fun coding, I think it was more fun back in the day. I had more fun doing BASIC on an 8-bit system, more fun writing curses in C, more fun working with PC graphics in Turbo C, just because it was clean and simple. It's always more fun to pioneer new territory, even if it's crude. In my opinion simplicity is more fun, but it never lasts because it is limited. Sometimes a language like Python brings back the simplicity but only for a little while until it gets extended with new features.

We need to rebuild things from scratch, to reinvent the wheel on a regular basis, because then we can change the paradigms and abstractions so they simplify current technology. Old systems are always lousy for up to date things, with patch upon patch. Its not nostalgia or failure to keep up with the times, it is that kludgy patches are just not good. Why don't we have threading and graphics and networking and decent error handling built right into C? We have 1970s style libraries instead. THAT is the problem. It's a great language when you don't need that stuff, but cumbersome when you do. C++ will be trotted out as the answer, but it has become utterly arcane, defeating the point. Java is targeted toward 20 year old technologies, and extensions are awkward. So is OpenGL. Things collapse under their own weight.

Slashdot Top Deals

"The way of the world is to praise dead saints and prosecute live ones." -- Nathaniel Howe