For the best experience on desktop, install the Chrome extension to track your reading on news.ycombinator.com
Hacker Newsnew | past | comments | ask | show | jobs | submit | history | more tomlin's commentsregister

Ruby maps are so ugly.

  .map { |key_value|
  key_value.partition('=')[-1] }
Reading this literally makes me sick to my stomach. Language design is much more important than language popularity, although it will be popularity that wins. (Yay downvotes for pointing out things everyone can see - highschool dynamics)


Just because it’s a different syntax than you’re used to reading in another language doesn’t make it ugly. If you’re used to reading it and work in the language regularly, it actually looks quite clean.

This sounds like a Windows user who can’t stand macOS because they don’t know where anything is.

Your post downvote edit assumes your opinion here is objective. It isn’t.


Parentheses as pipes is what you do when you’ve backed yourself into a corner.

Ruby has decided (for some reason?) to use two ways to declare.

Function(param, param)

and

{ |param, param| }

why? What is a good reason for this?

It would be an anti pattern in design, not sure why Ruby gets a special hall pass.


   collect: [ :keyAndValue | (keyAndValue splitAt: '=') last ].
is why.

EDIT: (it's been a few months since I used it, so I) made a mistake in the syntax (declared local variable instead of a formal block argument), it's fixed now.


You might as well have leaned on the keyboard, it wouldn’t look much different. This is not readable code.


[flagged]


[flagged]


[flagged]


Posting like this will get you banned on HN, regardless of how right you are or feel you are. Please review the site guidelines (https://news.ycombinator.com/newsguidelines.html) and please don't post like this to HN again.

This is particularly important when your argument happens to be a good one, because in that case you're discrediting the truth by posting abusively (see https://hn.algolia.com/?dateRange=all&page=0&prefix=true&sor... for past explanations of this point). That hurts everyone. It particularly hurts those of us who happen to agree with your view (me, for example—I haven't read much of this thread but I'm pretty sure I've made similar arguments about readability in the past).


I don’t know Russian. Your point doesn’t line up with the topic at all. I know Ruby. I still think it’s unreadable. Can you try next time?

  I feel incredibly sorry for the poor kids you teach. They will be suffering aftereffects for the rest of their lives.
I feel bad that your account hasn’t been flagged for your behaviour on here. For someone who thinks they understand Ruby so well, you certainly haven’t taken any time to understand the rules. Personal attacks? Really? You just showed your cards. Weak arguments are followed with weak ad hominem.

It’s not just me, no one is teaching Ruby to kids because it’s not a good language for readability. Take it up with all of the teachers who see it just as I do.


Please don't respond to a bad comment by breaking the site guidelines yourself. That only makes everything worse.

https://news.ycombinator.com/newsguidelines.html


I'm curious , can you show an example of how to achieve the same in another language that you will consider pretty?


If anything, this is a marketing trojan horse. I think we should do more pushing back and less trying to idolize this behaviour. There was a time where developers made things for themselves or other people, not just marketers. As a developer, I don’t think marketers add value or better workflows. Generally, marketers are driven by intangible goals that rarely produce positive results. I’ll take my deserved downvotes.

The popularity of this just means your marketing bosses will use it to ram this concept down your throat. One of the saving graces against marketers is them not having this sort of direct line to customers. That gate is an important one.

I’m just giving you my experience. You don’t have to like it.


I kind of see your point, but to me FlyCode does not look like a product that will push further this "evil marketers' will" that you speak of.

It will allow product owner and his product team to make instant changes to their product, save precious developer time and reduce the amount of people required in the loop. All this product brings is benefit of saved time and resources.

It does not propel the marketers' feel of power. I keep thinking this tool will help the non-technical app owners to instantly make necessary changes without having to pay for this service and wait few days.


I do think FlyCode will be most impactful at companies with the least effective marketing arms. Liberating Engineering/Product from time-consuming marketing maintenance means they're free to work on problems that might otherwise be back-burnered. It also places accountability for marketing results more cleanly in marketing's hands.

If a marketing team is so incompetent they manage to tank the company by changing copy and images, well, that's a deeper problem and they should be fired, not babysat.


> well, that's a deeper problem and they should be fired, not babysat.

How that mentality works out in the real world: https://en.wikipedia.org/wiki/Cambridge_Analytica


Founding Engineer here. We are passionate about the use case for R&D as well as marketing. We see Product Managers, UX Designers and UX copy editors editing copy and images through the platform.


This is cool. Ignore the people, like the above, who are scared of change and teamwork. Keep building!


Hey, please don't take my comment as an attack. It's a lot of hard work, but I have to give my perspective - which also involves a lot of hard work in that I have been pushing marketers back for years, for everything from unnecessary personal information capture to portraying negative images of young women. Unleashed, marketers don't do well for us or the world.


We're happy to field any questions or opinions without judgement :) if one person shares theirs we assume others may think similar... that's why we love HN


interesting perspective. but i doubt this is a tech problem. instead, it is highly likely an organizational problem. FlyCode is a technology that reduce friction, but it is up to how you use it.


That wasn't the argument that was being made. Do you have commentary on the content of the article, or just that you don't like that he had a non-party line opinion?


Nothing in the article is fresh news. Sam Newman made many of these same points himself in his 2015 book on microservices.

The article does _not_ discuss why engineering teams ignore that advice.

Companies see microservices as a silver bullet for solving complexity. Inexperienced engineers attracted to shiny things jump on the bandwagon. Vendors sell tooling to deal with the new complexity. But in that case, if it wasn’t microservices, it would be OOP, FP, SPAs, RPC, RDBMS, NoSQL, etc. The problem is the hype cycle. Over-use of microservices is only a symptom.


He didn't label it as "news", it was an opinion. Regardless if it was said before, who cares? He's not allowed to speak on his experiences because it offends your MO?

I think the opinion he had was justified by his own experiences, which mimic my own - and many of those working at smaller agencies/dev shops (you know, the vast majority of the workforce). It was nice to read something not entirely in the perspective of a Silicon Valley developer drunk on his own ignorance of the rest of the world.


Check out my comment history and you’ll see that I agree with the points too! But the bar for a good Hacker News post is “interesting”. Opinions that are widely agreed with on here, and have been for years, don’t meet that for me personally. That’s my say on the matter, you of course are welcome to yours.

For what it’s worth, I live in the UK, and have never been to the US.


I implore you to watch the incessant, and regular posts on HN claiming that microservices are the future for everyone and everything, and then be there to tell them you've seen this before. My guess is you won't be as lead-footed in those cases. The idea that if you write an article or an opinion, and have to do an hour of research to see if its been covered before is a high level of micromanagement that you just aren't ever going to see, I'm sorry. It's super unrealistic to expect that.


Sure. It’s also super-unrealistic to expect me not to criticise the article for being boring.


> "where you can get a whole bunch of likes by saying “microservices bad amirite?!”

Okay.


Your analogy doesn't work because people /do/ like Tacos, and people /do/ like Facebook to not be TikTok. The proof is in the active users. Silicon Valley is such a self important circle jerk. You can operate a business, it lose users, and still exist. Christ.


> TikTok is really taking over and is a force.

So that means what? That other social medias can't exist unless they are on the absolute top? Sounds like a race to the bottom, patched up with investor creole language bullshit.


Did you forget how Friendster and the ones before lost their user base overnight? Facebook was not in that situation because so far there hasn’t been a worthy competitor. They bought the last two, and it’s not possible with TikTok. Facebook is pissing it’s meta pants.


I didn't forget. I also didn't forget that they burned all of their money, and didn't pay their taxes. I think you're extrapolating a lot from nothing.


Sorry, why is creole being referenced here?

Is this an inside joke/reference I'm not familiar with?

Is it a typo?

Edit: Thank you all for the replies. I am aware of and respectful of the literal definition.

The usage on the comment I responded to strikes me as either antiquated, inaccurate, or a typo.


'creole' has developed a linguistic meaning that parallels the ethnic one you may be interpreting.

From Wikipedia: a stable natural language that develops from the simplifying and mixing of different languages into a new one within a fairly brief period of time: often, a pidgin evolved into a full-fledged language.

I still found the comment to be a bit of a stretch with that usage.


Agreed.

Is there not a better or more general word we have for this these days in English?

Maybe we could borrow it from the Germans. I do like words like Schadenfreude.


You all need to get out of Silicon Valley. Creole languages, such as Jamaican are not only completely normal and exist, it's actually not antiquated if you look outside of the US.

I do think you need to read more about this. You seem hung up on a singular meaning, which to me says a lot more about you than me. In this context, unless you're going to be obnoxiously pandentic, creole simply means "a bunch of words and phrases smashed together" Really not worth going into highschool mode about.


Yeah, and you used it in a way that made it sound derogatory.

"Creole bullshit"

I expect the Yankees and the city folk to do this unintentionally, but not one of our own.

I have never lived in Silicon Valley.

My parents are from N'awlins (New Orleans, Louisiana).


What was said is it sounds like bullshit spouted by investors in a pidgin language they made up. Derogatory intent seems doubtful.

TIL creole can be a trigger word. I've only heard it used as "a creole language" and have never even heard anyone use the word relating to its original meaning (though I was vaguely aware of it). Personally, I'm more likely to use the word "creole" than "pidgin language", not sure about others though.


Creole itself is not a trigger word.

Considering it as a poster-child or general term for "bastard", "degenerate", "inbred", or "made-up" way of speaking is the issue.

That was the sense I got from the original comment.


Yeah, except no one said that except you. "your sense" and my own words aren't the same, clearly. All of the words you just used to describe "creole" weren't even on my radar. Didn't even know it was a thing. Take a rest, guy.

Also, all languages are "made up".


> Yeah, and you used it in a way that made it sound derogatory.

> "Creole bullshit"

They didn't write that it sounds like "creole bullshit", they wrote that it sounds like "investor creole language bullshit" ie) bullshit in an investor creole language ie) investors saying bullshit in a language consisting of words which mean one thing in English but which have a different meaning in the language the investors are speaking.

You've clearly totally misinterpreted the original post due to an unfamiliarity with the linguistics term "creole language", a term which does not even derive from the Creole peoples of Louisiana (although both the people and the term share a common French root).



I think patois may be a better word


Do you maybe think you've left the actual topic?


I'd assume they're referencing it being something like a pidgin language.


[flagged]


Creole, such as Jamaican, are languages that exist - and discounting them is the actual racism. This post isn't even about race, or even a group of people. Take a rest.

You realize I was calling the practice of ignoring facts and bullshitting people "bullshit", right? How is this hard to follow? Next time instead of reacting, try humanity. Creole languages aren't even predominantly non-white. Feels like projection of your own bigotry, honestly.


In the above context it seemed to be used as a derogatory term. Perhaps the more neutral “jargon” would have been less loaded and more accurate, since marketing jargon is not, in-fact, a creole


Some movie writer is bookmarking this for a future script.


Some startup is bookmarking this for a future Zoom/Teams plugin for your boss to buy to ensure your attention at all times…


Fork it and change this to -

> algorithm improvements and better n-gram statistics

GPT-3

And you got a startup going.


  – Back then Jack, active CEO, enacted this ban.
No. He's even commented on this. He was CEO at the time, with a board of directors. He didn't "enact" it any more than any CEO "enacts" every single decision at any company.


Honestly, this whole "Elon Musk is the enemy" narrative has to take a self-reflection.

"Current Twitter" – the one that is supposingly the angel of protecting the will of the people – got Trump elected. Full stop. Trump's tweets were promoted by Twitter. So in the life time of Twitter, "Current Twitter" wants to take credit for the last 5 seconds? Good luck with that.


This take should be framed and pinned to the top. Of all the hinged/unhinged comments, this one tries hard to be principled in fact. It's getting tiring hearing about how this heir to an emerald mine was going to enslave us all.


You mean marketers. Marketers have become developer's bosses in a lot of agencies.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search:

HN For You