question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

alternative names for single-letter constructors

See original GitHub issue

The single-letter constructors can be pretty annoying

  • they’re hard to search for in a module
  • they very easily conflict with local variable names

It’d be nice if we had alternative, longer names for v, s, m, and b.

Issue Analytics

  • State:closed
  • Created 9 years ago
  • Reactions:1
  • Comments:12 (9 by maintainers)

github_iconTop GitHub Comments

1reaction
manishtomarcommented, Jan 26, 2016

+1. I don’t find the necessity to have single-letter names.

0reactions
tobgucommented, Jun 12, 2018

I will close this issue. I think there are a bunch of projects relying on the single letter initializers, they are not going away because it would break backward compatibility badly.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Why I am forced to write the (Data Constructor) name with first ...
Why does Haskell force data constructor's first letter to be upper case? the variable names need to be lowercase. The official documentation ...
Read more >
synonyms for construction - Thesaurus.com
WORDS RELATED TO CONSTRUCTION ; coherence · agreement. adherence · attachment · bond ; constitution · physical makeup and health. architecture · build...
Read more >
69 Synonyms of BUILDER | Merriam-Webster Thesaurus
Synonyms for BUILDER: craftsman, architect, handyman, artist, maker, artificer, workman, manufacturer, tradesman, mechanic.
Read more >
Construction Document Sheet Numbers and Order - Archtoolbox
The following table (from the U.S. National CAD Standard) indicates the primary (single) letter designations that may be used and the order that ......
Read more >
String Constructor (System) | Microsoft Learn
Use a portion of a character array and repeating a single character ... can improve application performance by using an alternate means of...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found