본문 바로가기

카테고리 없음

2020-04-09 06시 개발자 글 모음 | "객체지향 개발 5대 원칙 (SOLID" 외 3개 이야기

[예민한개발자입니다 #1] 일을 글로 배우셨어요? by 신재인


    The Official Push-Up Checklist (AVOID MISTAKES!) by 김진성


      파이썬 개발환경 by 노요셉 about Python

      • solarconnect-yosephnoh  ~  conda info --envs # conda environments: # base * /usr/local/anaconda3 ✘ solarconnect-yosephnoh  ~  conda deactivate CommandNotFoundError: Your shell has not been properly configured to use 'conda deactivate'
      • ✘ solarconnect-yosephnoh  ~  conda init no change /usr/local/anaconda3/condabin/conda no change /usr/local/anaconda3/bin/conda no change /usr/local/anaconda3/bin/conda-env no change /usr/local/anaconda3/bin/activate no change /usr/local/anaconda3/bin/deactivate no change /usr/local/anaconda3/etc/profile
      • (algo) solarconnect-yosephnoh  ~  conda info active environment : algo active env location : /usr/local/anaconda3/envs/algo shell level : 2 user config file : /Users/solarconnect-yosephnoh/


      객체지향 개발 5대 원칙 (SOLID) by 이상배

      • class BigMac { var patty : BigMacPatty = BigMacPatty ( ) var bun : SesameBread = SesameBread ( ) var information : BigMacInformation = BigMacInformation ( ) } class BigMacInformation { var brand = "Macdonald" var price = 3000 var calorie = 525f }
      • class BigMac : Hamburger ( ) { override var patty : Patty = BigMacPatty ( ) override var bun : Bun = SesameBread ( ) override var information : Information = BigMacInformation ( ) } class ShanghaiSpicyChickenBurger : Hamburger ( ) { override var patty : Patty = ChickenPatty ( ) override var bun : Bun = SanghaiBun ( ) override var information : Information = SanghaiInformation ( ) }
      • b : Int ) = throw NotSupportedException ( "div" ) } class Test02 : Arithmetic { override fun plus ( a : Int