AstonJ

AstonJ

What are your tips for language and framework creators?

If you had the ear of a language creator, what would you say - what could they do to make a language that you would use? :upside_down_face:

Most Liked

Phillipp

Phillipp

Two things:

  1. Do NOT do anything that the JS/NodeJS ecosystem did (especially the unusable stacktraces).
  2. Do NOT ever force any form of static typing onto the user. Make it at least opt-in.

:running_man:

hauleth

hauleth

Do not use Markdown/CommonMark for documentation. Use more expressive and configurable format like ASCIIDoc.

This is absolutely trend that I cannot understand. Markdown was designed for writing blogposts with almost not typesetting. Yet for some reason people thought that it will be a great format for documenting code, which need few more additional stuff, that was never a plan for MD (cross document references, math, graphs, tables, definition lists, etc.). Just stop and use ASCIIDoc for gods sake.

Phillipp

Phillipp

Well, someone asked for my opinion and I wrote my opinion.

I worked both with Golang and with Typescript. Golang is just horrible and 95% of my problems are related to the language bitching about some type specific things. It’s just annoying.
In Typescript, I mostly just type my stuff with interfaces but it also often gets in my way. External libs either miss type information or they are just wrong. D3 is especially hard to work with. Also everything that is related to DOM elements. And I cannot even check if a variable matches a certain interface, thus having to have a type property on certain interfaces.

I’ve worked with PHP for a long time and never had any type related issues. The addition of type hints was nice but it was all optional so one could use it in places where it makes sense.

I also love the way Elixir handles it with pattern matching, therefore I do not understand why everyone wants to force a strict type system onto Elixir.

Just my 2 cents. (But I guess we both had the same discussion a few times already on the Elixir forum :smiley: )

Where Next?

Popular General Dev topics Top

AstonJ
If you’re a fan, why? If you’re not fussed on it, how comes?
New
mjk
TL;DR: words that incorporate negation are acceptable, eg. independent, asymmetric, nondeterministic. An example in the book is to renam...
New
New
finner
When you are under pressure to deliver you ideally want your Pull Request to be reviewed, approved and merged as quick as possible. So do...
New
New
ohm
I just switched jobs to tech lead with a small team of about 6 other developer. This is my first tech lead job. What do I need to know? A...
New
AstonJ
Slightly different to the What does your mobile phone home screen look like? thread, what is your lock screen image?
New
jaeyson
Hi all, does anybody tried Shankar Devy’s Phoenix Inside Out book series? Also, will there be a big difference (aside from context prior...
New
DevotionGeo
For me it’s six to seven steps above complete dark, on MacBook Air M1.
New
jaeyson
Hi!, hope everyone’s ok. Sorry if this question is ambiguous (i’ll remove this if i break some rules here). This is more like a self-ques...
New

Other popular topics Top

Exadra37
I am thinking in building or buy a desktop computer for programing, both professionally and on my free time, and my choice of OS is Linux...
New
New
AstonJ
You might be thinking we should just ask who’s not using VSCode :joy: however there are some new additions in the space that might give V...
New
AstonJ
Do the test and post your score :nerd_face: :keyboard: If possible, please add info such as the keyboard you’re using, the layout (Qw...
New
PragmaticBookshelf
Learn different ways of writing concurrent code in Elixir and increase your application's performance, without sacrificing scalability or...
New
AstonJ
If you get Can't find emacs in your PATH when trying to install Doom Emacs on your Mac you… just… need to install Emacs first! :lol: bre...
New
First poster: joeb
The File System Access API with Origin Private File System. WebKit supports new API that makes it possible for web apps to create, open,...
New
DevotionGeo
I have always used antique keyboards like Cherry MX 1800 or Cherry MX 8100 and almost always have modified the switches in some way, like...
New
AnfaengerAlex
Hello, I’m a beginner in Android development and I’m facing an issue with my project setup. In my build.gradle.kts file, I have the foll...
New
Fl4m3Ph03n1x
Background Lately I am in a quest to find a good quality TTS ai generation tool to run locally in order to create audio for some videos I...
New