Menu
Forums
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Trending
What's new
New posts
New profile posts
Latest activity
Members
Current visitors
New profile posts
Search profile posts
Upgrades
Log in
Register
What's new
Search
Search
Search titles only
By:
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
Server Development
Habbo Retros
Habbo Q&A
Best EMU 2021
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Oni" data-source="post: 472069" data-attributes="member: 104662"><p>Compare the title of this thread with your previous comment. [USER=72299]@Damien[/USER] at least mentioned the advantages and disadvantages of the current emulators. In any case, you are only expressing your personal hatred of those who stole your old project by saying your emulator would be better. You say emulator, but I'm referring to code, not names.</p><p></p><p></p><p>You don't seem to want to share your code, so it doesn't matter you're right, because YOU know what it's doing. But an experienced .NET developer would question it for a few seconds and refactor it for the sake of readability and maintainability (Like mentioned before you are not interested in people seeing your whole code, so it doesn't matter, right? <img src="/styles/default/xenforo/smilies/emojione/wink.png" class="smilie" loading="lazy" alt=";)" title="Wink ;)" data-shortname=";)" />).</p><p>It's just because the real purpose / thought of your chosen syntax is not being served, BUT it's not bad, at the end it's just a syntax simplification compared to an auto-implemented string property. In IL exactly the same.</p><p></p><p>Do this:</p><p>[CODE=csharp]public string Key { get; } = "something";[/CODE]</p><p>Instead of this:</p><p>[CODE=csharp]public string Key => "ping";[/CODE]</p><p></p><p>The sugar expression-bodied members can bring are such cases:</p><p>[CODE=csharp]public string Key => STRING1 + STRING2;[/CODE]</p><p>or even better</p><p>[CODE=csharp]public override string ToString() => $"{String1} {String2} {String3}".Trim();[/CODE]</p><p></p><p></p><p>Dude, listen. I can tell you with great certainty that none of us here do anything perfect or have the most perfect code.</p><p>But if someone has perfect code, it's because the Task was A) pretty simple or B) took him way longer because he wanted it to be perfect.</p><p>No one is judging you and saying you are bad because of your code, but I wanted to judge the judge right now and I'm telling you stop badmouthing others, you are not better. This a dev forum, you should help the people that you consider as noobs.</p><p>People stole your project? Be HONORED my man. At the end it's just an emulator, not a million dollar project.</p><p></p><p><strong>Edit: </strong>I will try to contribute a lot in the near future, and if you should notice some mistakes in my projects, I am more than grateful if you inform me about them and possibly even tell me the right alternative. Because that's the only way I can grow and become better than before.</p></blockquote><p></p>
[QUOTE="Oni, post: 472069, member: 104662"] Compare the title of this thread with your previous comment. [USER=72299]@Damien[/USER] at least mentioned the advantages and disadvantages of the current emulators. In any case, you are only expressing your personal hatred of those who stole your old project by saying your emulator would be better. You say emulator, but I'm referring to code, not names. You don't seem to want to share your code, so it doesn't matter you're right, because YOU know what it's doing. But an experienced .NET developer would question it for a few seconds and refactor it for the sake of readability and maintainability (Like mentioned before you are not interested in people seeing your whole code, so it doesn't matter, right? ;)). It's just because the real purpose / thought of your chosen syntax is not being served, BUT it's not bad, at the end it's just a syntax simplification compared to an auto-implemented string property. In IL exactly the same. Do this: [CODE=csharp]public string Key { get; } = "something";[/CODE] Instead of this: [CODE=csharp]public string Key => "ping";[/CODE] The sugar expression-bodied members can bring are such cases: [CODE=csharp]public string Key => STRING1 + STRING2;[/CODE] or even better [CODE=csharp]public override string ToString() => $"{String1} {String2} {String3}".Trim();[/CODE] Dude, listen. I can tell you with great certainty that none of us here do anything perfect or have the most perfect code. But if someone has perfect code, it's because the Task was A) pretty simple or B) took him way longer because he wanted it to be perfect. No one is judging you and saying you are bad because of your code, but I wanted to judge the judge right now and I'm telling you stop badmouthing others, you are not better. This a dev forum, you should help the people that you consider as noobs. People stole your project? Be HONORED my man. At the end it's just an emulator, not a million dollar project. [B]Edit: [/B]I will try to contribute a lot in the near future, and if you should notice some mistakes in my projects, I am more than grateful if you inform me about them and possibly even tell me the right alternative. Because that's the only way I can grow and become better than before. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Server Development
Habbo Retros
Habbo Q&A
Best EMU 2021
Top