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.

Double-underscore TransactionBuilder (and other) internals

See original GitHub issue

TransactionBuilder.prototype.tx was never for public consumption, and it has changed several times between releases. I think it should be changed to .__tx to eliminate confusion, and avoid code breakage for users (which has happened previously).

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:9 (9 by maintainers)

github_iconTop GitHub Comments

1reaction
junderwcommented, Oct 20, 2017

irrational fear. closures just FEEL hacky and like one of those things that nodeJS devs will say “oops, we broke closures… oh well.”

Read more comments on GitHub >

github_iconTop Results From Across the Web

What is the meaning of single and double underscore before ...
Single Underscore. In a class, names with a leading underscore indicate to other programmers that the attribute or method is intended to be...
Read more >
What's the Meaning of Single and Double Underscores In ...
Single leading underscores are generally used in classes to define “internal” attributes. I put double quotes around internal because there is no such...
Read more >
Allow variables starting with underscore. #12270 - vuejs/vue
By refactoring Vue internals to use a double underscore instead of a single underscore this would allow developers to use single underscores ...
Read more >
What is the meaning of single and double leading underscore ...
Inside a class, when a variable name has two leading underscores, ... it helps Python distinguish between the same variable names from different...
Read more >
The Meaning of Underscores in Python - dbader.org
The underscore prefix is meant as a hint to another programmer that a variable or method starting with a single underscore is intended...
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