Patryk27 / website

Source code for pwy.io
https://pwy.io
GNU General Public License v3.0
11 stars 2 forks source link

posts(learning-to-fly-pt3): Remove semantic ambiguity #7

Closed alexxroche closed 3 years ago

alexxroche commented 3 years ago

"calling a function" means invoking a function in your code. "naming a function" is that impossible task that is solved the moment that you have to maintain backwards compatibility and realise the perfect name for your function. e.g. fn from_chromosome() is better than fn create().

Patryk27 commented 3 years ago

That's a nice one 🙂

Before I merge, would you mind naming the commit posts(learning-to-fly-pt3): Remove semantic ambiguity?

alexxroche commented 3 years ago

Hope I changed the title correctly. (I set the pull request so that you could edit it - but I'm more than happy to make any changes that you need.)

Patryk27 commented 3 years ago

Oh, I meant the commit title (e.g. via git commit --amend) - that's the one I cannot change (since it's inside your branch).

alexxroche commented 3 years ago

Like this? https://github.com/alexxroche/website/commit/0b393df2a97e9c556944ac5fa3ab79bb3f1aa7d5

Patryk27 commented 3 years ago

Yeps, like this; thanks!