Jump to content

Who here Programs with TCL Still?

ComputerTech
Go to solution Solved by LogicalDrm,

-> Moved to Programming

We all know TCL is kind of a 90s type of thing but how many Actually still TCL on this very forum?

 

I for One, TCL has been my first programming language to learn (starting January 2020) and now learning Python and C.

Link to comment
Share on other sites

Link to post
Share on other sites

Just now, ragnarok0273 said:

import time
 

while True:

          time.sleep(3)

 

ahhhh

so what is the point of this?

if it was useful give it a like :) btw if your into linux pay a visit here

 

Link to comment
Share on other sites

Link to post
Share on other sites

Just now, mahyar said:

ahhhh

so what is the point of this?

Super tiny Python program that does nothing.

import time imports time. I'm not exactly sure what this does, but it lets you use the time.sleep command.

while True: is an infinite loop command.

time.sleep is a sleep command. You put the time in seconds in parentheses after time.sleep, so if I wanted to make it wait for 5 seconds, I would put time.sleep(5).

Three super useful commands.

elephants

Link to comment
Share on other sites

Link to post
Share on other sites

2 minutes ago, ragnarok0273 said:

Super tiny Python program that does nothing.

import time imports time. I'm not exactly sure what this does, but it lets you use the time.sleep command.

while True: is an infinite loop command.

time.sleep is a sleep command. You put the time in seconds in parentheses after time.sleep, so if I wanted to make it wait for 5 seconds, I would put time.sleep(5).

Three super useful commands.

you got it wrong chief

i know what program does im a python programmer myself

i asked whats the point of this program as you mentioned it does nothing!

if it was useful give it a like :) btw if your into linux pay a visit here

 

Link to comment
Share on other sites

Link to post
Share on other sites

Just now, ragnarok0273 said:

The point is nothing.

I couldn't remember the Python Raspberry Pi commands for GPIO import :)

rpi better programed in c yes i did rpi programming for external iot and sensor stuff and because i used program arduino i find it easier in c

if it was useful give it a like :) btw if your into linux pay a visit here

 

Link to comment
Share on other sites

Link to post
Share on other sites

lol, actually TCL has been helping me learn Python, the Procs/variables/Binds all those little things are "Similiar" to Python in a way

 

PS, what a Busy Forum :P 

Link to comment
Share on other sites

Link to post
Share on other sites

Just now, mahyar said:

rpi better programed in c yes i did rpi programming for external iot and sensor stuff and because i used program arduino i find it easier in c

I got my Pi in 4th grade and used Carrie Anne Philbin's book.
I haven't used it in awhile because most of my wires are broken :/

elephants

Link to comment
Share on other sites

Link to post
Share on other sites

1 minute ago, ragnarok0273 said:

I got my Pi in 4th grade and used Carrie Anne Philbin's book.
I haven't used it in awhile because most of my wires are broken :/

yeah im into arduino and electronics A LOT 

broke my pi a while ago

if it was useful give it a like :) btw if your into linux pay a visit here

 

Link to comment
Share on other sites

Link to post
Share on other sites

3 minutes ago, ragnarok0273 said:

This is rare(ish). Sometimes it seems everyone goes to sleep.

Hmm, better fix that

 

*me Slaps LinusTech with a lousy Trout 

 

:P for those who don't know what above means, it's a action command used on IRC (Internet Relay Chat) called /me

Link to comment
Share on other sites

Link to post
Share on other sites

2 minutes ago, mahyar said:

yeah im into arduino and electronics A LOT 

broke my pi a while ago

Poor Pi.

What model did you have?
I have a 2 B+.

elephants

Link to comment
Share on other sites

Link to post
Share on other sites

Just now, ragnarok0273 said:

Poor Pi.

What model did you have?
I have a 2 B+.

it was zero w

if it was useful give it a like :) btw if your into linux pay a visit here

 

Link to comment
Share on other sites

Link to post
Share on other sites

-> Moved to Programming

^^^^ That's my post ^^^^
<-- This is me --- That's your scrollbar -->
vvvv Who's there? vvvv

Link to comment
Share on other sites

Link to post
Share on other sites

What is TLC? 🤔 When i google TLC programming all i get is lists of television programs broadcasted by TLC 🙄

 

EDIT: Never mind I'm just stupid..

 

ಠ_ಠ

Link to comment
Share on other sites

Link to post
Share on other sites

I used TCL in the past but it's too slow development time for me to worth use it anymore. I can shove the same project to one of my web devs and he can do the same in nearly half the time and he will have also have nice looking interface without extra work involved.

 

For fun at home i see the nostalgic part like i sometime like to take out my old basica / quick basic machine and code stuff but for actual professional work i get paid for it's a waste of time and money. So unless i have to update such system professionally i'll charge a premium.

Link to comment
Share on other sites

Link to post
Share on other sites

Tcl (not TCL) is still an adequate scripting language which is used in quite some environments. Admittedly, I stopped using it in the 90s - it is not better than other scripting languages. But it would be wrong to assume that it's "sooo 90s" - even SQLite provides Tcl support.

Write in C.

Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×