Comments by "xybersurfer" (@xybersurfer) on "The Stockholm Syndrome of SQL | Prime Reacts" video.
-
201
-
11
-
7
-
6
-
4
-
3
-
3
-
2
-
2
-
2
-
maybe. although Zig, Java, C, assembly are all Imperative (stepwise).
you might want to try a Functional programming language. that was a huge eye opener for me. especially:
- lambda calculus / higher-order functions (declaring and using a function on the same line feels natural)
- typically way less lines of code needed than
- recursion (languages with tail call optimization are great, as they allow for endless recursion without blowing the stack)
- how in theory each call is an expression that fits on 1 line that can be rewritten on the next line (like maths)
- and how (usually) avoiding a global mutable state makes things more predictable
- pipe operator
- usually these languages have good type checking, in their compiler (the statically typed ones)
- and a few more topics (not that many)
it basically taught me that being productive, is a more interesting challenge than trying to go more low level. i'm mostly familiar with F# because it comes with .NET and Visual Studio Community (nice debugger) and i'm also a little bit familiar with Haskell.
SQL queries (as discussed in this video) was also an eye opener for me, as it's queries are in a Declarative langage. which means that in theory you don't have to explain to the computer how to do something, but just what you want done (which is kind of unique). although this only works in a database (maybe things like LINQ-to-Objects in .NET are an exception that allow you to "query" your program's data structures), it's still useful because a database is at the center of many applications.
speaking of databases, designing a database with an ER diagram was another eye opener for me, as it taught how data is organized in a simple and intuitive way (instead of trying to remember the all the normal forms). it taught me to quickly recognize design mistakes in databases. i love tools that allow me to draw a database and automatically generate the SQL commands that create it (my favorite is DeZign by Datanamic, but there are many others).
Zig looks interesting too. haven't tried it myself, but i do see similarities to C which i am familiar with. i think assembly is interesting to see a few times to get an idea of how it typically works, but the problem is that it's not portable like higher/more-abstract languages like everything you listed and functional programming. it really depends on what you want to do though. i'm not self taught like you though, so good job on that.
sorry for the long reply. programming is just a really interesting topic, and i didn't want to leave anything out.
2
-
1
-
1
-
1
-
1
-
1
-
1
-
1
-
1