Details
Joined devRant on 7/9/2016
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
-
Totally spammed ++ all over @json-Bourne for having an awesome name and liking this post.
-
I think it's cute.
No, not the sentiment. That custom apps and DIY electronics projects are becoming mainstream.
Does that mean the rest of us nerds who own more micro-controllers than we likely should will be cool soon? -
You see a smile.
I see the layers of depression, anxiety, and suicidal thoughts. I see how each trip to the company coffee machine delays the inevitable slow demise. I see a corporate slave. I see a broken individual who has long since given up on happiness.
I see myself.
*smiles* -
I don't see the problem. I can work with both. And a dozen others. :)
-
This isn't the first time it's been here, either. :P
-
This is pure Sugar
-
@brod
If you like vim you might like thefuck.
https://github.com/nvbn/thefuck
And I really want someone to port this to GUIs. If it hears me scream "FUCK" at my computer, it tries to figure out what I did wrong for me. -
@brod
Ah yeah. You can write JavaScript on the back of a napkin and something will probably run it for you.
My main languages are C#, Golang, and Java. In fact I've used all three today, and C# across two code bases that I'd rather print out and use to start a bonfire with. Sadly, that'd kill way too many trees.
With Golang, an IDE isn't absolutely needed - but it does help - especially with debugging as someone noted above. The vim plugins I use with Golang work well and even provide "IntelliSense" if you would. I hate memorizing every library author's opinionated way to name shit. (Including my own)
C# and Java though, without an IDE you're basically just shooting yourself in both feet before running a marathon. Especially if, as I said before, your job involves working with code that was written by people who preferred storing their heads in their asses. -
@teilo And for the record, I have a modded-out vim install on a special server for Golang development when I'm absolutely fucked and have no access to an IDE. It brings vim "close" to GoLand, but still oh so far away.
And it can only get that close because of the built-in and 3rd party tools available for Go. I'd love to see it do that for the C# code I have to fuck with on a daily basis. Even if it was in a decent enough condition to compile in mono (like it should, and would if I actually had the resources to do it).
Anyway. TL;DR of the last two comments: Right Tool For The Job. -
@teilo Nothing comes close to being able to do a quick shortcut and see all the references where some fucking shitty ass method is being used so you can easily cut away the cancer and try to save the patient.
My dude, I swear everyone here works in fucking fantasy land and no one ever has to deal with other people's bullshit. -
The biggest bitch I have about vim is that it's hard to break the habit of HOME/END/PGUP/PGDN/Arrow Keys.
Running locally in a proper shell, these probably map appropriately... but it seems that these keys are the first to be fucked over by bad terminal emulation or a shitty global config for users.
And if you try running your command line in vi mode, you can't use them at all (at least not that I've had success with) and you NEED to learn the vi(m) way of moving about.
Aside from that, I love vim when working on a server. It's my preferred editor in a console environment. When it comes to being actually fucking productive though, I'll take GoLand, WebStorm, PhpStorm, IDEA, etc. The power of an IDE, especially when you're brown fielding in someone else's shit-laden minefield is far too much to pass off to the ego wank of saying "Oh, I use vim".
But I mean, grats tho. Sublime is shit anyway. -
Interesting!
http://systemof.thedown.website/ -
@practiseSafeHex
I still have to disagree that 'var' and 'any' are the same. Last I recalled, 'any' can dynamically change type through reassignment. In C# 'var' cannot.
So 'var' is as strongly-typed as using a type name. That basically leaves only opinions. In my opinion, you should name your variables and methods well enough that the type name isn't needed.
Another pro for 'var' is decoupling. When you work on extremely large projects, this is something to keep in mind. Refactoring isn't just something we do because the code is bad. It's a natural evolution of the code we write. Decoupling with 'var' allows for that natural evolution to happen more easily. It's not like you'll accidentally break the signature. The compiler will make sure you don't. :) -
@practiseSafeHex
The thing is with C# and doing things the Microsoft Way, you'll be using an IDE with IntelliSense. So you won't need to guess what 'result' is.
Even still, you wouldn't see code like that from me or in this shop. I've been mentored by someone who clean codes in his sleep.
var customer = CustomerQueryObject.Find();
I know what customer is. It's right there in the name. I don't need Customer customer. That's just silly.
Your example with JavaScript and TypeScript is also flawed in the actual functionality of var. In C# var is not a dynamic variable that can change type at will. It's assigned both a type and value. The value can change, the type cannot. So customer will never be a contract later on in the same scope.
Finally, when dealing with generics for polymorphic designs, what is the difference between T and var? -
I'm going to guess either not many people find this funny or far too few Java developers know what the fuck a survivor pool is.
Both are disturbing. -
@sladuled
I don't know. My understanding is that var is a better way of doing things. Plus, if you need to know the type of something, you're probably breaking several key principles.
Golang functions in much the same way, and I think it's spot on.
Edit: I should mention that this is for variable declarations in blocks of code, not when declaring a property. Perhaps that's the disconnect. -
@oudalally Resharper recommends 'var' for everything...
-
@Floydian I did, but I decided to make it my own :)
-
@Floydian if it did, I think many of us would punch it. Repeatedly.
-
Oh, I realize I didn't mention why I posted this here in a clear fashion, though I eluded to it in my comment above.
The anxiety and depression are enough at times that I have entire days without much in the way of productivity. That's even with treatment.
Some days I write code that I'm proud of. Code that earns kudos from my peers and that I know I can feel good for. Other days I feel like I don't deserve my job.
I imagine I'm not the only one who struggles with this. It has gotten better, but damn if it hasn't kicked the shit out of me. -
@zlice I agree. It's hard to truly understand that depression doesn't care what you've accomplished. Even for those of us who endure it.
I also didn't put the suicide tag because I wasn't sure if it would be appropriate. This is just something weighing heavily on me today. I've been struggling to dig out from under it and focus on my work. -
@GMR516 See my comment above. There's plenty to hate, and hating something does not negate the usefulness it may still have. Caveats and all.
I mean it's still better than Expert's Exchange? It's not better than reading the documentation and experimenting yourself until you learn it though. -
@linuxxx Three meals a day and no rent to pay! Then the Don will pardon me anyway. I'll be his biggest fan.
-
@linuxxx Sure, but they come with debt and a slew of issues.
-
@bioDan My rant isn't about others not having their right to privacy.
It's merely an amusing statement that's true about myself.
I'm an open person with nothing to hide, much to the dismay of my neighbors and potentially the government. -
@systemctl I mean, if that's what you're into.
-
@daniello But she needs a crushing ego and dirty neck beard first.
-
@Fradow That risk management bit.
Years ago we had a "Do Not Call List" implemented at the federal level. It was done in such a way that companies weren't prepared and couldn't prove that they didn't call someone. So lawyers would have fun making claims with a settlement offer and companies would simply pay up to avoid governmental fines.
I can see something similar happening with GDPR. From my understanding, all you'd have to do as a user is show some proof that you provided your email address to a company. Then make a demand for personal information. If the company doesn't have it anymore, what happens?
Maybe I misunderstand the law, but it seems like it's ripe for abuse, which will punish the good actors. Already I've had to spend hours upon hours for a small-time shop to prepare for this, and we're not even 100% sure we can't be screwed over by a client who wants to make a point. -
@Fradow And I'm also thinking that a company that is HQ'd in the US would be hard to hold accountable to the GDPR anyway.
-
@Fradow To me, the GDPR is signaling government overreach, not consumer protection.
But that's just my opinion. It's punishing those who already "do good", meanwhile those who would "do evil" will simply pay a lawyer to find the loopholes that likely exist in the law.
I've already found a few of those loopholes myself. You can make it a royal pain for a user to make requests by demanding proof of identity, for one.