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.

Naming - DynamoDb -> DynamoDB

See original GitHub issue

Spotted this difference and can’t unsee 😃

In AWSSDK, DynamoDB with a captial B is used in all types, namespaces, docs etc. To be consistent, consider following the vendor’s naming.

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
damianhcommented, Apr 20, 2021

As I said, not a hill 😉

Close as discision made.

0reactions
firenerocommented, Apr 20, 2021

@damianh It’s a controversial topic indeed. I guess it’s more like a personal taste than a real difference. I agree with @lezzi that 3 sequential uppercase characters are harder to read/write.

If I have both AWSSDK.DynamoDB2 and this package reference in the same project, one will have to deal with the mixed casing of the name.

It’s a tradeoff we had to make. On the other hand, if we keep naming the same, one will have to deal with different imports and it would be impossible to know what library is used just by looking at attributes. You would have to check imports all the time.

Read more comments on GitHub >

github_iconTop Results From Across the Web

django - naming conventions for DynamoDB?
Are there any well established naming conventions for DynamoDB? So far, from what I've seen in examples, it seems that it's free-for-all.
Read more >
[Answered] What are the naming conventions in DynamoDB?
In DynamoDB, the naming conventions for tables, primary keys, and secondary indexes are as follows: Table names: Must be unique within your AWS...
Read more >
DynamoDB Basic - Part 1: Introduction DynamoDB
4. Naming Rules and Data Types. Tables, properties, and other objects in DynamoDB must have names. The following are the naming rules for ......
Read more >
Naming Rules and Data Types - Amazon DynamoDB
Tables, properties, and other objects in DynamoDB must have names. · Following are the naming rules for DynamoDB: All names must be encoded...
Read more >
Use DynamoDB naming conventions · Issue #782
I do suggest to stick to the naming conventions of DynamoDB as stated in the AWS documentation: document -> item; hash key ->...
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