Details
-
AboutCaffeine,Code and Creativity.
-
SkillsJavascript, C#, Java, Scala, Designing.
-
LocationBerlin, Germany
-
Website
-
Github
Joined devRant on 12/20/2017
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
-
@hjk101 yo! Thanks mate
-
Point being there are cases when it certainly is valid to have this convention.
And taking it to the extremes is definitely a wrong thing. No denying there. But my original point is if there was a set of developers who decided to follow a convention, it is for everyones benefit to follow it. Only if it is stupid like the _ thing, then get rid of it. Or like you said, alphabetical order for enums will be incorrect in almost all languages. -
@hjk101 as an argument, what you said stands. But ofcourse what I said comes with a certain stupidity barrier. Ofcourse naming all variables with only one character _ is a stupid convention.
How about having imports in alphabetical order ? How about a huge ass translations file in alphabetical order? -
@cygnus we had the same thing in our linter. I just updated my editor to save it alphabetically. Should'nt really be a developer concern
-
Because your code outlives your lifespan on a given project and conventions take it long way. If it is understood and accepted that things should be in alphabetical order, then complying keeps things easier for people who'll take over as they can expect the same conventions followed across the code base.
Today it is alphabetical order, tomorrow someone would crib about camel case. Man, are we going backwards!! -
@useVim well in JS, we just do an Object.freeze.
-
@Oktokolo oh you're right! Haven't created the PR yet. Thanks 🙌🙌
-
@zlice true that. There's only one other guy working on this with me and both of us have a good mutual understanding of the coding standards and so far, we have been able to keep them to a good enough level. Lucky about that!
-
@Anchor sorry mate, trade secrets.
No well writing an enum for a schedule type. We have start of month and middle of month.
And then we also have monthly and one-off payments. So the name schedule type was already taken by this. -
I think you should download it. It'll get you down to 1/10.
*Based on personal experience* -
What anti virus is this. Seems more like a virus 😂
-
Not these days. Has been that way forever.
-
@webketje doesn't work that way. You actually get those components.
Your travel allowance from the CTC for example is still transferred to you. Just that you gain tax benefits for that. The employer doesn't eat that up. Just that the end in hand salary looks better. -
Also the biggest difference is the abundance of available work force. In India, the calculations are in terms of number of resources and not talent. Also there's always another smarter person who's willing to work at a lesser salary than you.
And yes companies outside India also ask the same questions (perhaps in a more sophisticated way), HRs try to fit you into their budgets, that's their job.
I remember applying for Ubisoft, asking for X amount even before the process started, and getting an offer letter at the end for almost X/2. I was so angry for wasting my time. And the HR justified saying we are the biggest gaming company, you should join.
I have similar experiences where the first person says yes that definitely fits our budget and the last person in the chain says : sorry, we assessed you and we think this amount is inappropriate.
Long story short, it's a shitshow everywhere. -
It is structured similarly. They just don't term it as CTC. But TDS is fairly common everywhere. And with that, the company definitely needs to calculate employee tax and the deductions apply.
It'd be the labour laws that would guide what a company can call a compensation. And hence the term cost to company, which is really smart. -
@mundo03 nah that's okay. There's always something new.. no shame there..
-
@mundo03 It's an exaggeration, and it's a commonly used software community joke. Ofcourse people can function without SO.
-
@witchDev it.was.a.joke.
-
But aren't they?
-
Prosus is Naspers. They have always had a big chunk of the internet silently.
-
Fastly was facing issues. It's up now.
There's tons of other sites facing issues including Pinterest, GitHub, Paypal, Quora -
So our pipelines failed. Turns out npm uses fastly too.
Not all packages perhaps. Some of them though. -
Update: https://techcrunch.com/2021/06/...
-
Good one..
-
It's framework specific. But .env is by far the most commonly used convention.
It's a good question and I remember having these when I had just started coding professionally.
Quick summary -
.env will be machine (physical/container) specific
You don't commit your .env file to source control (there are situations where you would, but there always are exceptions)
Example : .env on your machine has a db config for local db and .env on production has a db config for production, the app runtime just picks up the same file everytime.
This is the core idea. There are setups where you have config files like prod.conf, local.conf and the .env file toggles which one to pick (so you could connect to multiple dbs - prod from local - as from the above example) -
@Berkmann18 yeah me neither. Achieving the simplest things in java sometimes requires shitloads of boilerplate.
-
@Berkmann18 I believe the strangest thing for a ts guy to move to c# is interfaces.
-
@Berkmann18 and don't get me wrong. I'm off c# programming long way back. Not trying to support c#.net in any ways.
I moved away purely due to the job market and the not so open source nature of .net then, which they addressed with core. -
@Berkmann18 these feelings, I believe are mutual within the .net community as well. Meaning the .net community definitely hates the mental model and verbosity other languages have to offer.
In my humble opinion then, your preferences can only drive subjective hate. Objectively, there's nothing wrong with a particular language. -
What is it that you hate about c# ? (leaving aside any prejudice against Microsoft)