Discover and read the best of Twitter Threads about #programming

Most recents (5)

Сегодня пятница, а значит самое врёмя, чтобы запустить 1 фав=1 факт о моём компьютерном детстве середины 90х, о первых программах, победах и поражениях. Ретроностальгии вам нанесу. Буду стараться, поэтому не жалейте ретвитов.
1. Начать нужно с начала. Жил я себе без компьютеров и жизнь была кайфовая - жуков ловить, на велике гонять. Пока в году так ~95м не пришёл к своему однокласснику домой и не увидев впервые компьютер. ГОСПОДИ! До этого я же как-то жил без компьютеров, а теперь без них ЖИТЬ НЕ МОГ.
2. Справедливо упомянуть, что со школы я не помню ни одного стихотворения. Зато технические детали, спецификацию и характеристики моего первого компьютера я, наверное, запомню на всю жизнь. И на смертном одре правнукам ради хохмы зачитаю, а они такие ВО ДЕДА ГОНИТ ВАЩЕ ПОЕХАЛ.
Read 100 tweets
My app is Online!
It took me ~4 weeks, maybe 35 hours/week, to make. However! I spent 2 weeks just watching courses, so 2 weeks of solid work, I think is fair to say.

It's made with #angular, #ngrx, #express, #mongodb, #mongoose, & #love.
Here's the story. (cont'd) #programming
The goal was to make a recipe/grocery list app. We have a weekly menu, and I'd want to select recipes and just get a grocery list automatically.
Sketching things initially helped a lot. Layout was never a problem, because I love #materialdesign and I'm stuck in the 90's...
#ngrx was definitely the trickiest part. @DeborahKurata & @dunchunter's course on #pluralsight is amazing, and everyone should watch it (if they need to work with ngrx, obvs).

Did I need ngrx? No. This could have been solved with services. But, I wanted to learn.
Read 20 tweets
[Thread #RStats #Programming ]
Some important points taken from "Object-Oriented Programming, Functional Programming and R", by John M. Chambers
arxiv.org/pdf/1409.3531.…
An article about what is Functional Programming (FP), and how does it differ from Object Oriented Programming (OOP) ?
Note that both these paradigms are used in R, and interact with each others.
Here’s the definition of what FP is :
- Programming == creating function
- Functions returns values computed from arguments (and only these)
- A function has no side effect
Read 20 tweets
(1/5) I grew up in the Programming Languages research community and have recently begun attending Machine Learning conferences. One perspective that I don't see much in either community is that #MachineLearning is a form of #programming.
(2/5) PL/formal methods researchers tend to think of programs as engineered objects, and study abstractions/tools for principled engineering. But the big assumption here is that you can formalize your goals and the world in which your programs run. That's not always realistic.
(3/5) In contrast, #MachineLearning lets programs be "found" objects. "I don't have a full spec for my program and can't write the code myself, but here's some data on what it does. Discover it!" This is still #programming, albeit done inductively rather than deductively.
Read 5 tweets
High level #python #tutorial thread:
Python is a high level language that runs bytecode in its virtual machine.
Everything is an object.
It supports OOP up to multiple inheritance and functional programming.
Typing is polymorphic - duck typing is preferred
A Python script is a file with a name like name.py - we indent at four spaces (it matters), comments (after #) don't execute - and is typically written like:

def main(): # function
print("Hello world")

if __name__ == '__main__': # then entry point
main()
A module is a reusable script:

"""this is a docstring at the top of the module - gives help on the module"""

import this # do imports at the top

def main(): # main at top or bottom
"""functions get docstrings too"""

if __name__... always at the bottom, assumed from now on
Read 68 tweets

Related hashtags

Did Thread Reader help you today?

Support us! We are indie developers!


This site is made by just two indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member ($3.00/month or $30.00/year) and get exclusive features!

Become Premium

Too expensive? Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal Become our Patreon

Thank you for your support!