Skip to content

Go intercompatibility with colons in arguments #51

@spoohie

Description

@spoohie

Just an open question, but are colons in definitions really necessary? Shouldn't we be striving for nice Go <-> Dingo compatibility?

func divide(a: int, b: int) Result {...}

could be simply

func divide(a int, b int) Result {...}

These colons add nothing in the long run in my opinion. The comparison between Typescript and Dingo that prevails a lot in the description should be the standard we should be striving for I believe. That means: ideally Go code should be also valid Dingo code. In case of adding colons (or any other discrepancies like "->" in return statement definition for that matter) should be avoided.

Also: README.md is super long and smells with AI generation a lot, I've been trying to read through the docs and also forums online and there's been a lot of feedback suggesting that AI-powered descriptions are kinda repulsive to the community.

Besides that it's a great piece of work and I've been super inspired by it for the last couple of days. I'll try to dig into it more and even try to carve out some spare time to help and contribute! Good work!

Metadata

Metadata

Assignees

No one assigned

    Labels

    discussionOpen conversation to listen to opinions.documentationImprovements or additions to documentation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions