Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
I had a conversation with one of my guys at work concerning Python. Python is used a lot by me for a lot of glue scripts and processes that make it easy to manipulate and parse the data provided by other departments.
My guy says that the language that he believes to be my favorite is Python, I continuously say and state how much I dislike Python and he just can't believe it. Syntactic whitespace is the thing that breaks it for me, but the thing about Python, it works really good on Windows (our main workstations all run Windows) and because of that and me not having the time to bs my way around Java or C# for their respective ecosystems, I continue to use Python. But do I love it? no, by far not, I wish it would actually have a proper type system and then I would probably dislike it even less.
I am currently looking more into Golang, you can script on it, and it has a semi decent type system. But man does it misses lots of features from modern languages. -
hjk10157313y@AleCx04 was almost going to suggest Go. It really is easy to distribute and relatively fast to learn.
What are you missing the most? -
@hjk101 Before I say this I will make a disclaimer: I absolute love Go, when I mention things that I miss these are nitpicks and not the usual bashing of a language as we see in some forums, I love it and think it is a great tool.
Things that I miss: I have been doing fairly well handling interfaces to achieve similar functionality to generics, but these are not generics, I would much rather do like we do in C#, TypeScript etc etc. Missed, not extremely necessary for my use cases at least, but I can see how this would be an inconvenience for a lot of developers that build larger products than mine.
Construtors, boooy do I enjoy using interfaces and structs to group a module's functionality (legit no sarcasm) but mane do I miss doing what I do in Java work and just use the editor to do it. No problem since we can use factory-type functions to do so, would've been a nice addition to just go ahead and right click on a struct and do something like "generate struct constructor". -
@hjk101 Continuing
I come from the land of DSL an macro programming a-la lisp (we will reach functional programming in the next point) for which I thing some more modern languages do good, Ruby, Swift, and in particular Nim are really good at implementing macros for DSL's (Swift is not so elegant tbh, but it is there) Go does not support macro programming, can I live with it? absolutely my homie, but still, they are somewhat missed.
Elegant functional programming, while Go has first order functions, i find the style different from what I am used to in more functional based programming languages, I find Go and Nim to be more procedural based, which is absolutely fine. Just something that I miss and definitely not a show stopper.
All in all my friend, I love the language, and nothing stops me from being productive in it, just some times I saw "would be lot cooler if it did" y'know? -
hjk10157313y@AleCx04 I feel the same in some points. At least generics are scheduled to be released this month. Especially building an abstraction for persistent layer I find that there is a lot of fighting the route system (ORM's heavily rely on ringtone reflection).
I really miss proper enumerations. Sometimes I just want a fixed set of options that are supported. Now you can type constants and have that type private. But than functions cannot pass that value down because it cannot be used in func signatures. Also IDE can probably assist with the finite options.
I missed destructors too when I started with Go. Now I forgot about their existence.
Still absolutely love Go and it's toolchain -
@hjk101 most definitely, currently building an application for it at work. And I am also pushing for it as another language to use for web development. From the list of contenders, the team liked Go for how simple it is to read the code as well as the procedural nature of it. One of the developers dislikes working with static typing or anything similar to that, but the dude was not aware of type inference. Homie was flored.
I really do love Go, I really believe that it will get better and better. At least for me right now, it does work for pretty much any web based application or networking application I can think of without bugging my employees down in a history of toolchains like we would do in something like C# and/or Java (not shitting on those two languages either, I actually love them as well)
Related Rants
after publishing a few apps, building some websites, developing some basic operating systems, participating in a summer learning program at google and having got a job managing the computer science department’s website, today i start my intro to computer science class.
god i hate python
random
college
python