What is the best practice for naming kafka topics?

https://cnr.sh/essays/how-paint-bike-shed-kafka-topic-naming-conventions helped us answering that same question. As a summary this article suggest to follow similar best practices to naming databases and tables, and it provides these additional points of advice: Avoid topic names based on things that change Avoid topic names based on information that would be stored in other places Avoid topic names … Read more

What is the difference between an edge case and a corner case?

These are often used interchangeably. If you’re being careful about language, these have specific (engineering) meanings (courtesy of Wikipedia): In engineering, a corner case (or pathological case) involves a problem or situation that occurs only outside of normal operating parameters—specifically one that manifests itself when multiple environmental variables or conditions are simultaneously at extreme levels, … Read more

Naming Convention in c# [closed]

Microsoft has an excellent set of guidelines on class library design, including a section on naming. In short (examples in parentheses): Classes/Structs: PascalCase (WebRequest) Interfaces: PascalCase with I prefix (IDisposable) Methods: PascalCase (ToUpper) Properties: PascalCase (Length) Events: PascalCase (Click) Namespaces: PascalCase (System.Collections; unusual to have two words in one part though) Non-constant variables including parameters: … Read more

Maven naming conventions for hierarchical multiple module projects

In earlier days with maven I followed the following structure which you have described: appname +— appname-module1 +— appname-module2 +— appname-module2-chhild1 +— appname-module2-chhild2 +— appname-module3 But this will become ridiculous if you get more levels. So I decided to change my mind and now using things like: appname +— module1 +— module2 +— chhild1 +— … Read more

Name of C/C++ stdlib naming convention?

C/C++ uses the famous make-stuff-up-as-we-go-along naming convention. In general, the only consistent things you can say about the C/C++ standard library naming convention is that it doesn’t use camel case (except for C++ STL template typenames), it uses lower-case class and function names, and (sometimes) uses underscores to separate words. But the usage of underscores … Read more

If the convention in Python is to capitalize classes, why then is list() not capitalized? Is it not a class?

Yes, uppercase-initial classes are the convention, as outlined in PEP 8. You are correct that many builtin types do not follow this convention. These are holdovers from earlier stages of Python when there was a much bigger difference between user-defined classes and builtin types. However, it still seems that builtin or extension types written in … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)