파이썬을 메인 BE로 지정하기 어려운 점이다... 파이썬은 BE language로 쓰긴 하지만 메인은 역시 자바...

In Python, member variables (attributes) are not inherently private like they might be in languages such as Java. In Python, all member variables are public by default, meaning they can be directly accessed from outside the class. However, the Python community follows naming conventions to indicate the intended access level for variables:

  • Public Members: Variables or methods declared normally are accessible from anywhere. For example, a member variable self.name is accessible from outside the class and is considered public.
  • Protected Members: Variables or methods that start with a single underscore (_) are considered protected. This convention suggests that these members are intended for use only within the class and its subclasses, and access from outside should be avoided. Example: self._name
  • Private Members: Variables or methods that start with a double underscore (__) are considered private and are intended to be used only within the class. Python performs name mangling on these members to make direct access from outside more difficult. For example, to access self.__name, you'd have to use _ClassName__name from outside the class.

Python uses these conventions to indicate the access control of member variables, but these are not enforced by the language itself. It aligns with the Python philosophy "We are all consenting adults here", implying that developers are expected to follow these conventions and not the language enforcing strict access control.

 

 

=== 사족 === 

www.a-ha.io/questions/45be375c892279c99e0f98338d25ade7

 

트론 블록체인의 단점이 있나요? | 전문 지식 검색은 아하!

블록체인 기술, 장점, 트론, 단점, 특징 - 이오스와 이더리움 설명이 많이 되어 있는데 트론 블록체인은 많이 알려져 있지 않는거 같네요.... 트론 블록체인의 장점이나 단점, 아니면 특징에 대해

www.a-ha.io

트론은 POW나 POS외에 위임된 지분증명을 통해 모든 노드 자격을 가진 주주들이

블록생성에 참여 하면서 상위노드에게 권한을 위임하는 DPOS를 사용하고 있습니다.

트랜잭션 처리가 빠르고 비용이 낮은 장점을 보유하고 있습니다.

하지만 단점도 있습니다.

  1. 엄청난 발행량
  2. 낮은가격대와 가격의 변동성이 큼
  3. 소수의 독점현상
  4. 트론은 매일 50만건정도의 트랜잭션 처리밖에 하지못합니다.
  5. 이더리움은 이의 1000배를 처리합니다. 범위가 다릅니다.
  6. 실질적인 댑의 이용수가 적다
  7. 프로젝트 개발보다는 마케팅에만 치우친다
  8. 트론은 스마트컨트랙트보다는 엔터에만 치중된 코인입니다.

-=-0=0=-0=-0=-0=-0=-0=-0=0=-0-

아하 지식 플랫폼이 너무 잘 되어 있어서 이 정도 회사라면 투자해도 좋다고 생각해서 이쪽으로 다 옮겨왔는데 트론은 계속 오르고 있다. 슬프다. 아무리 생각해도 150원, BTT 는 15원이 한계일 것 같은데...

왜냐면 BTT는 실제 비트토렌토에서 이용이 가능한데. 이 가격이 2배로 뛰면 비트토렌토에서 빠르게 이용하려는 이용자의 부담도 2배가 되므로 외면 받을 것이기 때문이다. 엄청나게 뛰어난 기술이 아닌 다음에야 실 가치 부여가 되지 않는 코인/토큰은 사라질 것이라고 생각된다.

'{BE} Python 3.1x' 카테고리의 다른 글

how to see the encoding  (0) 2021.05.26
AI 기본은 필수...  (0) 2021.05.20
VoyagerX 창업자_개발 능력 요구사항  (0) 2020.12.29
PEP8 code layout  (0) 2020.12.05
0 matrix  (0) 2020.12.01

+ Recent posts