News for hackers. Stuff that matters.
Re:The saddest “Just Ship It” story by noir_lord on Thursday July 09, 2020 @02:11AM (#23777419)
> "just ship it" is just as dumb as "never ship it". Why are people so prone to these oversimplified polarazations?

Honestly? I think people (in the general sense) are constrained to the amount of complexity they can handle and the world is a complex place so they fall back on picking a choice/hill to die on as a way of reducing the complexity.

Not a new thing, I work with a guy who is an excellent programmer but will argue for ever that OOP is the right way to build software and that he doesn't see the point in functional programming while writing code with map and reduce inside class methods..

The benefit of a dogmatic approach is you never have to question it (otherwise it wouldn't be dogmatic), small government good, efficiency of the market, nuclear bad, nuclear good, emacs better than vim, vim better than emacs, chrome better than firefox, linux better than windows, mac better than PC, religion good, religion bad - pick a side and never think again(TM).

In reality nearly all of life is some variant of "it depends" and there should be no shame in saying "I don't know enough to have an opinion" and if its important then you go look into it.

The fundamental problem is "reasonably informed opinion held until presented evidence one way or the other" is more work than "strong opinions, loosely held".

Re:The saddest “Just Ship It” story by nindalf on Thursday July 09, 2020 @06:25AM (#23778671)
Off topic, but the best explanation I've seen of the trade-off between OOP and functional approaches is in the book Crafting Interpreters where they explain the Expression Problem - https://craftinginterpreters.com/representing-code.html#the-...
Re:The saddest “Just Ship It” story by LeonB on Thursday July 09, 2020 @07:15AM (#23778927)
That is off-topic, but it is an interesting explanation. It’s a useful example for thinking about a lot of design situations where two different approaches both seem equally feasible yet are very different and incompatible.
Re:The saddest “Just Ship It” story by noir_lord on Thursday July 09, 2020 @07:40AM (#23779091)
God that is a phenomenal explanation, it's beautifully put together.
Re:The saddest “Just Ship It” story by hejja on Thursday July 09, 2020 @03:12AM (#23777731)
many of our positions are emotionally-driven, and then backwards-rationalized

reality: this is too complex for me rationalization: I didn't think there was market fit

reality: It's hard to learn technology x rationalization: OOP / framework / language sucks

Re:The saddest “Just Ship It” story by DonHopkins on Thursday July 09, 2020 @04:41AM (#23778177)
But Emacs IS better than vim. ;)
Re:The saddest “Just Ship It” story by MaxBarraclough on Thursday July 09, 2020 @05:33AM (#23778444)
Can't we all just get along?

And by that I mean, can't we all just gang up on nano?

Re:The saddest “Just Ship It” story by mcny on Thursday July 09, 2020 @06:18AM (#23778635)
I know you kid but the killer features for nano are that

one it is very simple and intuitive

And two, it has the (two? It has been a few years) row footer that literally tells you what buttons to push to save or exit. I didn't know how to exit vim when I first started with git, as is tradition.

Re:The saddest “Just Ship It” story by MaxBarraclough on Thursday July 09, 2020 @06:36AM (#23778728)
I agree about there being no good reason for Vim being so difficult to terminate.

I've introduced a few people to Vim and I have to start out with an apology for how annoying it is to close. If the user hammers the Esc key, it should at least flash up with a hint of how to quit.

It does this if you press ctrl-c, so it's not as if it can't be done.

Re:The saddest “Just Ship It” story by mcny on Thursday July 09, 2020 @06:44AM (#23778770)
That's a great idea. I can take it even a bit further though. The defaults matter. Maybe show a persistent thing at the bottom on how to exit and maybe even throw in what to do if you pressed Ctrl + s and now vim is "not responding". But this involves changing the defaults so it will likely never happen, same way as we will probably never see curl automatically enter a new line at the end of a response.
Re:The saddest “Just Ship It” story by MaxBarraclough on Thursday July 09, 2020 @07:00AM (#23778849)
Personally I wouldn't want that cluttering my Vim sessions, but it would make sense for some sort of 'introductory mode' of Vim.

(gVim Easy seems to just be gVim restricted to insert mode. Not sure I see the sense in that - isn't that just Notepad++ but worse?)

If I could change one thing about curl, it would be for -L to be the default behaviour, so that it would just do the right thing regarding redirects. Instead, wget does the right thing by default, but curl always needs the flag.

Re:The saddest “Just Ship It” story by violetgarden on Thursday July 09, 2020 @08:31AM (#23779458)
We recently got a very green new hire at work. I told him to learn some vim because it would be helpful for him. He went rogue and used nano instead.
Re:The saddest “Just Ship It” story by MaxBarraclough on Thursday July 09, 2020 @09:34AM (#23779965)
If they're new to the command-line, I can see why they'd want to go with something approachable like Nano.

If they're already comfortable with the command-line, but don't know Vim or Emacs, I'd keep encouraging them to take the dive.

Of course, there's also gVim, so perhaps that's not quite the right way to think about it.

Re:The saddest “Just Ship It” story by AlexCoventry on Thursday July 09, 2020 @06:19AM (#23778639)
The vscoders are the real black-hearted traitors.
Re:The saddest “Just Ship It” story by MaxBarraclough on Thursday July 09, 2020 @06:32AM (#23778703)
Vimmers used to mock Emacs as Eight Megabytes And Constantly Swapping. We can make that Eight hundred in the case of Electron-based editors.

(I'm also fond of Escape Meta Alt Control Shift.)