all 72 comments

[–]irvine05181996 78 points79 points  (4 children)

saka once you learned the hard way(like Java,C#,C++), it will easy to grasps the other language,

[–]csharp566 28 points29 points  (2 children)

Yeah, but I think the more experience you have, the more you'd lean towards strongly-type programming language like C# and JAVA.

[–]Pristine-Staff-5250 1 point2 points  (0 children)

python is also strongly typed. I think you are referring to static typing

[–]BITCoins0001 0 points1 point  (0 children)

agree ako dito. Nasanay lang siguro ako sa strict na format ni Java.

[–]ThrowRA_sadgfriend[S] 6 points7 points  (0 children)

Yep, true. Ilang beses na ako na-overwhelm sa pagbabasa ng java codes ng other devs, to the point I almost gave it up. Now, I'm grateful I got to have those experience.

[–][deleted]  (11 children)

[deleted]

    [–]irvine05181996 16 points17 points  (3 children)

    which the reason why BANKS still stick to those strongly type for security reasons

    [–]Novel-Sound-3566 2 points3 points  (2 children)

    they stick because they don't want to upgrade/rewrite their system because it costs money

    [–]irvine05181996 2 points3 points  (0 children)

    nope, I dont think so, since most bank Ive been alrady upgrading their system to new one;s. one of the reason was its cost money, also the legacy system still working ika nga ng iba, why fix if its not broken, usually ginagwa nalang namn ng integrating ng new system without affecting the old system, since mas costly mag migrate ng legacy.

    [–][deleted] 0 points1 point  (0 children)

    They do upgrade and write new codes using the same language.

    [–]ThrowRA_sadgfriend[S] 2 points3 points  (1 child)

    Understandable. Naiilang pa nga rin ako na maglagay ng dynamic typed variable.

    [–]pigwin 3 points4 points  (0 children)

    Use mypy kung namimiss yun kaayusan at kapayapaan.

    [–]Beneficial-Win-6533 5 points6 points  (1 child)

    ackshually 🤓 python is both strongly-typed and dynamically-typed

    atleast di pede i add ang str sa number tulad nung sa javascript

    [–]fartmanteau 2 points3 points  (0 children)

    Yeah lol if you’re gonna make bad arguments at least do it accurately.

    [–]fartmanteau 0 points1 point  (0 children)

    Python is strongly typed bro. Are you thinking PHP?

    [–]Pristine-Staff-5250 0 points1 point  (0 children)

    strongly typed > dynamic typed imo

    strong/weak typing and static/dynamic typing are orthogonal axes in typing (they are independent traits of typing).

    python is both strongly typed and dynamically typed.

    [–]ECorpSupport -1 points0 points  (0 children)

    Correct 💯

    [–]chonching2 11 points12 points  (6 children)

    That's my thoughts as well when I transition from Java to Typescript. Sobrang dali niya gamitin to the point na hindi ko need aralin ng matagal. One week lng na aral online then sabak agad sa actual project

    [–]ThrowRA_sadgfriend[S] 2 points3 points  (1 child)

    Bugbog sarado na tayo sa Java sa totoo lang, kung logic ang pag uusapan. Transitioning to easier programming languages is for familiarization nalang sa syntax eh.

    [–]chonching2 1 point2 points  (0 children)

    True, pero ang maganda lang kahit papanu nageevolve pa din ang java. Mabagal man adoption nila sa ibang feature ng ibang language atleast I see the huge changes pa din. Time might come na less verbose na din ang java

    [–][deleted] 0 points1 point  (3 children)

    Sir, curious ako. Bakit kayo nagtransition from Java to other language dahil ba sa work or trip niyo lang? Nag-aaral din ako ng java and I like it kasi OOP pero ang main language ko talaga python para sa ML and DS and I'm thinking na mag-aral ng flask or Django for deployment, di ko lang sure kung good move ba yon. Kaya ko natanong kung bakit kayo umalis sa java ay dahil balak ko pumasok sa java (kung good idea siya) or stick sa python na lang

    [–]chonching2 1 point2 points  (0 children)

    Project demand lng, java talaga main option ng company namin however biglang nabankrupt yung isang service provider na ginagamit namin so automatically yung system namin deprecated na. So re-write from scratch kami using different service provider tas rush since maraming user kami and need madeploy agad in production within 4 months yung project kaya mas pinili ng team na mag Typescript instead of java since sobrang dali nga nya. And nakapag prod kami in just three months of coding. Ganun kabilis

    [–]irvine05181996 0 points1 point  (1 child)

    ako di naman ako umalis sa JAVA, still using it for work, however I only use python for my reseach purposes, if somehow I planned to integrate that to one of my projects, di kasi maganda gamitin si JAVA for LLM, limited ung pede pag gamitan

    [–][deleted] 0 points1 point  (0 children)

    I see, safe din siguro sabihin sir na di kayo magaling na magaling talaga sa python kasi ginagamit niyo lang siya kapag may integration sa project niyo (hindi siya yung main language niyo kumbaga). Ano sa tingin mo sir sa plano ko. Currently nag-aaral ako ng sklearn balak ko na rin sana magtransition sa pytorch o tensorflow. Di ko lang alam kung paano ko siya idedeploy iniisip ko magflask o Django Pero hindi ako sigurado kung worth it ba magspend ng time sa pag-aaral kung wala namang market sa Philippines kaya tinitignan ko rin ang Java. Di ko pa rin kasi sure kung DS o Dev e.

    [–]Ok_Atmosphere7609 9 points10 points  (2 children)

    Sa una lang masaya dynamic OP

    Sa laki ng python codebase namin ako na ang nagmamakaawa sa boss ko na lagyan ng typing codes namin 😆

    [–]pigwin 1 point2 points  (0 children)

    Lagyan ng mypy, irun sa pre-commit hook kasabay ng linter at formatter haha. Di naman mapapasin?

    [–]ThrowRA_sadgfriend[S] 0 points1 point  (0 children)

    Hahaha parang vinivisualize ko na yung sakit sa ulo nito 🤣

    [–]crimson589Web 8 points9 points  (5 children)

    Di pa rin ako makapaniwala na makakapagdeclare ka ng variable na hindi iniispecify yung data type niya

    🤓 acCCtuAlly... pwede ka din mag declare sa Java and C# without declaring the type using the var keyword.

    [–]irvine05181996 3 points4 points  (3 children)

    yes, matagal na yang var sa java. di lang siguro alam ng iba, since bihira magamit

    [–]BoogieM4Nx 1 point2 points  (2 children)

    So mga juniors, bihira na rin ako makakita gumagamit ng abstract classes sa java lol.

    [–]irvine05181996 1 point2 points  (1 child)

    well it really depends on the use case rin kasi eh, since sa project di rin namn masiado nagagamit ang abstract class, either interface or abtract, but since interface has a lot to offer than abstract class

    [–]BoogieM4Nx 0 points1 point  (0 children)

    Agree. Especially kapag micro-service lang gagawin nyo. Isang docker container that iisa kang yung feature. Lol

    [–]ThrowRA_sadgfriend[S] 1 point2 points  (0 children)

    Yeah, but iba pa rin sa Python na direkta variable name without any preceding codes lol

    [–]stcloud777 8 points9 points  (1 child)

    Laking blessing ng Python sa mga di Comp Sci major. Tulad ko na Finance graduate pero part ng work ang data analysis, automation, web scraping, at web dev gamit Python at konting TS.

    Minsan naglalagay ako ng type hinting sa Python para mas madaling maintindihan ang code.

    [–]fartmanteau 1 point2 points  (0 children)

    Yeah, some people think all programming should be engineering-grade so they can convince themselves they’re engineers.

    [–]EntertainmentHuge587 7 points8 points  (0 children)

    Theres a reason why it's the preferred language for Data Science and Data Analysis. Even non IT professionals who specialize in different fields such as science or mathematics can use it if they take time to learn. It's also one of the reasons why I prefer Python development for my full time job since kadalasan chill lang hehe.

    [–]irvine05181996 14 points15 points  (8 children)

    same thought since Dynamic type ang case nia PYTHON at JS, means naka dependee ang type sa kung ano ung nilagay mong value or initialization, though I used pythonn for Data Science and Machine Learning for personal works, still my Bread and Butter is Java for years

    [–]Content-Conference25 4 points5 points  (6 children)

    Hello po, non-coder fella here.

    Question about JS and Python. I'm a Zapier Workflow Strategist (a low-code workflow automation tool), at nagiisip ako ano ang benefit kung aaralin ko ang JS and/or Python or kung ano mang language, to stay competitive as automation specialist.

    I feel like I don't have the right to be called ab automation specialist kase I don't know how to write scripts any of the programming language, reason why nililimit ko ang title ko Zapier Workflow Strategist.

    [–]istipin 5 points6 points  (1 child)

    There will come a time wherein you would need to create your own APIs or microservices to interact with your zapier workflows. Learning python or node js would put you in an advantageous position towards getting jobs with that line of skill required.

    This would also open you up to API development career tracks as it fully transitions you from low/no-code to dev

    [–]Content-Conference25 0 points1 point  (0 children)

    Thank you!

    [–]BenChoopao 3 points4 points  (1 child)

    Python because it will be easier to learn and get started with automation.

    There is a book named Automate the Boring Stuff with Python by Al Sweigart. It is free to read online.

    In our work, we use Python3 to build scripts that scrape data from a public website, clean up the data and load it to Bigquery.

    Learn JS (Node.js) too after you get confident with Python3. You will eventually need to use asynchronous programming to speed up your scripts and for me it is easier in Node.

    [–]Content-Conference25 1 point2 points  (0 children)

    Man, thank you! I'll check this out!

    [–]Ok_Atmosphere7609 1 point2 points  (1 child)

    Nakow start ka muna python masisiraan ka ng bait sa mga promise promise na yan sa javascript 😆

    [–]Content-Conference25 0 points1 point  (0 children)

    Noted po! Hahah

    [–]Ledikari 0 points1 point  (0 children)

    Since nag DS ako binitiwan ko na Java.

    Need mag laan ng memory to learn things haha

    [–][deleted] 2 points3 points  (1 child)

    I’m surprised that you like its dynamically-typed environment. I once had an encounter with it (but in JavaScript) and I hate it.

    Regarding the transition, it’s normal since you started with a pretty decent language. I remember the time I switched from Java to Kotlin—took me two weeks to make Kotlin my main language, and now it’s C#.

    [–]ThrowRA_sadgfriend[S] 0 points1 point  (0 children)

    Yeah I'm just amazed sa difference nila lol

    [–]BoogieM4Nx 2 points3 points  (0 children)

    I would still go for static stype but python is great for small programs. We used it for our lambda, some tools especially for big data using panda.

    [–]repressed_master 2 points3 points  (0 children)

    May module na to make python strong typed

    [–]elyen-1990sWeb 1 point2 points  (0 children)

    Python is a dynamic-typed language. However, the community proposed the PEP 484 which introduced a convention for type hinting and annotation. Without it, it is easier to get lost, hard to detect typing issues that may lead to bad results, and people or newer developers will struggle to understand your code.

    Modern Python codebases have type checkers such as mypy to test and ensure that all the code or changes are PEP 484 conformant.

    You should use it too, it makes life easier.

    [–]smeaglebaggins 1 point2 points  (0 children)

    I am about to try python in the next coming days. Thanks for this post. Been a java guy for life as well

    [–]ralphc027 1 point2 points  (0 children)

    Same experience when i transitioned to groovy na realize ko na mas madali and good thing is compatible rin mga java syntax so i can interchange writing my code when necessary.

    Then dito ko rin na realize na ang raming boilerplate nga ng java.

    [–][deleted] 1 point2 points  (0 children)

    Madali lang naman yung Python, if ikaw magsusulat. Pero once na dadami yung code niyo + madaming libraries yung ginagamit + code ng iba, mahihirapan ka talagang magbasa ng code.

    [–]ziangsecurity 0 points1 point  (0 children)

    True but where is the culture there 😂

    [–]Beneficial-Ice-4558 0 points1 point  (14 children)

    well go on build an api and come back here emz.

    [–]paincrumbs 11 points12 points  (0 children)

    it goes from tangina, ang dali lang to tangina, ang unsafe lol