2022年11月22日火曜日

Q. Which do you prefer Ruby or Python?

https://jp.quora.com/Ruby-to-Python-deha-dochira-ga-suki-desu-ka

A. Masahiro Ishizuka.

Ruby teams are full of disadvantages in my opinion, because only the person who first developed in Ruby can maintain and collaborate with the Ruby team, unless you get very high level people together, which is a huge liability for the company and the cause of ever increasing bankruptcies.

If you develop in Python, you can rest assured that you have a worldview based on the legal order, and you can develop with a secure team and take over with confidence.

If you develop in Python, we recommend that you use the FastAPI framework with SET, which is as fast as the Go language's Gin framework.

Python's FastAPI also works well with Snowflake, which was created by a former Oracle employee.
So, I would develop a Tableau AI dashboard as a government cloud, and use it to translate your face and video into a government cloud.
I'd like to develop a Tableau AI dashboard as an administrative cloud and make my face and video semi-transparent so that it can be easily used for TV chats between governments on domestic and foreign policy issues, the judiciary, the legislature, the executive branch, and the private sector including trading firms, and between the private sector and the government, etc. We are seriously considering to make the TV chat environment with Tableau's AI dashboard available to the world through a business alliance between Google, Amazon, and Microsoft's Azure as the second candidate of the official website. After business hours, I think it would be great if AI robots could respond like a chat commerce service and enjoy mail order sales like a second Amazon.

Aon CEO Masahiro Ishizuka
090-7555-5011
norukia.jp@gmail.com

https://aon.co.jp


In preparation


ーーー

Rubyチームは、よっぽどレベルが高い人が集まらないと、最初にRubyで開発した本人しかメンテナンスや共同開発出来ないので、個人的にはデメリットだらけで、企業にとっては巨大な負債であり、倒産の原因が増え続ける原因だと思います。

Pythonでの開発なら法の秩序に基づいた世界観があり、安心してチームで開発したり、安心して引継ぎが出来るので安心できます。

Pythonで開発するならGo言語のGinフレームワーク並みの高速性のFastAPIフレームワークをSETでご使用になられます事をお勧め致します。


PythonのFastAPIは、元オラクル出身者が作ったSnowflakeとも相性が良いので、

それで、

Tableau(

タブロー)のAIのダッシュボードを行政クラウドとして開発して、

それと自分の顔と動画を半透明にして政府間で内政問題、外交問題、司法立法行政府のe-ガバメント化ことデジタルガバメント化による公務員の大幅人員のリストラ問題、

や政府と貿易商社を含む民間、民間同士などでTVチャットで利用しやすい様に、Google検索結果で表示される公式サイトの2番目の候補に、GoogleとAmazonとMicrosoftのAzureが業務提携して連携して

Tableau(

タブロー)のAIのダッシュボードによるTVチャットがすぐに開始出来る環境を世界中に広めたいと本気で思っております。営業時間外は、AIロボットがチャットコマースの様に対応して第二のAmazonの様に通信販売も楽しめると良いと思います。


Aon CEO 石塚 正浩

090-7555-5011

norukia.jp@gmail.com


https://aon.co.jp

準備中




ーーー

Here's the answer you posted.

This can be edited or deleted at any time.

Sort by

Profile photo of Kenn Ejima

Kenn Ejima

 -Kenn Ejima 

Follow Kenn Ejima

Software Developer

Takeo Yamazaki

(passed Python exam) rated it highly 3 years ago

I'm a Ruby fan, Quora is a Python company, and Python is one of my favorite languages, but compared to Ruby, it's not sexy enough.


Ruby and Python are so similar in terms of their position as lightweight languages that you could say they are brothers and sisters, but the interesting thing is that they are almost the exact opposite in terms of language philosophy.


Ruby, because it carries the context of Perl, is liberal in its TMTOWTDI, or "there are multiple ways to do the same thing," whereas Python, as declared in Zen of Python, is anti-TMTOWTDI-ism, as in "There should be one-and preferably only one-obvious way to do it." There is a dogmatic philosophy.


If you want a textbook orthography of definitions of what programming is, like the scriptures, you are better off with Python, which has no flexibility in the way it is written. In fact, Python is often used in education for beginning programmers. And many people will continue to use Python for a long time.


However, what about natural languages such as Japanese and English in the real world?


It is more common to have multiple ways of expressing the same... (read more)

Profile photo of Nagai Shinya

Nagai Shinya

 -Nagai Shinya 

Follow

Former data analyst at DATUM STUDIO Corporation and many other things (2016-2018)4 years ago

I am a person who used both ruby and python in practice.


