Post APOSZDENhLmQ5FxIqe by fribbledom@mastodon.social
 (DIR) More posts by fribbledom@mastodon.social
 (DIR) Post #APOSZDENhLmQ5FxIqe by fribbledom@mastodon.social
       2022-11-08T12:18:01Z
       
       0 likes, 1 repeats
       
       Expressive programming languages are fantastic, almost artistic, when you're writing your own code from scratch.But expressive languages are also a pain when you're working as a team and code has to be readable, understandable and reviewable by a group of people.The more ways you have to express yourself, the harder it is to come to a consensus as a team.If in doubt, go with the most boring and obvious way to solve a problem. It will make your project more maintainable in the long run.
       
 (DIR) Post #APOSeIrcBPKZ09jaEa by virilemame@justicewarrior.social
       2022-11-08T12:19:21Z
       
       0 likes, 0 repeats
       
       @fribbledom sounds like perl
       
 (DIR) Post #APOTJHFt4HyBsycphw by wolf480pl@mstdn.io
       2022-11-08T12:26:45Z
       
       0 likes, 0 repeats
       
       @fribbledom the other  way can bite you too. If your language is not expressive enough, your code will be full of boilerplate, decreasing readability.
       
 (DIR) Post #APOTh61mSnIG0wNvHM by neilgall@mastodon.scot
       2022-11-08T12:30:47Z
       
       0 likes, 0 repeats
       
       @wolf480pl @fribbledom The trick is to use the expressiveness of your language so that your implementations of requirements can be expressed close to the problem domain. But going much further than that will decrease understandability.
       
 (DIR) Post #APOU2ixutC08rHtGvw by Chaos_99@fosstodon.org
       2022-11-08T12:19:26Z
       
       0 likes, 0 repeats
       
       @fribbledom Do you have an example for an "expressive programming language"?
       
 (DIR) Post #APOU2jTSztEqR8eT6u by fribbledom@mastodon.social
       2022-11-08T12:22:56Z
       
       0 likes, 0 repeats
       
       @Chaos_99 Lisp comes to mind. But the more experience I gain as a programmer and - dare I say it - software engineer, the less tolerant I become with regards to expressiveness.I once thought overloading C++ operators is the best thing since sliced bread, now I cringe when I think about the sins of my past.
       
 (DIR) Post #APOU2jvTJldjpzkplI by tyil@fedi.tyil.nl
       2022-11-08T12:34:58.335Z
       
       0 likes, 0 repeats
       
       @fribbledom@mastodon.social @Chaos_99@fosstodon.org I still get bothered when I use #Python's pathlib, where they decided to overload the / operator to concatenate paths. Sure, it looks somewhat cute to have path / "subdir", but its also a detriment to the consistency of the language.
       
 (DIR) Post #APOU3ZSthFgFgQmkRU by wolf480pl@mstdn.io
       2022-11-08T12:35:08Z
       
       0 likes, 0 repeats
       
       @neilgall @fribbledom It's also important that whatever abstraction layer or syntactic sugar you're using, it's obvious:1. that you're using it, and2. where to look for its definition/implementationWhich is why I would be wary of C++ operator overloading even if it matches the problem domain.