You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* docs: adds lesson_18 homework and lesson_19 pre-work
Signed-off-by: Anthony D. Mays <[email protected]>
* docs: renumbers slides
Signed-off-by: Anthony D. Mays <[email protected]>
---------
Signed-off-by: Anthony D. Mays <[email protected]>
<p>Some languages are multi-paradigm, and can be used as OOP, scripting, or functional languages</p>
92
+
</section>
93
+
<sectionclass="ml-bullet-slide">
94
+
<h3>Pros of Scripting Languages</h3>
95
+
<ul>
96
+
<liclass="fragment">Less boilerplate</li>
97
+
<liclass="fragment">Can usually run code anywhere quickly</li>
98
+
<liclass="fragment">Useful for automating anything</li>
99
+
</ul>
100
+
</section>
101
+
<sectionclass="ml-bullet-slide">
102
+
<h3>Cons of Scripting Languages</h3>
103
+
<ul>
104
+
<liclass="fragment">Since many are weakly typed, it can be harder to catch some bugs</li>
105
+
<liclass="fragment">Harder to use in large teams</li>
106
+
<liclass="fragment">Typically slower to execute than OOP languages</li>
107
+
</ul>
108
+
</section>
109
+
<section>
110
+
<p>Lastly, there are <em>functional</em> programming languages, called so because they rely on functions to describe the world</p>
111
+
</section>
112
+
<section>
113
+
<p>Usually, functions are first-class citizens that can be used like any other data type, and functions are often composed of other functions</p>
114
+
</section>
115
+
<sectionclass="ml-bullet-slide">
116
+
<h3>Functional languages</h3>
117
+
<ul>
118
+
<liclass="fragment">Lisp</li>
119
+
<liclass="fragment">Scheme</li>
120
+
<liclass="fragment">Closure</li>
121
+
<liclass="fragment">JavaScript</li>
122
+
<liclass="fragment">Python</li>
123
+
</ul>
124
+
</section>
125
+
<sectionclass="ml-bullet-slide">
126
+
<h3>Pros of functional languages</h3>
127
+
<ul>
128
+
<li>Often chill like scripting languages</li>
129
+
<li>Prizes immutability and pure functions, which can minimize bugs and simplify logic</li>
130
+
<li>Great for math applications and AI</li>
131
+
</ul>
132
+
</section>
133
+
<sectionclass="ml-bullet-slide">
134
+
<h3>Cons of functional languages</h3>
135
+
<ul>
136
+
<li>Higher learning curve than OOP and scripting languages</li>
137
+
</ul>
138
+
</section>
139
+
<sectionclass="ml-bullet-slide">
140
+
<h3>Types of languages</h3>
141
+
<ul>
142
+
<li><em>Programming</em></li>
143
+
<li>Markup</li>
144
+
<li>Data</li>
145
+
<li>Query</li>
146
+
</ul>
147
+
</section>
148
+
<sectionclass="ml-bullet-slide">
149
+
<h3>Types of languages</h3>
150
+
<ul>
151
+
<li>Programming</li>
152
+
<li><em>Markup</em></li>
153
+
<li>Data</li>
154
+
<li>Query</li>
155
+
</ul>
156
+
</section>
157
+
<section>
158
+
<p>Instead of describing how to do something, <em>markup languages</em> describe <i>what</i> to do and let's the computer do the rest (declarative)</p>
159
+
</section>
160
+
<section>
161
+
<p>These languages are great for specifying user interface elements and styling</p>
0 commit comments