I like both languages, but in order, I prefer ruby.


1. the appeal of ruby


I think the appeal of ruby is its consistency and flexibility.


For example, ruby has the following language specifications


It has no primitive types and treats all values as instances.

All instance classes inherit from Object (BasicObject to be exact).

In addition to these specifications, the ability to re-open Objects (changing the behavior of a predefined class) allows for extensions that would change the language specification itself.


The above features are used, for example, in the implementation of the #blank method in ruby on rails.


In my opinion, the appeal of ruby is that it is both consistent and flexible. 2.


2. python's appeal


On the other hand, the appeal of python for me is its flexibility, which comes from the fact that it has abandoned its commitment to consistency.


For example, in python, there are "functions" without receivers and "methods" with receivers, and their use can be inconsistent.


Reference :


https://docs.python.jp/3/faq/design.html#why-does-python-use-methods-for-some-functionality... (read more)

Profile photo of Kuruba Osamu

Kuruba Osamu

 -Kuruba Osamu 

Follow Kuruba Osamu

Expert in: English (language)Nov 16

I hate tab nesting, which is like prison work in Python.

I said, "Please, I can't get the tabs to line up, Sir. 

Instructor "The editor you are using is lame.

I "vi is still more sexy, it's not a child's toy, please let me write programs in free format".

Instructor "This is a specification for idiots like you who can't follow coding conventions".

I "Ok, I won't do Python, I'll do it in Ruby".

Related questions

What can Ruby do that Python can't?

Which comes first, SQL or Python for learning data science?

Which should I learn first, Java or Python, and why?

Profile photo of Yasuhiro Niji

Yasuhiro Niji

 -Yasuhiro Niji's profile picture 

Follow me on Twitter

Independent Developer (2013-Present)Updated 2 years ago

If you compare Python and Ruby purely as programming languages, it is hard to say which is better.


However, since Python was the programming language of hackers, it has many excellent libraries, so Python is superior as a development environment, including libraries and other peripherals. In particular, if you want to create data science or machine learning programs, Ruby has almost no libraries that you can use, so you have no choice but to choose Python.


