|
ratbert90 posted:programmers who refuse to use IDE's are the absolute worst. Writing code in an IDE is a step above finger painting
|
# ? May 11, 2018 00:17 |
|
|
# ? Jun 5, 2024 08:47 |
|
ratbert90 posted:Every, single, loving time I open up code from a programmer that refuses to use a IDE, it's just a sea of red and yellow bullshit. Add a lint/format/style step to your CI. You have CI, right?
|
# ? May 11, 2018 00:19 |
|
Yesterday I had to write 10-15 lines in an editor that didn’t auto close braces and I was incredibly angry about it.
|
# ? May 11, 2018 00:21 |
|
This Grails project was developed in a plain text editor for so long that the Groovy compiler crashes when IntelliJ tries to build it.
|
# ? May 11, 2018 00:27 |
|
UraniumAnchor posted:Add a lint/format/style step to your CI. You have CI, right? I'm not doing this for several reasons, but I'm curious: adding a formatting step to the project build definition makes sense, but how does it work if you make the CI do it? Like, every time a user pushes a commit, the CI automatically runs the code formatter, then pushes the resulting commit? So every time you commit some code, you need to wait for the CI to run, then pull so you get back the formatted code? And if you forget you get probably really nasty merge conflicts next time you push? Or are you supposed to run the formatter before committing (hopefully as part of the build definition), and the CI step is just a safeguard that only makes a new commit in the event you forgot?
|
# ? May 11, 2018 00:29 |
|
You're supposed to run the formatter manually, CI runs the formatter and fails if it turns out you didn't.
|
# ? May 11, 2018 00:31 |
|
NihilCredo posted:I'm not doing this for several reasons, but I'm curious: adding a formatting step to the project build definition makes sense, but how does it work if you make the CI do it? The world is your oyster. I have used all of the systems you describe. The nasty merge conflicts are a real problem. My preference is to run the linter locally and reject builds on CI where the linter suggests any changes.
|
# ? May 11, 2018 00:33 |
|
Jabor posted:You're supposed to run the formatter manually, CI runs the formatter and fails if it turns out you didn't. Yes, this is what I meant, sorry for the lack of clarity.
|
# ? May 11, 2018 00:44 |
|
xtal posted:The world is your oyster. I have used all of the systems you describe. The nasty merge conflicts are a real problem. My preference is to run the linter locally and reject builds on CI where the linter suggests any changes. Yeah, that's what we do -- when you push your changes to code review, it automatically lints it (and runs a bunch of other checks) and won't let you commit unless it's clean.
|
# ? May 11, 2018 01:42 |
|
https://twitter.com/peregrinogris/status/993513838686408704
|
# ? May 11, 2018 05:19 |
|
Holy poo poo that's amazing.
|
# ? May 11, 2018 05:57 |
|
The Fool posted:Yesterday I had to write 10-15 lines in an editor that didn’t auto close braces and I was incredibly angry about it. After a few months of hemming and hawing at my new job, I finally switched from Vim to Netbeans. I had to turn off so many autoformatting options that annoyed me to no end. I hate autocompleters. (Of course I installed a vim plugin into Netbeans so it doesn't feel like programming in Notepad. )
|
# ? May 11, 2018 08:59 |
|
I'm learning the code our team uses to test the UI of one of our department's products. Aside from the usual anti-patterns, none of the assert statements for the tests are actually in the test classes. I
|
# ? May 11, 2018 12:47 |
|
UraniumAnchor posted:Add a lint/format/style step to your CI. You have CI, right? You can do that in precommit hook as well edit: oh, sorry, this is me begin stupid and replying before reading ahead NihilCredo posted:Or are you supposed to run the formatter before committing (hopefully as part of the build definition), and the CI step is just a safeguard that only makes a new commit in the event you forgot? We do formatting/linting before commit, and validation on CI - CI doesn't change code, it just barks when code doesn't comply to standard canis minor fucked around with this message at 12:57 on May 11, 2018 |
# ? May 11, 2018 12:53 |
|
SardonicTyrant posted:I'm learning the code our team uses to test the UI of one of our department's products. Aside from the usual anti-patterns, none of the assert statements for the tests are actually in the test classes. I Sounds like your codebase expectations have experienced disruption, you should thank whoever wrote that. Maybe get him a nice gift such as a pint of blood from a young person
|
# ? May 11, 2018 13:14 |
|
xtal posted:The world is your oyster. I have used all of the systems you describe. The nasty merge conflicts are a real problem. My preference is to run the linter locally and reject builds on CI where the linter suggests any changes. I just recently checked in a .editorconfig for a project that has windows and osx developers fighting over spaces/tabs and line endings. (gently caress people who have editors that put in UTF-8 BOMs. gently caress them to no end.) I'm not looking forward to the spooky diffs for the next few months or how bad blame/annotate will get poo poo wrong.
|
# ? May 11, 2018 14:27 |
|
xtal posted:Writing code in an IDE is a step above finger painting I use an IDE for my projects mostly because it's easier to program a microcontroller through one. Though I edit my code in vim.
|
# ? May 11, 2018 15:57 |
xtal posted:Writing code in an IDE is a step above finger painting iospace posted:I use an IDE for my projects mostly because it's easier to program a microcontroller through one. I use an IDE because they are good and I'm not a masochist who deprives themselves of useful tools in pursuit of nerd cred
|
|
# ? May 11, 2018 16:10 |
|
ChickenWing posted:I use an IDE because they are good and I'm not a masochist who deprives themselves of useful tools in pursuit of nerd cred Masochist yes, nerd cred? Not really. Only what I ended up learning on in a Linux environment and I got used to it over a traditional editor.
|
# ? May 11, 2018 16:31 |
|
I use vim and commandline file management/search tools because they're transferable to every language I work with and I don't have to dick around with setting up the IDE and project and so on. Yes, IDEs can do a lot of good, but they also introduce just enough friction that I don't want to be bothered with dealing with them. Plus, lately most of my work has been in email, docs, and chat, not so much in the code.
|
# ? May 11, 2018 17:04 |
|
I purposely try to switch my editing toolset up at least once a year. I've always disliked the idea of getting to the point where I just can't function if I don't have my editor or IDE of choice.
|
# ? May 11, 2018 19:40 |
|
Thermopyle posted:I purposely try to switch my editing toolset up at least once a year. Please source your quotes
|
# ? May 11, 2018 19:44 |
|
Suspicious Dish posted:Please source your quotes Although it probably does explain something about your views on js apps.
|
# ? May 11, 2018 19:51 |
|
Merijn posted:After a few months of hemming and hawing at my new job, I finally switched from Vim to Netbeans. I had to turn off so many autoformatting options that annoyed me to no end. I hate autocompleters. There are two auto-formatting options that I get really annoyed about if I don't have them: auto-indent and auto-close brackets Nearly any other editor/ide feature I could work around not having, but not having those features really messes up my flow when I'm actually writing new code.
|
# ? May 11, 2018 19:53 |
|
What I hate is auto-indent that has opinions on what indentation level I should be at. Like, when I hit enter, I want to be either at the same level of indentation as the prior line, or +- one or maybe two indentations depending on what said prior line was at. I don't want you looking at the entire doc, going "Ah! This is an XML doc and you're 8 tags in, so you should clearly be 8 levels indented!" No, gently caress you, I purposely broke indentation rules 100 lines earlier so the drat thing would be readable, stop insisting I do things your way.
|
# ? May 11, 2018 20:18 |
|
I mean, let’s be honest here. The only good IDE for most languages is a IntelliJ IDE.
|
# ? May 11, 2018 20:19 |
|
ratbert90 posted:I mean, let’s be honest here. The only good IDE for most languages is a IntelliJ IDE. You mean JetBrains. IntelliJ is their jvm-languages IDE (java, scala, groovy, kotlin), PyCharm is their python IDE, and they got one for .NET too.
|
# ? May 11, 2018 20:36 |
|
ratbert90 posted:I mean, let’s be honest here. The only good IDE for most languages is a IntelliJ IDE. Rider is fuckin' great.
|
# ? May 11, 2018 20:42 |
|
Every time this dumb IDE conversation comes up all I hear is a bunch of grumpy old men complaining about change. IDEs continue to improve as time goes on, and lots of the modern ones are pretty configurable. I'm reminded of all of the blogs out there along the lines of "I tried VS Code over emacs and it was good, but it's still has these annoying modern things that I don't like. Edit: 5 mins after this post twitter has informed me that I can disable all of the things I don't like, while keeping the things I do." I mean nothing's perfect, but it's the whiny reluctance and the blatant bias that it will suck before even trying it that gets me. This looks cool as hell and I am interested to try it out next time I need to write some C#: https://www.youtube.com/watch?v=Tgfa7mMe2uY Right now I'm in a miserable world of PHP, and I would die without an IDE. I need that god drat help to remember that strpos($haystack, $needle) with no underscores in the name, vs array_search($needle, $haystack), where it has an underscore in the name, and then the god drat parameters are flipped. Tooltips with parameters and documentation, or the ability to peep into functions. Ctrl click to navigate right to it. Realtime linting and BPA, which means not only do you let CI enforce company policy for formatting and documentation, but everyone can get instant feedback. Collapsible classes, methods, schema. VCS integration with diff tools and automatic nagging of newbie devs that never remember to pull before working. Debugging right in the editor. Lots of them support a ton of languages now and have per workspace and global customizations, that can be transferred or synced. I mean I dunno. You guys do you, but it just sounds like stubbornness to me.
|
# ? May 11, 2018 21:10 |
|
VSCode is bad because electron apps are bad yo.
|
# ? May 11, 2018 21:20 |
|
itskage posted:I mean I dunno. You guys do you, but it just sounds like stubbornness to me. It is definitely stubbornness and unwillingness to change. Sometimes it's warranted sometimes ... meh, you're working way harder than you should.
|
# ? May 11, 2018 21:20 |
|
it's a strawman to assume emacs or vi or whatever don't have those features
|
# ? May 11, 2018 21:47 |
|
vi and emacs have shitloads of editing features and it's only in the last few years that modern-style editors have come close.
|
# ? May 11, 2018 21:49 |
|
necrotic posted:VSCode is bad because electron apps are bad yo. counterpoint, vscode is cool and good
|
# ? May 11, 2018 21:54 |
|
The Fool posted:counterpoint, vscode is cool and good I've tried it a few times and each time is a resounding "meh".
|
# ? May 11, 2018 22:33 |
|
Nothing within 50 feet of JavaScript is good
|
# ? May 11, 2018 22:43 |
|
vscode's blinking cursor kills your battery. can emacs do that?
|
# ? May 11, 2018 22:49 |
|
Bongo Bill posted:vi and emacs have shitloads of editing features and it's only in the last few years that modern-style editors have come close. Every time I see someone say this they invariably have no clue how much functionality IDE's actually have. It's like my old coworker who insisted for years that xcode was an amazing and powerful IDE. Then I finally managed to get him to use IntelliJ for long enough to learn its capabilities and he started downloading Jetbrains IDE's for every language and platform he could because once you have it you can't live without it.
|
# ? May 11, 2018 22:53 |
|
Visual Studio is mother, Visual Studio is father. I'm likely the only one who will get this reference.
|
# ? May 11, 2018 22:56 |
|
|
# ? Jun 5, 2024 08:47 |
|
FrantzX posted:Visual Studio is mother, Visual Studio is father. Or you know, any nerd that grew up in the 90's
|
# ? May 11, 2018 22:57 |