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
-
sgoel015988yMy first language was C, I then used PHP. My reaction was "WTF", why do I not get to specify the type.
-
willol13898yMy first language was C, when I then learnt any other language my first reaction was "wtf everything is easy" :D
-
I went the other way.
When I moved on to PHP from C, I had some trouble having to put $ before every variable like wtf. -
crisz82368y@HoloDreamer this is the canonical way. I think that's better the opposite, for my experience.
I don't understand why in school and universities they start from c and they move ahead to more abstract languages. In my opinion would be better starting with a simple language like PHP or python, and when you mastered it you can move to more difficult and more powerful languages like C and C++.
This is what I did, because I'm self-taught. And the passage was more natural (well, the "wtf" for the type was real, but just the first 15 seconds) -
@crisz I totally agree. And I feel like learning to keep track of type in your own makes you more aware. Hating the fact that you can mix up types is just blaming the tools for your own shortcomings
-
Learned C++ first, then Java, and thought "Holy crap, Java is way easier", learned a bunch of different languages and now I'm at C#. "Holy crap this looks like Java but with stupid Capitalisation, I want my camelCase back"
-
Voxera115858yLine numbered basic (no functions only goto and gosub). Then object oriented turbo pascal.
That was a very steep step up ;)
Every step after that was easy in comparison, even functional. -
webdev22038ymy first was also PHP, but i already knew about types, so i was confused like "i dont have to specify a type? omg he already know! so advanced! I cant even think about a case to use the full potential of this" then on college we learnt java, then i was like "but... oh, less memory?... well... ok"
-
@Jop- eh, agree to disagree then. I love my C# and types, but also my JavaScript and lack of them. If you can't keep track of what is an int or a double or a string, you are the problem, not the language. Typescript is an abomination that only exists because people are to lazy to actually keep track, and it doesn't solve their "problem" cause all that help disappears at runtime
My first programming language was PHP.
When I first approached C I was like "wtf!! Why have I to specify the type"
undefined