Ruby is an excellent language, but it lacks consideration for library developers. For example, it refuses to add type annotations (do you think it would be the best language if Ruby implemented typing like TypeScript? In the case of Python, by adding type annotations to the language specification, libraries that require type annotations can use the types in a unified specification, and pure python code with type annotations will still work.


Introducing type annotations into a language is one thing, enforcing type annotations is quite another. It is fine if you don't like type annotations, but it is necessary to allow people who need type annotations to use them without problems.


Python is a language that is very ... (read more)

Profile photo of Kojima Tadashi

Kojima Tadashi

 -Kojima Tadashi's profile picture 

Follow Kojima Tadashi

4 years ago

I like Python because it doesn't force you to think, while Ruby forces you to write like this.


However, I dislike Python's forced indentation. It's very inconvenient that you can't cut and paste code freely (you have to match the indentation of the code you are copying and pasting), and you can't copy a part of a script and run it with a REPL (which causes an indentation error).


In the development of machine learning programs, for example, it is a continuous process of trial and error, and I would like to develop while trying out various things by running them one at a time. Of course, indentation should be adjusted when there is a break in the process (such as when committing to git), but I really don't want to force indentation during trial-and-error.


Profile photo of Masahiro Ishizuka

Masahiro Ishizuka

Former Representative 3 min.

Ruby teams are full of disadvantages for me personally, because only the person who first developed in Ruby can maintain and collaborate on development, unless people of very high level are gathered, which is a huge liability for companies and the cause of ever-increasing bankruptcies.


If you develop in Python, you can rest assured that you have a worldview based on the legal order, and you can develop with a secure team and take over with confidence.


If you develop in Python, we recommend using the FastAPI framework with SET, which is as fast as the Go language's Gin framework.


Ruby teams are full of disadvantages in my opinion, because only the person who first developed in Ruby can maintain and collaborate with the Ruby team, Unless you get very high level people together, which is a huge liability for the company and the cause of ever increasing bankruptcies.


If you develop in Python, you can rest assured that you have a ... (read more)

Profile photo of Shunichi Arai

Shunichi Arai

 -Shunichi Arai 

Follow Shunichi Arai

Programmer turned software entrepreneur 4 years ago

Ruby! I love block syntax and utilizing it, like map and inject.


I don't like Python because it becomes incomprehensible when you nest list comprehensions. Why can't lambda only write expressions?

A1a's profile picture

A1a.

 -A1a 

Follow A1a

Programmer & farmer (1992-present)July 3

In my opinion.


I think Python is the way to go in terms of libraries, Ruby on Rails is not bad, but it seems to have more and more tools that allow you to do what you want to do quickly and easily. I think that Python will probably be the dominant language in the next few years.


I told my son that if he was going to do Java or Perl, Python would be a good place to start. I told my son that Python would be good at first if he wants to do Java or Perl.


However, I often use Qt to create screens these days, and I think there is not much information in Japanese. It's like converting C++ information into Python.


But I thought I could teach them that.


To be honest, if you want to make a screen application in Qt, I think C++ is the best. The finished product would be small. But my son said it was too hard, so I decided to use Python.

Profile photo of Ryousuke Fujisawa

Ryosuke Fujisawa

 -Ryusuke Fujisawa 

Follow him on Twitter

Outside Director (2020-Present)March 29

Python has shitty indentation regulations, so I choose Ruby.


Python's shit indentation is seriously like this.

Off.tokyo has either daily news, or high-tech information, or interesting stories for programmers, or programmers ....

 https://off.tokyo/blog/python%e3%81%ae%e7%b3%9e%e3%82%a4%e3%83%b3%e3%83%87%e3%83%b3%e3%83%88%e3%81%af%e3%81%be%e3%81%98%e3%81%a7%e3%81%93%e3%82%93%e3%81%aa%e6%84%9f%e3%81%98%e3%80%82/


... (read more)

Profile photo of Akihiko Suzuki

Akihiko Suzuki

 -Akihiko Suzuki 

Follow

Former Programmer (1987-2020)updated 3 years ago

Python lover.


Ruby is designed by Yukihiro Matsumoto and is beautiful, but I think the advantage that others have written "there are many ways to write" may be troublesome to read later.


Others have written that Python doesn't like blocking with indentation, but it's not so hard with IDE, and I've thought about blocking with indentation in my graduation research, so I prefer Python.


I like both with #Perl.

Oba Hideyuki's profile picture

Oba Hideyuki

 -Oba Hideyuki's profile picture 

Follow @ObaHideyuki

Systems Engineer, Legal (Scrivener) (2010-Present)4 years ago

Python.

 It's standard in Linux. Ruby is not included, so it takes a lot of work to install it.

 Conversely, that's the only difference, and either language is fine for development.

Profile photo of Admin-kun (part-time programmer)

Admin-kun (Part-time Programmer)

 Admin-kun (Part-Time Programmer) 

Follow us on

Lives in Yamaguchi, Yamaguchi (2021-Present)1 year ago

Python.


The logo with the two snakes attached is kawaii.


Putting that aside.


I think Ruby is easy to use once you learn it, because it works with a small amount of code, like a bunch of functions that could be used for web development.


Python is a language developed by people who want to write code that reads like English text.


The code is easy to read, and people from various genres use it, so there is a wide range of libraries.

Yoshi Noda's profile picture

Yoshi Noda

 -Yoshi Noda's profile picture 

Follow Yoshi Noda

Get a dropout from San jose state university 4 years ago

I've never written Ruby, so I can't really compare the two.


I've never written Ruby, so I can't compare the two. For some reason, Ruby always seems to pass me by. Is it a bad match? Someone wrote that Ruby imposes rules, but maybe I'm already rejecting it by the smell of it.

Furukawa Isao's profile picture

Furukawa Isao

 -furukawa isao 

Follow

Worked for an IT company 4 years ago

I'm a businessman, so if I'm told to write in XX, I write in XX, whether it's COBOL, Lisp, or some other language I don't know, I write while researching.


Of course, there are times when I write for personal use as a hobby, but in those cases, it's more like VB or C. In other words, it depends on my mood, trends, and interests at the time.


I don't know whether to use Ruby or Python, but I am an amateur in both languages. At work, you are not often told to write in Ruby, are you? But from a businessman's point of view, I might prefer Python. I am bound by the rules at the company anyway, so it is easier for me to write with less freedom, or perhaps I am masochistic.

Profile photo of Mitsuhiro Nitta

Mitsuhiro Nitta

 -Mr. Mitsuhiro Nitta 

Follow us on

Programmer (2003-Present)1 year ago

My favorite is definitely Ruby.


I think Python is a language for beginners. It is more like C in that it encourages procedural writing without object-oriented programming (and function types), and the way to do advanced meta-programming is not organized in an object-oriented way.


In other words, the language is optimized for people who have learned to program without having to learn much, and it is designed with sufficient support for further functionality to the extent that it does not interfere with that purpose. For me, who wants to master programming itself, Ruby is the only choice.

0 コメント:

コメントを投稿