Better HN
topnewbestaskshowjobs
Log inSign up

LessDmesg

45 karma · joined Oct 12, 2019 (7y ago) · 233 submissions

Submissions

comment 6y ago · link · parent

Another "IDE" written in some sort ofJavascript? Yeah, good luck with performance.

comment 6y ago · link · parent

TIL Scheme is the only language that implements continuations.

comment 6y ago · link · parent

Rust is not a C++ replacement, nor a C replacement. It targets its own niche (embedded, realtime, correctness-oriented). It's a totally different development culture. Zig, OTOH, is absolutely a C replacement.

comment 6y ago · link · parent

Gentoo does.

comment 6y ago · link · parent

There are whole different ways of life. For example, before the abundance of oxygen on Earth, the first bacteria lived on sulphur-based biochemistry. It was slow and inefficient, but better than being poisoned by that oxygen plague! Remember that it's an extremely destructive oxidizing agent (even in us it causes aging etc). It actually took millions of years for living organisms to start breathing oxygen (which was the real new and exciting breakthrough of the time).

comment 6y ago · link · parent

My compiler only supports C11, how do you compile C major?

comment 6y ago · link · parent

Both of those things were hoaxes by the Democrats. Pathetic power struggles to distract the public's eye from the real problems that ordinary people face. Who cares if some Russian hackers got some access to the DNC servers? That didn't affect the actual election results, not one whit.

comment 6y ago · link · parent

LBYL can easily be enforced by Maybe types, leaving exceptions for really exceptional things (which a nonexisting file definitely isn't). So we see how not having a real type system hurts and deforms a language in ways unrelated to types.

comment 6y ago · link · parent

Yet millions of people love what Trump does. And the celebrities that pledged to leave USA if he got elected somehow didn't follow on their promises. The real problem is that the country is polarized now, and neither side will accept the result of election - any result. And who is responsible for this polarization? Democrats and their affiliated media are. They are the ones who couldn't respect Trump's presidency and preferred to destroy the social fabric to get the power back.

comment 6y ago · link · parent

Flamewars are fun, you're not. Humans are fundamentally emotional beings.

comment 6y ago · link · parent

I think it's the dreams of possible job heaven. With an esoteric language that can be used for finance, you can not only grow your mental gonads ("it's even smarter than Haskell!!") but also possibly get a six-figure job that will be very secure.

comment 6y ago · link · parent

Sorry, I don't need your permission. And I'm not being mean, I'm calling out a crappy idea for what it is. If more people did it, the authors of that language and people like them would stop wasting their time making stuff that is a bad idea from the get-go. I'm only providing valuable feedback.

comment 6y ago · link · parent

I think we need to separate inheritance trees (arbitrary depth of inheritance) from mixin/trait inheritance which has height = 2. The latter is a lot more useful in eg. games where objects are assembled from mixins like Legos. The former leads to fragility, class bloat and other problems (remember MFC...).

Basically, GUI frameworks are the only area I know where OOP - real, authentic long inheritance chains with encapsulation and extensibility - has worked well.

comment 6y ago · link · parent

Ok, good to know. I was afraid that actual full-scale OOP was what saved the day, but it was unnecessary yet again.

comment 6y ago · link · parent

Nope, that's not a class, that's a struct and a module with functions. Any method called as obj.foo(5) is really just a function foo with a hidden argument foo(obj, 5). Rust makes this architecture explicit with its structs and trait impls separated - and no OOP in sight.

Classes, on the other hand, are not structs with functions. More like black boxes whose contents can be swapped out at any moment. OOP is about hiding implementation and infinite extensibility.

comment 6y ago · link · parent

By "I separated things out into classes", do you mean that you used the whole triad of inheritance + polymorphism + encapsulation?

comment 6y ago · link · parent

Let them have it, they certainly have fun reinventing wheels and dealing with dependency issues etc. That won't prevent a new WASM ecosystem from springing up. Not in the least because, as the article says, WASM is a sandbox not jusy for browser use.

comment 6y ago · link · parent

An APL a day keeps the Python away, huh?

comment 6y ago · link · parent

I really like this JS-free future we have ahead of us. I mean, I needed to format a date as text recently, and JS can't even do that without downloading some library... The sooner we'll be able to use real languages on the front-end, the better.

comment 6y ago · link · parent

> JavaScript

No thanks, we have Blazor now.

comment 6y ago · link · parent

What, C++'s spec constrains implementation of standard datastructures? This language has hit a new low for me.

comment 6y ago · link · parent

For those that want to understand what modern class-based OOP really is, there's a great analysis at https://wiki.haskell.org/OOP_vs_type_classes#There_is_only_o...

comment 6y ago · link · parent

Sorry, but I'm not the one trolling. Reading up on "Canon Cat", I find

> It had a text-based interface without a mouse, icons, or menus

sigh

The Forth in space thing is just some drivers/firmware for spaceships. I.e. once again nothing that an ordinary user would care about. The APL part is devoid of links to real contemporary software. Not even something of Notepad++ quality...

Please don't waste your time as you don't seem to want to understand my question. Thank you.

comment 6y ago · link · parent

I have the same question for K aficionados as I have for Forth ones: what real-world, human-usable, important software has been written in it? A GUI framework, a web browser, a window manager, a text editor, etc. Anything?

I'm asking because the article is poking at C-like languages, i.e. implying that K is good for general-purpose use. Yet all I hear about is that K is good at multiplying numbers and matrices, which is a pretty limited playground.

comment 6y ago · link · parent

They should debunk and ban traditional medicine as unscientific paleolithic drivel. Then there won't be a market for those components, and lots of animals, from pangolin to the rhinoceros, will feel better. As well as decreasing diseases. Don't forget that the coronavirus pandemic started because of Chinese appetites for consumption of exotic animals.
12345
8