Skip to content

Conversation

@joto
Copy link
Collaborator

@joto joto commented Jun 3, 2025

  • Using uppercase, because they are constants
  • Using the word "CLASS" because it is easier to understand then the generic "name" or the Luaish "metatable"
  • Using char* not std::string_view, because its simpler use (no .data() needed)

This is for all the Lua "classes" that we use in flex config files:

  • ExpireOutput
  • Geometry
  • Locator
  • OSMObject
  • Table

* Using uppercase, because they are constants
* Using the word "CLASS" because it is easier to understand then
  the generic "name" or the Luaish "metatable"
* Using char* not std::string_view, because its simpler use
  (no .data() needed)

This is for all the Lua "classes" that we use in flex config files:

* ExpireOutput
* Geometry
* Locator
* OSMObject
* Table
@joto joto force-pushed the refactor-class-names branch from e42a9e2 to e39172c Compare June 3, 2025 09:35
@lonvia lonvia merged commit 771baaa into osm2pgsql-dev:master Jun 5, 2025
24 checks passed
@joto joto deleted the refactor-class-names branch June 10, 2025 08:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants