I thought about how to learn programming at low cost from an empty situation. (Mac edition)

Background -The specifications of the 278,000 yen PC provided to elementary and junior high school students nationwide are too low and criticized! -Painful news - NewsPicks

It's expensive to see the news! !! !! I thought.

The comment mentions the leasing fee, but I think that the only fragile thing is the mouse and keyboard, not the main body. I thought it was about 100,000 including the software fee. Some people consider the specs to be a problem, but I think this is enough if you just open Word or Excel or have a lightweight development environment. Because you don't have to watch youtuber videos frequently on this PC.

Assuming that the main body is likely to break, is the school itself a haha, or the students themselves have level 5 special abilities and are incompatible with the machine?

Motive

So, I want to review what I learned at school! I think there are some students who think that, but it is assumed that there are quite a few people who do not have money due to family reasons because of the disparity society in the last 30 years.

At least chronically, in the field of science, not only is there a budget shortage, but there are no developers. In particular, artificial intelligence has a wider field than I expected, so it is best to have specialized mathematics, but I wonder if I should at least handle existing numerical calculations as a tool by breaking in from a humanities approach. I am thinking.

Also, I think it is better to have skills in industries that are not so related to information systems without research. Although it is not essential, one of the merits of learning programming is that it can reduce the work required by 7 people to 3 people and improve efficiency by automating work such as shortening the work time, so it should be usually good.

However, there are many things that cannot be done considering what AI can and cannot do. If I am mature at this stage, I think that the cleaning company has moved to another job instead of the cleaning robot. But still there. : robot:

Therefore, AI is still learning for at least 10 years, so even if you do some automation, it will only reduce the burden of the work you have done so far, and you will not have to worry about salary reduction or unemployment, and the benefits are greater.

So I want to get out of the disparity society and get a stable salary! If you think :smoking::beer::chocolate_bar::tv::iphone::video_game::slot_machine::race_car::soccer::baseball::basketball::fishing_pole_and_fish::microphone::tent: Don't spend too much on it, save about tens of thousands of yen and use it for your own skills and learning: bangbang:

Here I thought about how to learn programming from an empty situation.

Actor

The target audience is as follows.

  1. People who are junior high school graduates and high school graduates and are not familiar with information science
  2. Inexperienced people who have never owned a PC (many people have only smartphones)
  3. I want to make it a hobby after retirement

What if you don't even know the existence of qiita in the first place: thinking:

Plan

If you want to learn from thimble

I think that is the best combination.

This is because you can program with just one app called Terminal. other.png terminal.png

So, when I run the app ...

tarminal_blank.png

I think you will see a screen like this. (The default background color is white.)

If you type python without doing anything with

$ python
Python 2.7.16 (v2.7.16:413a49145e, Mar  2 2019, 14:32:10) 
[GCC 4.2.1 Compatible Apple LLVM 6.0 (clang-600.0.57)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> 

Message will appear, so you can hit the program with this.

I will try to find the area of the circle.

The formula is

S = \pi \times r^{2}

That's right.

When I make a function for area calculation, ... terminal_python.png

The area was calculated when the radius was 3.

Area of a circle of KEISAN Calculated with, ... circle.png

It fits. After that, it seems good to buy a reference book (1000 to 2000 yen) and copy the sutras (copy the written code as it is).

Why Mac?

Due to the trend at that time, Windows was the choice for PC in the 2000s, but recently Mac is recommended. It would be nice if there was an opportunity to use Word, Excel (VBA), PowerPoint in the future, but if you want to develop on the server side, Mac is more compatible considering accessing and developing with one terminal earlier. Is good. Most server operating systems are Linux-based and have a high affinity with Mac.

Why Python?

As mentioned earlier, one reason is that you can program in one terminal, but there are other reasons as well.

--Can be executed with a single command --Easy to process strings than other languages --At least better than C ++ --Lists and dictionaries can be used as standard --Abundant packages ――If you want to do something, you can do it. --If you write Python code, you can manage Ruby and JavaScript.

And so on.

Price

If you want to buy a new Mac, it costs at least about 100,000, but if you want to use only the terminal for learning only, go to the flea market site.

There is a problem that the battery runs out quickly in the comments, but I think that it is good for studying at home or at a cafe / convenience store in the neighborhood. Also, if the operation is heavy, I think that there is no problem if you do not enter personal information such as not shopping on EC sites etc. on this PC as much as possible.

Common flea market sites -Mercari -Rakuma -PayPay flea market

PostScript

--Books / sites for learning Python --How to learn at low cost other than Mac ――Since the Python version is still old, how to shift to a new one

Is often written as: expressionless:

The reason why the headline is in English is that I forget that I haven't used it simply and I thought that I could become a conscious system with only the atmosphere, so there is no further meaning.

Recommended Posts

I thought about how to learn programming at low cost from an empty situation. (Mac edition)
I thought about how to learn programming at low cost from an empty situation. (Raspberry Pi edition)
I thought about how to learn programming for free.
I tried web application development and thought about how to prevent beginners from getting sick.
Programming to learn from books May 10
Programming to learn from books May 7
What I thought and learned to study for 100 days at a programming school