Live data from Hacker News

Show HN: Darklang

medium.com

91–100 of 261 posts

Re: Show HN: Darklang

#91
post #18

This project represents a stark tradeoff: lose some complexity, and lose almost all control. It feels like forcing users to learn a new language is a step too far here - I can't imagine a ton of people are so eager to build slackbots that they're willing to give up all their existing tools.

It feels like HN regular are unlikely to be the ideal audience for this. Reaching for a metaphor, it's like a bunch of expert Unix users gathering around an IBM PC or Macintosh in the 1980s. It's so easy to bemoan the control we lose (a major problem given our existing workflows) and have no use for the functionality it confers (simplicity, batteries included, lack of yaks that need shaving). A really great new idea…

> A really great new idea

This ain't exactly new, though. The value proposition here is very similar to that of a lot of existing cloud-hostable middleware products, e.g. Dell Boomi, albeit perhaps targeted at a different audience (that is: adapted to actually building backend systems instead of tying a bunch of existing systems together).

Boomi, however, is a flaming pile of trash (and I say this as someone whose dayjob is - among numerous other things - to maintain a bunch of Boomi processes); the version control sucks (and you have to use its version control, because what's Git or Mercurial or Fossil or even CVS, amirite?), it's way overpriced, it's a pain in the ass to do simple things with it (unless there's already a shape defined for the exact thing you're trying to do, or it happens to be something conducive to JS or Groovy scripting; the JS/Groovy escape hatch is the one good thing about Boomi), and you're permanently locked into it unless you want to completely rewrite everything in a different language and for a different platform.

If Dark can address those four problems - namely, by supporting external version control systems (Git at the minimum), having a sane price point (and not gouge users on connector licenses), making it easy to do easy things and reasonable to do hard things, and providing some pathway to escape vendor lock-in (e.g. import/export from/to a self-hosted option, preferably an open-source one) - then I could see myself at least trying it out. As it stands, though, there's no indication that Dark doesn't have the same exact crippling problems Boomi has (made worse by forcing a specific new language instead of relying on existing ones).

Re: Show HN: Darklang

#92

This is interesting. Congratulations on your hard work! What does error handling look like? Do individual cards basically become individual classes with functions and handlers? I would love to see more examples of apps build with dark. Does anyone know if there are tools in reverse of dark - build API and based on that create front end?

Error handling is done with Results and Options. We have a concept called an ErrorRail to simplify this: https://medium.com/darklang/real-problems-with-functional-la...

Re: Show HN: Darklang

#93
Conceptually, Dark is a game-changer. The question is: can you deliver on the details?

Can apps written in Dark scale to 10k LOC or will the browser UI get jittery? How many concurrent users can Dark apps handle? Do you integrate logging and metrics?

I hope you are making an iPad app. That would be truly next-level.

Re: Show HN: Darklang

#94

Does (or will) Dark have a light mode? Given the name and seeing the dark mode screenshots in the article, I wonder. This is an honest worry for an older developer like me. When you're young, your eyes can focus on just about anything. This changes as you get older. A dark mode causes your pupils to open wider, where a light mode gets them to stop down. And if your lenses are imperfect, stopping down helps make thing…

Lack of light mode is also a problem when you have sub-optimal lighting in the workplace.

Bright UIs can block out glare and reflections, thus preventing tiredness and headaches in such cases.

Re: Show HN: Darklang

#95
post #83

Is there an open source version of the language? ...bc I'm not touching a programming language with a ten foot pole if it hasn't got at least two implementations, and at least one open source :| Sure, keep the IDEs and deployless infrastructure and all proprietary, but a core programming language in 2019 can only be open-source. Heck, even Microsoft gets it now.

So, no Rust or Go for you? EDIT: I got it, I got it. Go has multiple implementations. Bad example.

Go - OK, it has one implementation (open-source), but it's backed by one big player (Google) and used by many others... also the simplicity at core design decisions sound like the kind of choices that would make an alternative compiler easier to implement than for other languages

Rust - pretty fast growing open-source community despite only one implementation... but yeah I'm sort of worried that Rust is a "hard to implement" kind of language with maybe a not high enough bus factor... similar worries for Julia too

But tbh I'm not drawn much to either Go and Rust for other reasons - Go is too verbose for my taste, no way to write denser code that highlights the logic instead of the plumbing, and it has a "dumb" type system, Rust seems a really bad choice for rapid prototyping and iteration which is what I care about now.

EDIT+: glad to know that Go has multiple implementations in fact, pardon my ignorance!

Re: Show HN: Darklang

#97

Does (or will) Dark have a light mode? Given the name and seeing the dark mode screenshots in the article, I wonder. This is an honest worry for an older developer like me. When you're young, your eyes can focus on just about anything. This changes as you get older. A dark mode causes your pupils to open wider, where a light mode gets them to stop down. And if your lenses are imperfect, stopping down helps make thing…

I am the complete opposite ... I'm in my 40s and dark modes are the only thing I can use.

The bright white glare bothers my eyes and I can't work for hours staring into it. I have to go dark on everything these days.

Back to the light-on-dark computers I grew up with :)

Re: Show HN: Darklang

#98
post #88

This would be awesome if node wasn’t around. But I feel like this is a 2D canvas on which you throw node functions. Node+express is already simple enough...

Agreed about the 2D canvas; we've been cutting scope aggressively to launch this. We have a different metaphor in mind but it will take us some time to implement.

Re: Show HN: Darklang

#99

Earlier quoted context omitted.

So, no Rust or Go for you? EDIT: I got it, I got it. Go has multiple implementations. Bad example.

Go has 2 implentations.

Three counting google go, gcc-go and llvm-go. Last I checked the latter two were quite incomplete.

Re: Show HN: Darklang

#100

Having worked full stack for so long, sometimes things like this seem way over the top and I don't really get it. Why not have control over your language? Why not have control over deployment, VCS, servers, etc? I think I understand now that this isn't for me, but could have been once. At one point in your career, you know little or none of this stuff. Something like this would have been very empowering for me while…

I am in the same boat, I've been full stack for many years across a variety of technologies.

The intro video doesn't seem like anything is being made any easier, other than hiding a few of the templated bits away from the developer.

But the developer still has to understand what all this stuff MEANS. You need to understand REST, GET, PUT, REPL and any other acronyms that are involved in API development.

If you know all that, why not just use an established language you already know and build the API, with the added bonus you aren't in a closed language with a closed system that can disappear at any time?

PLUS you can do literally anything you might need to, without hoping that things like this might get around to implementing that feature in the future (which again makes their tool more advanced, opposite of what they are trying to achieve).

Programming is for programmers, and programmers understand how to build APIs ... it's quite simple.

Post reply on HN