Comments (9)
Thank you @rcdailey for your interest, and @memsharded for your input.
Given that French is one of the many languages I don't speak (see #11) I partly sympathize, and partly not (see FAQ).
I'm open to suggestions, although I do prefer something with a bit of humour and elegance.
While thinking about it, though, may I suggest a very simple work-around for you?:
Create a file tmock.hpp
(if tmock if your preferred name.)
#ifndef TMOCK_HPP
#define TMOCK_HPP
#include <trompeloeil.hpp>
namespace tmock = trompeloeil;
#endif /* include guard */
After this, you can #include <tmock.hpp>
and use tmock::deathwatched<>
, etc.
Having said this, I personally find this no more difficult than a password. Awkward at first, but after a few attempts its in muscle memory and nothing you really think of anymore.
from trompeloeil.
For us non-american people, I find it incredibly tedious and frustrating to have to learn american for everything in computing, not just simple library names.
There'll always be people who will struggle with a library name (or anything) which is not in their native language (except maybe if all libraries are named in variations of "aaaaaaa"), it's not just you, rest assured.
Also, if the name has some kind of uniqueness, I think it's easier to remember. "tmock" is so generic that I'm surprised there aren't already a dozen libs called like that. "trompeloeil" on the other hand...
from trompeloeil.
I'm going to go ahead and close my own issue here. I apparently worded my original post poorly, as things have become political. My intent was to express that I am not familiar with non-american / non-english names, not to send some strange and subliminal political message.
The solution of using an alias (namespace) is sufficient for my needs. I have an include file I use to simulate this:
tmock.hpp
:
#pragma once
#include <trompeloeil.hpp>
namespace tmock = trompeloeil;
This is per an earlier suggestion made by @rollbear. Thanks to those who provided constructive feedback.
from trompeloeil.
Partly agree, but acknowledge that naming is difficult, especially when many names, namespaces, urls... are already taken. Plus the name has meaning for the author, so even if I find it (very) difficult to spell and write, I understand and can live with it.
from trompeloeil.
Certainly a reasonable workaround. If taking action on the library side is not possible, I would certainly use this as a next step.
from trompeloeil.
tmock would be an alias to make using the library easier. Not its new name.
On Fri, Sep 30, 2016, 2:11 AM Anna Domini [email protected] wrote:
For us non-american people, I find it incredibly tedious and frustrating
to have to learn american for everything in computing, not just simple
library names.There'll always be people who will struggle with a library name (or
anything) which is not in their native language (except maybe if all
libraries are named in variations of "aaaaaaa"), it's not just you, rest
assured.Also, if the name has some kind of uniqueness, I think it's easier to
remember. "tmock" is so generic that I'm surprised there aren't already a
dozen libs called like that. "trompeloeil" on the other hand...—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
#13 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABr6drbJ0YdWdQt_qSTvczIGwKmv5VHeks5qvLYJgaJpZM4JO-Pk
.
from trompeloeil.
No need to start a war here.
Like I mentioned earlier, I'm open to suggestions, otherwise I would've closed this issue.
My personal take is that a name like tmock
is too generic, and quite frankly boring, but to each his own. But then, it's easy to create your own alias if you need to, so guess it's not a big issue.
from trompeloeil.
I'm partial to trompe
as the alias. It's not boring, and it's easy to say, remember, and spell since all the Frenchy-ness that confuses English speakers is snipped off. Also, it means "deceive", which makes it awesome.
from trompeloeil.
I like the name Trompeloeil - it gives the project a certain je ne sais quoi.
That said, I also appreciate the using namespace
tip in the FAQ and suggested here in the comments.
from trompeloeil.
Related Issues (20)
- How can i mock a member function of A class in a B class's function? HOT 3
- CMake version required not correct HOT 5
- Setting expectations in a function fails HOT 6
- how can I mock the static member function and non-virtual member fuctions? HOT 2
- Problematic traits for ``streamer`` primary template HOT 4
- Documentation, typo and missing bits and bobs HOT 3
- Compile error when returning values from a tl::expected with a void expected value HOT 5
- Refactoring with sequenced expectations HOT 2
- Build for QNX tests fail due to catch2 header file HOT 1
- Wrong Expectaition message HOT 1
- [Bug] Fails to run tests with catch 3.x HOT 4
- Tests fail to compile: error: 'ret_count' is an unsafe buffer that does not perform bounds checks HOT 3
- Expect call returning a reference HOT 2
- can this cppcheck inline suppression be added HOT 1
- unreal engine support & noreturn/std::abort HOT 3
- Setting side effects after creating expectactions (inside DOCTEST_SUBCASEs) HOT 5
- Feature Request: Allow specifying calling convention attributes to Mock methods HOT 12
- Spy some dependencies HOT 3
- ``trompeloeil_movable_mock`` only provides move-ctor HOT 3
- Warnings with gcc's -Weffc++ HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from trompeloeil.