44
top 25 comments
sorted by: hot top controversial new old
[-] Saganaki@lemmy.one 27 points 1 year ago* (last edited 1 year ago)

Serious question: Is “Directed Acyclical Graph” really an unknown term for people? The author harped on it pretty hard, but what it is…is pretty apparent, no? I mean, I’ve encountered the term often, but I don’t think I had any need to look it up…

[-] meanmon13@lemmy.zip 14 points 1 year ago

I'm a computer engineer with more than a decade of development experience with embedded systems... I use C/C++/python everyday and "Directed Acyclical Graph" is never mentioned by name, no one in my experience says make me a DAG. Hell, I had to look it up when I read your comment and went "oh that's what those are called". I use em to show relationships between states or to descide a system that is best diagramed using a DAG. Do I or anyone I've talked to in my career call them DAG.. lol no.

[-] Sigmatics@lemmy.ca 1 points 1 year ago

I thought this was basic CS 101, part of DSA

[-] themusicman@lemmy.world 11 points 1 year ago

Yeah, I'd be pretty wary of a dev who needed clarification on DAGs...

[-] whatsarefoogee@lemmy.world 4 points 1 year ago

Agreed. Why would a person need to look it up when the name literally describes it. Directed? Means connections are in a single direction. Acyclic? A-cyclic = non-cyclical, doesn't have cycles. Graph is... well a graph.

Which part does the author think an average programmer should struggle with?

[-] expr@programming.dev 7 points 1 year ago

It's very well-known and common knowledge. It's certainly something that I will talk about without feeling the need to define terms or something. I would assume anyone unfamiliar with it either didn't pay attention in school or never went to school to begin with.

[-] marx2k@beehaw.org 1 points 1 year ago

I'm guessing I didn't know what it is by name because I never went for a compsci degree so you're probably right

[-] expr@programming.dev 2 points 1 year ago

It's never too late to learn about them. They're super common in practice so it's very helpful to know about them. A lot of things are a DAG, like tree data structures and dependency graphs. Having no cycles in a directed graph has a lot of nice properties too, like allowing one to use efficient graph traversal algorithms, topological sorting, or its transitive closure. It's come up multiple times in my career so it's definitely worth knowing imo.

[-] marx2k@beehaw.org 1 points 1 year ago

Programmer/devops here. Without looking it up, I don't know what a DAG is. However, I'm guessing if I saw one, I'd recognize it.

...looked it up...

Immediately a dependency chart comes to mind

[-] stilgar@infosec.pub 22 points 1 year ago

Gradle is absolute rubbish, definitely the worst experience I've had with a build system. But Maven is also rubbish.

IMO a CLI should be the primary way of interacting with the build system (see e.g. Go, Rust, JS with NPM or Yarn, Python with Poetry) and manually editing the build file should be reserved for edge cases and extensions.

[-] NiftyBeaks@lemm.ee 3 points 1 year ago

As someone who wants to use Kotlin or Scala, is there another way to get around these two? Coming from .NET or NPM I found both of these to be terrible.

[-] sylveon@programming.dev 3 points 1 year ago

The "default" build tool for Scala is sbt.

[-] UFODivebomb@programming.dev 2 points 1 year ago

There is Mill https://github.com/com-lihaoyi/mill

Which offers a nicer experience than the default Scala build tool: https://www.scala-sbt.org/

I personally like sbt a lot, but I've been told mill is more approachable.

load more comments
view more: next ›
this post was submitted on 07 Aug 2023
44 points (100.0% liked)

Programming

17364 readers
148 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities !webdev@programming.dev



founded 1 year ago
MODERATORS